Erste Version
This commit is contained in:
commit
e5944d9b97
74 files changed
+30486
No files matched your search
@@ -0,0 +1,26 @@
|
||||
cmake_minimum_required(VERSION 3.16)
|
||||
project(adfmanager VERSION 0.2.0 LANGUAGES CXX)
|
||||
|
||||
set(CMAKE_CXX_STANDARD 17)
|
||||
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
||||
set(CMAKE_AUTOMOC ON)
|
||||
|
||||
include(GNUInstallDirs)
|
||||
|
||||
find_package(Qt6 REQUIRED COMPONENTS Widgets)
|
||||
|
||||
add_executable(adfmanager
|
||||
main.cpp
|
||||
mainwindow.cpp
|
||||
mainwindow.h
|
||||
removable.cpp
|
||||
removable.h
|
||||
xdftool.cpp
|
||||
xdftool.h
|
||||
)
|
||||
|
||||
target_compile_definitions(adfmanager PRIVATE APP_VERSION="${PROJECT_VERSION}")
|
||||
target_link_libraries(adfmanager PRIVATE Qt6::Widgets)
|
||||
|
||||
install(TARGETS adfmanager RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})
|
||||
install(FILES adfmanager.desktop DESTINATION ${CMAKE_INSTALL_DATADIR}/applications)
|
||||
Reference in new issue
Block a user