comparison cmake/function/IrccdDefineTest.cmake @ 159:70ed0753ce0d

Plugin history: add initial unit test
author David Demelier <markand@malikania.fr>
date Mon, 23 May 2016 14:05:41 +0200
parents 81dd79ec1e99
children 6635b9187d71
comparison
equal deleted inserted replaced
158:52affa4ade71 159:70ed0753ce0d
75 target_compile_definitions( 75 target_compile_definitions(
76 test-${TEST_NAME} 76 test-${TEST_NAME}
77 PRIVATE 77 PRIVATE
78 ${TEST_FLAGS} 78 ${TEST_FLAGS}
79 SOURCEDIR="${CMAKE_CURRENT_SOURCE_DIR}" 79 SOURCEDIR="${CMAKE_CURRENT_SOURCE_DIR}"
80 BINARYDIR="${CMAKE_CURRENT_BINARY_DIR}"
80 IRCCD_TESTS_DIRECTORY="${CMAKE_BINARY_DIR}/tests" 81 IRCCD_TESTS_DIRECTORY="${CMAKE_BINARY_DIR}/tests"
81 ) 82 )
82 83
83 # Tests are all in the same directory 84 # Tests are all in the same directory
84 set_target_properties( 85 set_target_properties(