fix cmake copy dtaset
This commit is contained in:
parent
599bf584bb
commit
825c90fdb4
@ -8,7 +8,7 @@ add_custom_command(OUTPUT ${CMAKE_CURRENT_SOURCE_DIR}/dataset.dat
|
|||||||
COMMENT "Generating random dataset")
|
COMMENT "Generating random dataset")
|
||||||
add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/dataset.dat
|
add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/dataset.dat
|
||||||
DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/dataset.dat
|
DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/dataset.dat
|
||||||
COMMAND cmake -E copy_if_different ${CMAKE_CURRENT_SOURCE_DIR}/dataset.dat ${CMAKE_CURRENT_BINARY_DIR}/dataset.dat
|
COMMAND ${CMAKE_COMMAND} -E copy_if_different ${CMAKE_CURRENT_SOURCE_DIR}/dataset.dat ${CMAKE_CURRENT_BINARY_DIR}/dataset.dat
|
||||||
COMMENT "Copying dataset")
|
COMMENT "Copying dataset")
|
||||||
|
|
||||||
add_custom_target(task1_7_dataset
|
add_custom_target(task1_7_dataset
|
||||||
|
Loading…
Reference in New Issue
Block a user