File tree Expand file tree Collapse file tree 2 files changed +18
-1
lines changed Expand file tree Collapse file tree 2 files changed +18
-1
lines changed Original file line number Diff line number Diff line change 11cmake_minimum_required (VERSION "3.12" )
22
3- project ("HelloWorld" VERSION 0.1 .0)
3+ project ("HelloWorld" VERSION 0.2 .0)
44
55add_library (sse sse/sse.cpp)
66set_target_properties (sse PROPERTIES PUBLIC_HEADER sse/sse.hpp)
@@ -25,3 +25,9 @@ install(TARGETS helloworld sse
2525 PUBLIC_HEADER DESTINATION ${CMAKE_INSTALL_INCLUDEDIR} /helloworld
2626 INCLUDES DESTINATION ${CMAKE_INSTALL_INCLUDEDIR} /helloworld
2727 )
28+
29+ # Packaging section
30+ # Adding other cmake modules
31+ set (CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR} /cmake" )
32+ # Include our packaging module
33+ include (Packaging)
Original file line number Diff line number Diff line change 1+ set (CPACK_PACKAGE_NAME ${PROJECT_NAME} )
2+
3+ set (CPACK_PACKAGE_DESCRIPTION_SUMMARY "SSE hello world example project"
4+ CACHE STRING "Extended summary." )
5+
6+ set (CPACK_PACKAGE_VENDOR "SSE Lecturers / Employer" )
7+ set (CPACK_PACKAGE_CONTACT
"[email protected] " )
8+ set (CPACK_PACKAGE_MAINTAINERS "SSE lecturers ${CPACK_PACKAGE_CONTACT} " )
9+ set (CPACK_PACKAGE_HOMEPAGE_URL "https://simulation-software-engineering.github.io/homepage/" )
10+
11+ include (CPack)
You can’t perform that action at this time.
0 commit comments