We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I may be wrong, but I think it is more common to set up CMake in a "recursive fashion", so your root CMakeLists.txt has something like
CMakeLists.txt
add_subdirectory(src)
and each subdirectory has it's own CMakeList that includes another directory or the sources....
CMakeList
See these links: https://cliutils.gitlab.io/modern-cmake/chapters/basics/structure.html https://gitlab.com/CLIUtils/modern-cmake/-/blob/master/examples/extended-project/CMakeLists.txt
How do you feel about that organization?
Originally posted by @mirestrepo in #17 (comment)
The text was updated successfully, but these errors were encountered:
I would have to re arrange the folder structure to create small components. for example, taking the current folder structure as example:
Sorry, something went wrong.
No branches or pull requests
I may be wrong, but I think it is more common to set up CMake in a "recursive fashion", so your root
CMakeLists.txt
has something likeand each subdirectory has it's own
CMakeList
that includes another directory or the sources....See these links:
https://cliutils.gitlab.io/modern-cmake/chapters/basics/structure.html
https://gitlab.com/CLIUtils/modern-cmake/-/blob/master/examples/extended-project/CMakeLists.txt
How do you feel about that organization?
Originally posted by @mirestrepo in #17 (comment)
The text was updated successfully, but these errors were encountered: