At 03:47 PM 5/26/2006, Steve Johns wrote:
>IF(CMAKE_CONFIGURATION_TYPES)
> # Handle multi-configuration generators.
> FOREACH(config ${CMAKE_CONFIGURATION_TYPES})
> CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/traps_config.in
> ${CMAKE_CURRENT_BINARY_DIR}/${config}/traps_config.txt
> COPYONLY)
> ENDFOREACH(config)
>ELSE(CMAKE_CONFIGURATION_TYPES)
> # Handle single-configuration generators.
> CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/traps_config.in
> ${CMAKE_CURRENT_BINARY_DIR}/traps_config.txt COPYONLY)
>ENDIF(CMAKE_CONFIGURATION_TYPES)
The failure is coming from some other place. If I create a CMakeList.txt
file with only the above in it, it works as expected.
Are there any other places in your cmakelist files that reference
traps_config.txt?
-Bill
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake