CMakeLists.txt 198 B

1234567
  1. ADD_TEST(
  2. NAME shunit2
  3. COMMAND tests.sh
  4. WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
  5. )
  6. SET_PROPERTY(TEST shunit2 APPEND PROPERTY ENVIRONMENT "TEST_JSON_SCRIPT=$<TARGET_FILE:test-json-script>")