On 31.10.2015 15:49, Nico Schlömer wrote:
add_custom_command(
OUTPUT ${CMAKE_BINARY_DIR}/test/data/pacman.e.2.0
COMMAND decomp -p 2 ${CMAKE_BINARY_DIR}/test/data/pacman.e
DEPENDS noshTestFetchData
)
I don't know anything about the ExternalData module but assuming this is
unrelated ...
do you have a target that depends on the new output?
Without one the custom command does not get emitted.
E.g. add_custom_target(foobar ALL DEPENDS
${CMAKE_BINARY_DIR}/test/data/pacman.e.2.0)
or list it in the sources of an existing add_executable() or
add_library() target.
Nils
--
Powered by www.kitware.com
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Kitware offers various services to support the CMake community. For more
information on each offering, please visit:
CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake