[CMake] Patch to apply! Changing the default name"CMakeLists.txt"!

Bill Hoffman bill.hoffman at kitware.com
Sun Jan 13 16:23:12 EST 2008


Martin Lütken wrote:
> That's great then. Do you know who to address in order to get the patch 
> into the CVS code ?
> 

Actually, what about something like this:

# CMakeLists.txt
INCLUDE(${CMAKE_CURRENT_SOURCE_DIR}/${CML_NAME}")

cmake /path/to/proj -DCML_NAME:STRING="mycmake1.txt"
cmake /path/to/proj -DCML_NAME:STRING="mycmake2.txt"


No changes needed to CMake at all....

-Bill


More information about the CMake mailing list