-
Notifications
You must be signed in to change notification settings - Fork 171
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
fix: Dissolve more CMake dependencies #1387
Conversation
1609348
to
bde8d9b
Compare
eb4c6b6
to
665ee98
Compare
97a27f8
to
6fb88e7
Compare
This PR is still not cleaned up completely, but please help review and test it. |
tested that it builds on my local dev laptop (manjaro) and a test server (Ubuntu 18.04) |
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.
Builds and runs on Windows under x64 Clang and MSVC.
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.
General formatting comments, comment questions and also there is a submodule version change that may have been unintended
dc22fa9
to
247b88d
Compare
Will fix in another PR.
Merge from upstream will resolve the current build failure. |
remove 2 more included directories. remove commented out code add status to messages
surround include directories with quotes remove commented out code remove debug messages
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.
CMake is witchcraft!
...but looks good to me.
This PR (arguably?) improves the CMake setup a bit. A bunch of folders are now
OBJECT
libraries and more cmake code was moved to thecmake
folder. The global include list has been cut down, and each library now needs to opt in what other libraries to compile against.Beware that circular dependencies on static libs are possible, but discouraged and can lead to pathological cases when cmake tries to figure out in what order to execute them and may end up with no parallelism at all.