Initial commit
This commit is contained in:
parent
4d4ea94522
commit
2407aa35e7
5 changed files with 294 additions and 0 deletions
23
CMakeLists.txt
Normal file
23
CMakeLists.txt
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
cmake_minimum_required(VERSION 3.16)
|
||||
|
||||
# Projektname und Standards
|
||||
project(ArbeitszeitRechner)
|
||||
set(CMAKE_CXX_STANDARD 17)
|
||||
|
||||
# Automatische Qt-Prozesse aktivieren
|
||||
set(CMAKE_AUTOMOC ON)
|
||||
set(CMAKE_AUTOUIC ON)
|
||||
set(CMAKE_AUTORCC ON)
|
||||
|
||||
# Qt6 einbinden
|
||||
find_package(Qt6 REQUIRED COMPONENTS Widgets)
|
||||
|
||||
# Quellen-Dateien
|
||||
add_executable(ArbeitszeitRechner
|
||||
main.cpp
|
||||
WorkTimeCalculator.cpp
|
||||
WorkTimeCalculator.h
|
||||
)
|
||||
|
||||
# Qt6-Widgets verlinken
|
||||
target_link_libraries(ArbeitszeitRechner Qt6::Widgets)
|
||||
Loading…
Add table
Add a link
Reference in a new issue