diff options
author | Louie S <louie@example.com> | 2024-03-18 15:51:50 -0400 |
---|---|---|
committer | Louie S <louie@example.com> | 2024-03-18 15:51:50 -0400 |
commit | 28fd4ebfca32aacd53a17b9a6a92ba97011f2e3a (patch) | |
tree | c9727276ddef1bef7fb08dacbbab7890c4bdfad2 /CMakeLists.txt | |
parent | 4f6bf0f32483f524f2f654c9eaf9274d8e85af77 (diff) |
Basic Linux install target working
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 4a87c05..682132b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -97,3 +97,12 @@ add_executable(assignment-list set_target_properties(assignment-list PROPERTIES WIN32_EXECUTABLE ON) target_link_libraries(assignment-list ${qt_libraries}) + +# Installation +install(TARGETS assignment-list) + +# TODO make conditional only for linux +# install desktop entry and icon +configure_file(data/assignment-list.desktop.in ${CMAKE_CURRENT_SOURCE_DIR}/data/assignment-list.desktop @ONLY) +install(FILES data/assignment-list.desktop DESTINATION share/applications) +install(FILES data/assignment-list.svg DESTINATION share/pixmaps) |