mirror of
https://github.com/gelldur/EventBus.git
synced 2024-12-27 12:21:02 +08:00
Merge branch 'master' into master
This commit is contained in:
commit
9fe2ae68f1
@ -14,6 +14,11 @@ set(CMAKE_CXX_STANDARD 14)
|
|||||||
|
|
||||||
add_subdirectory(lib/)
|
add_subdirectory(lib/)
|
||||||
|
|
||||||
|
if(ENABLE_CPACK)
|
||||||
|
include("lib/cmake/EventBus_CPack.cmake")
|
||||||
|
enable_cpack("RPM;DEB;TGZ")
|
||||||
|
endif()
|
||||||
|
|
||||||
if(ENABLE_TEST)
|
if(ENABLE_TEST)
|
||||||
enable_testing()
|
enable_testing()
|
||||||
add_subdirectory(test/)
|
add_subdirectory(test/)
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
# CPack Configuration
|
# CPack Configuration
|
||||||
function(enable_cpack)
|
function(enable_cpack generator)
|
||||||
set(CPACK_PACKAGE_VERSION ${PROJECT_VERSION})
|
set(CPACK_PACKAGE_VERSION ${PROJECT_VERSION})
|
||||||
|
set(CPACK_GENERATOR ${generator})
|
||||||
set(CPACK_PACKAGE_NAME ${PROJECT_NAME})
|
set(CPACK_PACKAGE_NAME ${PROJECT_NAME})
|
||||||
set(CPACK_PACKAGE_RELEASE 1)
|
set(CPACK_PACKAGE_RELEASE 1)
|
||||||
set(CPACK_PACKAGE_CONTACT "gelldur")
|
set(CPACK_PACKAGE_CONTACT "gelldur")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user