Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resolve #882 static/shared dual build #942

Merged
merged 1 commit into from
Feb 26, 2021

Conversation

cary-ilm
Copy link
Member

Signed-off-by: Cary Phillips [email protected]

Copy link
Contributor

@meshula meshula left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for landing this for me :)

@cary-ilm cary-ilm merged commit ec8af9a into AcademySoftwareFoundation:master Feb 26, 2021
@@ -55,31 +55,19 @@ rd /s /q %BUILDTREE%\OpenEXR
mkdir %BUILDTREE%\OpenEXR
cd %BUILDTREE%\OpenEXR
cmake -G %cmake_platform% ^
-DBUILD_ILMBASE_STATIC:BOOL=ON ^
-DBUILD_BUILD_SHARED_LIBS:BOOL=OFF ^
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@meshula, looking at this again, shouldn't this be OPENEXR_BUILD_SHARED_LIBS, or just BUILD_SHARED_LIBS?

@meshula
Copy link
Contributor

meshula commented Mar 10, 2021

Oops! Glad you caught that before release :anime sweat drop: !

That was supposed to be OPENEXR_BUILD_SHARED_LIBS. Looking at our documentation, it says that we respect BUILD_SHARED_LIBS (a built in cmake variable), unless we've set OPENEXR_BUILD_SHARED_LIBS. Grepping the code I see references to BUILD_SHARED_LIBS. I think we should set another variable which peeks at both, and then refer to that derived variable throughout the code. I can take a pass this evening

@cary-ilm cary-ilm added Build A problem with building or installing the library. Documentation Developer guide, web site, project policies, etc. labels Mar 21, 2021
@cary-ilm cary-ilm deleted the 882-fix branch May 18, 2021 03:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Build A problem with building or installing the library. Documentation Developer guide, web site, project policies, etc. v3.0.0-beta
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants