This repository has been archived by the owner on Jan 29, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
CMakeLists.txt
72 lines (67 loc) · 1.46 KB
/
CMakeLists.txt
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
cmake_minimum_required(VERSION 3.13.4)
find_package(Qt5 5.12.2 REQUIRED COMPONENTS Core Gui Sql Widgets)
find_package(Qt5Sql REQUIRED)
set(CMAKE_AUTOMOC ON)
set(CMAKE_AUTOUIC ON)
set(CMAKE_AUTORCC ON)
set(CMAKE_INCLUDE_CURRENT_DIR ON)
set(goat
src/main.cpp
src/ConnectionManager.cpp
src/Connection.cpp
src/Csv.cpp
ui/TableView.cpp
ui/MainWindow.cpp
ui/CodeEditor.cpp
ui/Highlighter.cpp
ui/AboutDialog.cpp
ui/ConnectionWidget.cpp
ui/ConnectionManagerDialog.cpp
ui/QueryTab.cpp
src/StringUtils.cpp
src/Query.cpp
src/QueryExporter.cpp
src/QueryStopper.cpp
src/AbstractQuery.cpp
ui/ExportQueryDialog.cpp
src/DataFormatter.cpp
src/ConnectionManager.h
src/Connection.h
src/Csv.h
ui/TableView.h
ui/MainWindow.h
ui/CodeEditor.h
ui/Highlighter.h
ui/AboutDialog.h
ui/ConnectionWidget.h
ui/ConnectionManagerDialog.h
ui/QueryTab.h
src/StringUtils.h
src/Query.h
src/Row.h
src/RowSet.h
src/QueryExporter.h
src/QueryStopper.h
src/AbstractQuery.h
ui/ExportQueryDialog.h
src/DataFormatter.h
ui/MainWindow.ui
ui/TableView.ui
ui/AboutDialog.ui
ui/ConnectionWidget.ui
ui/ConnectionManagerDialog.ui
ui/QueryTab.ui
ui/ExportQueryDialog.ui
resources/data.qrc
resources/icons.qrc
)
add_executable(Goat ${SOURCES}
${goat}
)
target_link_libraries(
Goat
Qt5::Core
Qt5::Gui
Qt5::Sql
Qt5::Widgets
)