-
Notifications
You must be signed in to change notification settings - Fork 7
Fix build system #5
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
Conversation
* Split sources/headers to separate src/inlude dirs * Use cmake macros to create plugins instead of operating with string variables * Install in GNU-like manner, install all headers and plugin headers, install also macros * Installation creates also cmake-like targets for cmake projects
|
This PR fixes many issues with cmake build system although breaks one thing. Before Another fix is to make plugins actually installable. Old I fixed the build system also, like:
Example use of new build system: export PLUTO_DIR=/cvfms/.../Pluto-6.2.0
mkdir build && cd build
cmake .. -DCMAKE_INSTALL_PREFIX=$PLUTO_DIR -DCMAKE_CXX_STANDARD=14 # or other ROOT standard, as the new ROOT are not properly passing the expected standard but relay on compile features
make install -j30 |
|
I think we should first conclude the Bugfixes, then make a bugfix release and come finally to the new Features. For the new build System I have to check if it is still working with the QA Script. This is quite important. |
|
I will continue working on this one... right? |
|
Go ahead |
|
I think one should still allow an in-source build. With your new build system the includes of the plugins are copied to include/plugins, and the macros are copied to share. So things are duplicated. Also, I don't think that "share" is the best wording, as it is not where people who are used to it are expecting the macros |
|
Something changed already: |
If the installation would go into standard linux location (some users may want this) then putting macros somewhere else than |
This is mainly rework of the build system to simplify things and take advantage of modern cmake features.
Significant changes: