-
Notifications
You must be signed in to change notification settings - Fork 802
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
(rebased) New CMake targets-based build configuration #65
Conversation
Status of this one: all tests pass in Travis (except one that times out). |
Taking a final look now! Meanwhile, please fix the new conflict? |
Also: - Allow users to edit cmake target build options in the cache variables. - We had to add project() commands for gtsam and gtsam_unstable, the PROJECT_SOURCE_DIR changed, but the root GTSAM_SOURCE_DIR instead. - Ensure use of standard C++11 (no extensions)
Great! Was doing it right now. It's fixed now (rebased and push'ed --force to my fork). |
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.
Lgtm. Tried it out on Ubuntu 16.04, and verified that public flags propagate to dependent project. Very nice.
@chrisbeall , @dellaert : feel free of merging. Thanks. |
Excellent, I will merge. |
Hey y'all, I'm finding that this commit breaks the flag this PR seems to breaks the GTSAM_INSTALL_MATLAB_TOOLBOX flag on Ubuntu 16.04. Specifically, it was the commit titled "Refactor build flags via CMake target properties" that was included in this merge. I get this error: CMake Error at cmake/GtsamMatlabWrap.cmake:106 (message): I'm trying to figure out what exactly causes the error. If I figure it out, I'll send a PR. |
Ah I should add that this was with Cmake 3.14 |
Here is the PR to fix the bug: #89 |
96ccdfd0b Merge pull request #65 from borglab/fix/special-cases 04c06b7e6 Merge pull request #63 from borglab/fix/cmake bf2c91bd2 fix issue in template instantiation generator 152dbcb12 test for special cases d03004b24 fixed the cmake to discover the correct python version and set all corresponding variables 4cf66e0da Merge pull request #61 from borglab/fix/python-variables 80558e35b added more status messages and set the PYBIND11_PYTHON_VERSION each time 73afd1b0a set both sets of Python variables and find python version when including PybindWrap REVERT: 9a467794e Merge pull request #61 from borglab/fix/python-variables REVERT: 6bae7af99 added more status messages and set the PYBIND11_PYTHON_VERSION each time REVERT: 5129cf3b9 set both sets of Python variables and find python version when including PybindWrap git-subtree-dir: wrap git-subtree-split: 96ccdfd0b84a4dbf1b3e9ed31b95ebc2758be9cc
Just a follow-up PR after closing and rebasing all the commits in #27 .