Hello, I have read the CMake documentation. http://cmake.org/Wiki/CMake/Language_Syntax#CMake_splits_arguments_unless_you_use_quotation_marks_or_escapes.
Now I find that more parameters should be enclosed by quotation marks. Examples: - Frequently asked questions and corresponding answers ${CMAKE_CURRENT_SOURCE_DIR}/someinput.txt ${FOO_BINARY_DIR}/output1.cpp http://cmake.org/Wiki/CMake_FAQ#How_do_I_generate_an_executable.2C_then_use_the_executable_to_generate_a_file.3F - Article "How To Write Platform Checks" ${CMAKE_CURRENT_BINARY_DIR}/config.h http://cmake.org/Wiki/CMake:How_To_Write_Platform_Checks - Article "How To Build Qt4 Software" ${CMAKE_CURRENT_SOURCE_DIR}/a_header.h http://cmake.org/Wiki/CMake:How_To_Build_Qt4_Software#Configuring_CMake_to_Help_Translate Would you like to be better prepared for the handling of path/file names that contain "special" characters like spaces? Are there more script examples which need corresponding adjustments? Regards, Markus _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake