I'm using CMake for a C++ project. When I create a CodeLite workspace with cmake -G "CodeLite - Unix Makefiles"
, I have to manually add header files into the workspace - I guess, because they aren't listed in any CMakeLists.txt
.
Is there a way to configure the generation of the CodeLite project in a way that header files (and other #include
d files, such as template definitions) are also included?
In this question it seems like I'd have to include all header files in the appropriate CMakeLists.txt
. I'd vastly prefer it if I don't have to do that. Is that possible?