Aggiunto packaging automatizzato tramite CPack

This commit is contained in:
giuliof 2022-11-30 21:04:49 +01:00
parent 091e437414
commit 64c0ddfe6f
2 changed files with 8 additions and 0 deletions

View File

@ -56,3 +56,7 @@ add_executable (argento
# Qt: link needed libraries
target_link_libraries(argento Qt5::Widgets Qt5::Sql)
# CMake packaging system
install(TARGETS argento RUNTIME DESTINATION bin)
include (CPack)

View File

@ -40,3 +40,7 @@ add_executable (nicolodi
# Qt: link needed libraries
target_link_libraries(nicolodi Qt5::Widgets Qt5::Sql)
# CMake packaging system
install(TARGETS nicolodi RUNTIME DESTINATION bin)
include (CPack)