build: Bundle SDK with releases
This commit is contained in:
parent
73d7cc7c12
commit
e92f937587
@ -65,3 +65,4 @@ add_subdirectory(tests EXCLUDE_FROM_ALL)
|
|||||||
# Configure packaging
|
# Configure packaging
|
||||||
createPackage()
|
createPackage()
|
||||||
generatePDBs()
|
generatePDBs()
|
||||||
|
generateSDKDirectory()
|
@ -658,5 +658,12 @@ function(generatePDBs)
|
|||||||
install(FILES ${CMAKE_BINARY_DIR}/${GENERATED_PDB}.pdb DESTINATION ".")
|
install(FILES ${CMAKE_BINARY_DIR}/${GENERATED_PDB}.pdb DESTINATION ".")
|
||||||
endforeach ()
|
endforeach ()
|
||||||
|
|
||||||
|
endfunction()
|
||||||
|
|
||||||
|
function(generateSDKDirectory)
|
||||||
|
set(SDK_PATH "./sdk")
|
||||||
|
|
||||||
|
install(DIRECTORY ${CMAKE_SOURCE_DIR}/lib/libimhex/include DESTINATION "${SDK_PATH}")
|
||||||
|
install(FILES ${CMAKE_SOURCE_DIR}/cmake/modules/ImHexPlugin.cmake DESTINATION "${SDK_PATH}/cmake/modules")
|
||||||
|
install(TARGETS libimhex DESTINATION "${SDK_PATH}/lib")
|
||||||
endfunction()
|
endfunction()
|
Loading…
Reference in New Issue
Block a user