-
Notifications
You must be signed in to change notification settings - Fork 3
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
Cmakeupdates #46
base: master
Are you sure you want to change the base?
Cmakeupdates #46
Conversation
…icates, avoid including carlLogging header if not necessary)
… to effective forward declarations
@@ -76,31 +75,37 @@ option( PRUNE_MONOMIAL_POOL "Prune monomial pool" ON ) | |||
option( EXCLUDE_TESTS_FROM_ALL "If set, tests will not be compiled by default" OFF ) | |||
export_option(EXCLUDE_TESTS_FROM_ALL) | |||
|
|||
option( CARL_COMPILE_RELEASE "Compile in Release mode irrespectively of CMAKE_BUILD_TYPE" OFF) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do we need a separate flag?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So this is actually not advised to do, but it would allow you to compile carl in release mode while compiling storm in debug mode (or vice versa), when carl is a subproject.
I am also happy not to support that :-D
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, just wanted to confirm that my understanding is correct.
I would be in favour of removing it, because in most cases one would like to have both with the same build type. If different build types are needed, one can still manually build carl.
(The flag is currently also not used anywhere as far as I can see.)
Installing carl-storm worked for me without any issue. |
This PR changes the cmakefiles to support building carl as a subproject (not a toplevel project) in other projects, most notably storm.