mirror of
https://github.com/clangen/musikcube.git
synced 2024-11-19 11:10:52 +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
|
**/CMakeFiles
|
||||||
**/Makefile
|
**/Makefile
|
||||||
**/cmake_install.cmake
|
**/cmake_install.cmake
|
||||||
|
**/install_manifest.txt
|
||||||
.vs
|
.vs
|
||||||
.vscode
|
.vscode
|
||||||
bin
|
bin
|
||||||
|
@ -130,6 +130,13 @@ else (CMAKE_SYSTEM_NAME MATCHES "Linux")
|
|||||||
)
|
)
|
||||||
endif (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
|
# symlink the binary
|
||||||
install(CODE "EXECUTE_PROCESS (COMMAND mkdir -p ${CMAKE_INSTALL_PREFIX}/bin/)")
|
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/)")
|
install(CODE "EXECUTE_PROCESS (COMMAND ln -sf ${CMAKE_INSTALL_PREFIX}/share/musikcube/musikbox ${CMAKE_INSTALL_PREFIX}/bin/)")
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#define VERSION "0.3.1"
|
#define VERSION "0.3.2"
|
||||||
|
Loading…
Reference in New Issue
Block a user