Install lib Array and header in include/tg
This commit is contained in:
parent
72683931aa
commit
d8cb65be17
1 changed files with 10 additions and 0 deletions
|
@ -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 ()
|
||||
|
|
Loading…
Add table
Reference in a new issue