Added installation of headers and target binaries

This commit is contained in:
Tan Meng Yue
2018-12-07 18:01:08 +11:00
parent f6c1b4bddf
commit 85d01b26cb
4 changed files with 27 additions and 0 deletions

View File

@@ -7,3 +7,9 @@ include_directories(../../)
file(GLOB gltfutil_sources *.cc *.h)
add_executable(gltfutil ${gltfutil_sources})
install ( TARGETS
gltfutil
DESTINATION
bin
)

View File

@@ -32,3 +32,9 @@ target_link_libraries ( glview
${COREVIDEO_LIBRARY}
${IOKIT_LIBRARY}
)
install ( TARGETS
glview
DESTINATION
bin
)

View File

@@ -45,3 +45,9 @@ endif()
# test-zone
# enable_testing()
install ( TARGETS
tinygltf-validator
DESTINATION
bin
)