Updated CMakeLists.txt to install header files.

This commit is contained in:
Casey Langen 2016-11-08 12:34:06 -08:00
parent 174e0dfbce
commit d04b990530
3 changed files with 9 additions and 1 deletions

1
.gitignore vendored
View File

@ -6,6 +6,7 @@
**/CMakeFiles
**/Makefile
**/cmake_install.cmake
**/install_manifest.txt
.vs
.vscode
bin

View File

@ -130,6 +130,13 @@ else (CMAKE_SYSTEM_NAME MATCHES "Linux")
)
endif (CMAKE_SYSTEM_NAME MATCHES "Linux")
file(GLOB sdk_headers "src/core/sdk/*.h")
install(
FILES ${sdk_headers}
DESTINATION include/musikcube/core/sdk
)
# symlink the binary
install(CODE "EXECUTE_PROCESS (COMMAND mkdir -p ${CMAKE_INSTALL_PREFIX}/bin/)")
install(CODE "EXECUTE_PROCESS (COMMAND ln -sf ${CMAKE_INSTALL_PREFIX}/share/musikcube/musikbox ${CMAKE_INSTALL_PREFIX}/bin/)")

View File

@ -1,3 +1,3 @@
#pragma once
#define VERSION "0.3.1"
#define VERSION "0.3.2"