-
Notifications
You must be signed in to change notification settings - Fork 21
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
Default Values for Configuration Options #11
Comments
Just a couple of comments:
|
My preferences for the defaults I would use: LIBCELLML_UNIT_TESTS: ON |
I imagine the defaults should be suitable for most people? If so, shouldn't those defaults result in a build that can directly be used in a CellML-capable tool? In other words, a release build, as opposed to a debug build. As a consequence, I would have warnings as errors turned off by default (but definitely on for continuous integration). For the tests, I guess it's always nice to have them on by default, even when building a release version of |
If we are voting on the default settings I vote for: library developers |
Maybe we have two flags DEV_SETTINGS and USER_SETTINGS that set these values for us in bulk, but that is an aside. |
I guess it's pretty obvious that I would personally vote for library users. (Not sure about |
My initial thought is to go with library developers for now and switch the default settings over to something more suitable for library users once we have some code that people want to use. However, I don't have a strong preference as it is trivial to set my own build settings :) so happy to go with either...although if I get the casting vote I go for library developers. |
Perhaps we could make the master branch (or release tags) have 'release' optimised builds etc., and then keep the one in development branch on developer settings? (somehow?!) |
+1 on @mirams' idea. |
+1 for @mirams again. We do something similar in Chaste as well. |
sounds good - I'm sure Hugh can get the buildbot to set the default values appropriate when it makes the releases. |
Yes, we can make Buildbot implement @mirams idea as part of the release process. (Which will be documented when we go through the release process for the first time)
|
The Chaste team calls ideas like this _Prasmagining_ (thinking of things that you can imagine happening and being nice, but having no idea how to implement yourself) in honour of its main proponent @praspath. |
fixed in #16 |
This issue is for determining what the default values for the configuration options should be, here are the current options that can be configured along with their current default value:
LIBCELLML_UNIT_TESTS: ON
LIBCELLML_TREAT_WARNINGS_AS_ERRORS: OFF
LIBCELLML_BUILD_TYPE: Release
LIBCELLML_INSTALL_PREFIX: ${CMAKE_INSTALL_PREFIX}
LIBCELLML_BUILD_SHARED: OFF
[only available with gnu compilers]
LIBCELLML_COVERAGE: OFF
LIBCELLML_MEMCHECK: OFF
The text was updated successfully, but these errors were encountered: