On 9/29/2010 11:02 AM, elizabeta petreska wrote:
This is the link to bug report http://www.paraview.org/Bug/view.php?id=11274
OK, I have fixed the issue in CMake next. To get around the problem you can use MAIN_DEPENDENCY like this: ADD_CUSTOM_COMMAND( OUTPUT "${PROJECT_BINARY_DIR}/$(ConfigurationName)/generated.txt" COMMAND ${CMAKE_COMMAND} -E copy "${PROJECT_SOURCE_DIR}/myfile.txt" "${PROJECT_BINARY_DIR}/$(ConfigurationName)/generated.txt" DEPENDS "${PROJECT_SOURCE_DIR}/myfile.txt" MAIN_DEPENDENCY "${PROJECT_SOURCE_DIR}/myfile.txt" ) -Bill _______________________________________________ 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