Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
dwarfovich committed Jul 28, 2024
1 parent 526d7d4 commit f3222d9
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/HW4.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: 'HW4 action'
name: 'HW4 action 2'

on:
workflow_dispatch:
Expand Down
10 changes: 10 additions & 0 deletions HW4/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,16 @@ set_target_properties(${TARGET_NAME}
RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin"
)

# deb-package.
set(CPACK_GENERATOR DEB)
set(CPACK_PACKAGE_NAME "print_ip")
set(CPACK_PACKAGE_VERSION ${PROJECT_VERSION})
set(CPACK_DEBIAN_PACKAGE_ARCHITECTURE "amd64")
set(CPACK_PACKAGE_ARCHITECTURE "amd64")
set(CPACK_PACKAGE_CONTACT [email protected])
set(CPACK_PACKAGE_DIRECTORY "${CMAKE_BINARY_DIR}/deb")
include(CPack)

# Tests.
if(BUILD_TESTS)
enable_testing()
Expand Down

0 comments on commit f3222d9

Please sign in to comment.