1
0
Fork 0

Install lib Array and header in include/tg

This commit is contained in:
Geoff McLane 2018-06-03 20:08:12 +02:00
parent 72683931aa
commit d8cb65be17

View file

@ -1,7 +1,14 @@
# array library, and test_array app
add_library(Array STATIC
array.cxx array.hxx
)
install( TARGETS Array
RUNTIME DESTINATION bin
LIBRARY DESTINATION lib
ARCHIVE DESTINATION lib
)
install( FILES array.hxx DESTINATION include/tg )
add_executable(test_array testarray.cxx)
@ -12,3 +19,6 @@ target_link_libraries(test_array
${SIMGEAR_CORE_LIBRARY_DEPENDENCIES})
install(TARGETS test_array RUNTIME DESTINATION bin)
if (MSVC)
set_target_properties( test_array PROPERTIES DEBUG_POSTFIX d )
endif ()