File tree 2 files changed +17
-15
lines changed
2 files changed +17
-15
lines changed Original file line number Diff line number Diff line change @@ -50,23 +50,15 @@ add_executable(${TARGET_NAME} ${SOURCE_FILES})
50
50
51
51
set_property (DIRECTORY PROPERTY VS_STARTUP_PROJECT ${TARGET_NAME} )
52
52
53
+ install (TARGETS ${TARGET_NAME} DESTINATION .)
54
+ install (FILES ${CMAKE_SOURCE_DIR} /LICENSE DESTINATION .)
55
+ install (FILES ${CMAKE_SOURCE_DIR} /README.md DESTINATION .)
56
+ install (FILES $<TARGET_PDB_FILE:${TARGET_NAME} > DESTINATION / OPTIONAL COMPONENT symbols)
57
+
58
+ set (CPACK_PACKAGE_FILE_NAME "easy_debug_view" )
53
59
set (CPACK_PACKAGE_NAME "easy_debug_view" )
54
60
set (CPACK_PACKAGE_DESCRIPTION "Easy and fast debug output viewer for Windows" )
55
- set (CPACK_COMPONENTS_GROUPING ONE_PER_GROUP)
56
- SET (CPACK_ARCHIVE_COMPONENT_INSTALL ON )
57
61
58
62
set (CPACK_GENERATOR "ZIP" )
59
63
60
- get_cmake_property (CPACK_COMPONENTS_ALL COMPONENTS)
61
- list (REMOVE_ITEM CPACK_COMPONENTS_ALL "Unspecified" )
62
-
63
- include (CPack)
64
-
65
- cpack_add_component(easy_debug_view
66
- DISPLAY_NAME "easy_debug_view"
67
- DESCRIPTION "Easy debug view package"
68
- )
69
- cpack_add_component(symbols
70
- DISPLAY_NAME "Symbols"
71
- DESCRIPTION "Symbols package"
72
- )
64
+ include (CPack)
Original file line number Diff line number Diff line change 1
1
# easy-debug-view
2
2
Simple and fast debug output viewer for Windows.
3
+
4
+ ## Build
5
+ ### Configure and build using CMake
6
+ ``` console
7
+ cmake -S . -B build
8
+ cmake --build build --config RelWithDebInfo --target ALL_BUILD
9
+ ```
10
+ ### Configure, build and package using CMake
11
+ cmake -S . -B build
12
+ cmake --build build --config RelWithDebInfo --target package
You can’t perform that action at this time.
0 commit comments