cmake: add CPack support
This commit is contained in:
@@ -28,6 +28,8 @@ list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
|
|||||||
include(TargetArch)
|
include(TargetArch)
|
||||||
target_architecture(CMAKE_TARGET_ARCHITECTURES)
|
target_architecture(CMAKE_TARGET_ARCHITECTURES)
|
||||||
|
|
||||||
|
include(CPack)
|
||||||
|
|
||||||
include(CMakeDependentOption)
|
include(CMakeDependentOption)
|
||||||
|
|
||||||
add_compile_definitions(CMAKE)
|
add_compile_definitions(CMAKE)
|
||||||
|
@@ -94,6 +94,11 @@ else()
|
|||||||
add_subdirectory(codegen)
|
add_subdirectory(codegen)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
install(TARGETS 86Box)
|
||||||
|
if(VCPKG_TOOLCHAIN)
|
||||||
|
x_vcpkg_install_local_dependencies(TARGETS 86Box DESTINATION "bin")
|
||||||
|
endif()
|
||||||
|
|
||||||
add_subdirectory(device)
|
add_subdirectory(device)
|
||||||
add_subdirectory(disk)
|
add_subdirectory(disk)
|
||||||
add_subdirectory(floppy)
|
add_subdirectory(floppy)
|
||||||
|
Reference in New Issue
Block a user