Removed unnecessary test file copies in CMake configuration.

This commit is contained in:
Patrick Lühne 2016-12-08 02:16:17 +01:00
parent f1d2c4e532
commit cb2db2cadf
Signed by: patrick
GPG Key ID: 05F3611E97A70ABF

View File

@ -13,12 +13,10 @@ set(libraries
plasp plasp
) )
file(COPY data DESTINATION ${CMAKE_BINARY_DIR})
add_executable(${target} ${core_sources}) add_executable(${target} ${core_sources})
target_link_libraries(${target} ${libraries}) target_link_libraries(${target} ${libraries})
add_custom_target(run-tests add_custom_target(run-tests
COMMAND ${CMAKE_BINARY_DIR}/bin/tests COMMAND ${CMAKE_BINARY_DIR}/bin/tests
DEPENDS ${target} DEPENDS ${target}
WORKING_DIRECTORY ${CMAKE_BINARY_DIR}) WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}/tests)