In this example, the target name foo has a different OUTPUT_NAME. How do I tell ADD_CUSTOM_COMMAND to use the real name of the target when I try to use the copy command within?
ADD_CUSTOM_COMMAND(TARGET foo POST_BUILD COMMAND ${CMAKE_COMMAND} -E copy foo ${PROJECT_SOURCE_DIR}/${INSTALL_DIR}) Thanks, Juan _______________________________________________ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake