[CMake] One folder to rule them all...

Oliver Smith osmith at playnet.com
Wed Mar 24 20:24:41 EDT 2010


I would like the following [pseudo] CMake package to create a 
"Solution.sln" in ${CMAKE_BINARY_DIR} and put the .vcproj files in 
${CMAKE_BINARY_DIR}/${VCPROJ_DIR}

     project (Solution)
     add_library(library1 foo1.cpp)
     # ...
     add_library(library9 foo9.cpp)
     add_executable(target1 target1.cpp)
     # ...
     add_executable(target27 target27.cpp)

I do realize that when your fellow coders "can't find the solution file" 
in a directory window because it has a scroll bar that you should be 
spending time on your resume rather than 'accept'ing the trouble 
ticket... <chuckle>




More information about the CMake mailing list