]> git.mxchange.org Git - simgear.git/blob - simgear/misc/CMakeLists.txt
Merge branch 'next' of git://gitorious.org/fg/simgear into next
[simgear.git] / simgear / misc / CMakeLists.txt
1
2 include (SimGearComponent)
3
4 set(HEADERS 
5     PathOptions.hxx
6     ResourceManager.hxx
7     interpolator.hxx
8     sg_dir.hxx
9     sg_path.hxx
10     sgstream.hxx
11     stdint.hxx
12     stopwatch.hxx
13     strutils.hxx
14     tabbed_values.hxx
15     texcoord.hxx
16     zfstream.hxx
17     
18     )
19
20 set(SOURCES 
21     PathOptions.cxx
22     ResourceManager.cxx
23     interpolator.cxx
24     sg_dir.cxx
25     sg_path.cxx
26     sgstream.cxx
27     strutils.cxx
28     tabbed_values.cxx
29     texcoord.cxx
30     zfstream.cxx
31     )
32
33 simgear_component(misc misc "${SOURCES}" "${HEADERS}")
34
35 add_executable(test_tabbed_values tabbed_values_test.cxx)
36 add_test(tabbed_values ${EXECUTABLE_OUTPUT_PATH}/test_tabbed_values)
37 target_link_libraries(test_tabbed_values sgmisc)
38
39 add_executable(test_strings strutils_test.cxx )
40 add_test(test_strings ${EXECUTABLE_OUTPUT_PATH}/test_strings)
41 target_link_libraries(test_strings sgmisc)
42
43 add_executable(test_path path_test.cxx )
44 add_test(test_path ${EXECUTABLE_OUTPUT_PATH}/test_path)
45 target_link_libraries(test_path sgmisc sgdebug)
46