[CMake] multiple cmake files in one directory
th.tom at gmx.de
th.tom at gmx.de
Tue Sep 22 11:55:49 EDT 2009
Hi,
I have seen a thread about this issue but there was not a real solution, so I try to ask that again: Is there a way to define a specific CMakeLists.txt-file with a cmake call.
I have two projects, which have the same root directory (what is really nasty but I can't change it actually):
-data
- subdir1
- subdir2
- subdir3
These two projects need some subdirectories, so the cmake files would look like this:
CMakeLists-1.txt: (Project 1)
[..]
SUBDIRS(
subdir1
subdir3
)
[..]
and
CMakeLists-2.txt: (Project 2)
[..]
SUBDIRS(
subdir2
)
[..]
I want to build project 1 completly independent from project 2.
Thanks in advance - tom
More information about the CMake
mailing list