Re: [CMake] add_subdirectory not working as I want, need some guidance

2012-10-01 Thread Petr Kmoch
Hi Andrew. Just a clarification: do you actually need the source-gathering file (currently /project_src/code/client/core/CMakeLists.txt) to be a CMakeList? If all it does is set up some variables, you might be best off renaming it e.g. FileSetup.cmake and then including it using include(...) in

[CMake] add_subdirectory not working as I want, need some guidance

2012-09-30 Thread Andrew Fenn
Hello all, I'm a little stuck on how to get this working exactly how I want it to and I'm hoping someone here will be able to help me figure it out. My project is structured as so: /project_src/tests/client/CMakeLists.txt - Client Unit Test Project /project_src/code/client/CMakeLists.txt -