-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCMakeLists.txt
More file actions
45 lines (39 loc) · 869 Bytes
/
CMakeLists.txt
File metadata and controls
45 lines (39 loc) · 869 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
cmake_minimum_required(VERSION 3.16)
project(MinePriceCalc VERSION 1.0 LANGUAGES CXX)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_AUTOMOC ON)
set(CMAKE_AUTOUIC ON)
set(CMAKE_AUTORCC ON)
find_package(Qt6 REQUIRED COMPONENTS Core Gui Widgets Sql)
set(SOURCES
main.cpp
database.cpp
mainwindow.cpp
itemswidget.cpp
marketpriceswidget.cpp
equipmentwidget.cpp
techniqueswidget.cpp
sessionswidget.cpp
calculatorwidget.cpp
selllistwidget.cpp
)
set(HEADERS
models.h
database.h
mainwindow.h
itemswidget.h
marketpriceswidget.h
equipmentwidget.h
techniqueswidget.h
sessionswidget.h
calculatorwidget.h
selllistwidget.h
)
add_executable(minepricecalc ${SOURCES} ${HEADERS})
target_link_libraries(minepricecalc
Qt6::Core
Qt6::Gui
Qt6::Widgets
Qt6::Sql
)