# - MACRO_ADD_TEST() # # Calls add_test() with all the but if on Win32 or Cygwin also adds the # directory where the Cgreen library is generated to the path so that it will # be used when running the test # # @thoni56/Thomas Nilefalk 2015-09-13 macro (macro_add_test) add_test(${ARGN}) if (CYGWIN OR WIN32) set_tests_properties(${ARGV1} PROPERTIES ENVIRONMENT PATH=${PROJECT_BINARY_DIR}/src:$ENV{PATH}) endif () endmacro(macro_add_test)