]> git.mxchange.org Git - simgear.git/blob - simgear/environment/CMakeLists.txt
Add support for double-sided taxiway signs and create 3D models for them
[simgear.git] / simgear / environment / CMakeLists.txt
1
2 include (SimGearComponent)
3
4 set(HEADERS metar.hxx precipitation.hxx)
5 set(SOURCES metar.cxx precipitation.cxx)
6
7 simgear_scene_component(environment environment "${SOURCES}" "${HEADERS}")
8
9 if(ENABLE_TESTS)
10 add_executable(test_metar test_metar.cxx)
11
12 if (SIMGEAR_SHARED)
13     target_link_libraries(test_metar SimGearScene) 
14 else()
15     target_link_libraries(test_metar
16         sgenvironment sgstructure sgmisc sgdebug
17         ${CMAKE_THREAD_LIBS_INIT}
18         ${ZLIB_LIBRARY}
19         ${RT_LIBRARY})
20 endif()
21
22 add_test(metar ${EXECUTABLE_OUTPUT_PATH}/test_metar)
23 endif(ENABLE_TESTS)