On 10/16/2012 12:49 AM, Michael Wild wrote:
This will always work:add_executable(frobnicate frobnicate.c) add_custom_command(OUTPUT ${resultFile} COMMAND frobnicate ${resultFileFolder} WORKING_DIRECTORY ${PROJECT_SOURCE_DIR} COMMENT "Generating Wiki reports" VERBATIM) add_custom_target(generateReports ALL DEPENDS ${resultFile})
This worked perfectly for both CodeGear and VisualStudio. Thanks! Totte -- 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
