mirror of
https://github.com/clangen/musikcube.git
synced 2025-01-27 06:35:28 +00:00
Updated CMakeLists.txt to install header files.
This commit is contained in:
parent
174e0dfbce
commit
d04b990530
1
.gitignore
vendored
1
.gitignore
vendored
@ -6,6 +6,7 @@
|
||||
**/CMakeFiles
|
||||
**/Makefile
|
||||
**/cmake_install.cmake
|
||||
**/install_manifest.txt
|
||||
.vs
|
||||
.vscode
|
||||
bin
|
||||
|
@ -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/)")
|
||||
|
@ -1,3 +1,3 @@
|
||||
#pragma once
|
||||
|
||||
#define VERSION "0.3.1"
|
||||
#define VERSION "0.3.2"
|
||||
|
Loading…
x
Reference in New Issue
Block a user