1 # CMake build control file for safe numerics Library Examples
3 ###########################
6 message( STATUS "Runtimes are stored in ${CMAKE_CURRENT_BINARY_DIR}" )
33 foreach(test_name ${run_examples_list})
34 test_run_pass(${test_name})
35 set_target_properties(${test_name} PROPERTIES FOLDER "run test examples")
38 test_compile_fail(example17)
39 set_target_properties(example17 PROPERTIES FOLDER "safe numeric compile fail tests")
40 test_compile_fail(example81)
41 set_target_properties(example81 PROPERTIES FOLDER "safe numeric compile fail tests")
43 # end examples targets
46 ###########################
47 # add misc files to IDE
50 RELATIVE "${CMAKE_CURRENT_SOURCE_DIR}"
51 "${CMAKE_CURRENT_SOURCE_DIR}/*.h" "${CMAKE_CURRENT_SOURCE_DIR}/*.c"
53 add_custom_target(miscellaneous SOURCES ${misc_files})
54 set_target_properties(miscellaneous PROPERTIES FOLDER "examples")