Skip to content

[cmake] replace cpp glob with script and cmake include #9

Open
grf14003 opened this issue Nov 3, 2019 · 0 comments
Open

[cmake] replace cpp glob with script and cmake include #9

grf14003 opened this issue Nov 3, 2019 · 0 comments

Comments

@grf14003
Copy link
Owner

grf14003 commented Nov 3, 2019

Currently, we use a file(GLOB_RECUSE...) #8 call to collect a list of source files for compilation. As stated in the CMake documentation, this is bad practice.

https://cmake.org/cmake/help/v3.14/command/file.html#glob

Instead, we should have an independent script for generating this list of source files. Some sort of process similar to this StackOverflow solution:

https://stackoverflow.com/questions/45090926/cmake-generate-list-of-source-files-without-glob

Sign in to join this conversation on GitHub.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant