[CMake] [cmake] Not reading CMakelists.txt in Subdirectory

Henry Johnson misc at faradayco.com
Wed May 13 17:58:10 EDT 2009


Hi,
Newbie here, trying to CMake a sourceforge project.  Project is 
structured normally with main CMakeLists.txt at main directory and 
source for various executables in several subdirectories each with 
accompanying CMakeLists.txt.

Problem is that none of the sub programs are included in the build.  
CMake appears to not be reading the CMakeLists.txt in the subdirectory.

I've played around with it (quite a bit).  If I purposely change the 
name of the subdirectory CMake flags an error.  But if I put garbage 
text into the CMakeLists.txt inside the subdirectory or change its name 
CMake doesn't catch it.

BTW, I've had some experience with CMake and it generally runs great, 
just can't get past this one...

Thanks,

Henry


More information about the CMake mailing list