Skip to content
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

Use macros/functions to remove duplicate CMake code #16

Open
schuhschuh opened this issue Dec 13, 2015 · 0 comments
Open

Use macros/functions to remove duplicate CMake code #16

schuhschuh opened this issue Dec 13, 2015 · 0 comments

Comments

@schuhschuh
Copy link
Member

All of the CMakeLists.txt files of modules have a very common structure. Most of it could be easily hidden in a few CMake macros/functions included by the top-level CMakeLists.txt file. The src/CMakeLists.txt files would not be needed as instead there can be a single macro/function call in the module CMakeLists.txt (e.g., Modules/Common/CMakeLists.txt) to add the library target and corresponding installation rules.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant