1+ ########################################################################
2+ # .:^7^ #
3+ # :^!?Y5PGGBG~77 #
4+ # .:~7JJ B#GGBBBGPYJ&#G#^ #
5+ # .^. 5GGBBBB#&.!@GPB? ?JPB5: #
6+ # .^!JPG##&#.#&#&#G#Y. B&PPPGBBBBBG^ #
7+ # .5G#&&&&&&&#BP? .. ?@GB5 :@BPGBJ7~:. #
8+ # ^@@&&B#@#&P #&GB! Y&PG5 #
9+ # ^^. .&&##: ^@BGB. &#PG~ #
10+ # ?@##G P&GBY ~@PPG #
11+ # #&#&! &#GB~:~ G&PGJ #
12+ # ^@### .!G#GGBB#J.&#B? #
13+ # P@##Y Y@####BPY: .. #
14+ # .&&#&: .J7^. #
15+ # 7&B5. #
16+ # #
17+ # #
18+ ########################################################################
19+ # #
20+ # It is recommended to use Clion to build a proct successfully #
21+ # #
22+ #If the project is going under Linux/Unix/Mac OS: #
23+ # 1. Install Qt5 #
24+ # 2. Remove the line CMAKE_PREFIX_PATH from this file #
25+ # 3. Change the data for the build directory (if necessary) #
26+ # 4. Open the terminal and go to the directory with the project #
27+ # 5. Write cmake. #
28+ # 6. make #
29+ # 7. Congratulations! The project has been successfully assembled! #
30+ # #
31+ #if the project is going under Windows: #
32+ # 1. Install Qt5 #
33+ # 2. Specify the directory with Qt5 in the CMAKE_PREFIX_PATH field, #
34+ # you can see an example below #
35+ # 3. Change the data for the build directory (if necessary) #
36+ # 4. Open the terminal and go to the directory with the project #
37+ # 5. Write cmake . #
38+ # 6. make #
39+ # 7. Congratulations! The project has been successfully assembled! #
40+ # #
41+ ########################################################################
42+
43+
44+ cmake_minimum_required (VERSION 3.23)
45+ project (TIP)
46+
47+ set (CMAKE_CXX_STANDARD 17)
48+
49+ set (CMAKE_AUTOUIC_SEARCH_PATHS source /ui/)
50+
51+ set (CMAKE_AUTOMOC ON )
52+ set (CMAKE_AUTORCC ON )
53+ set (CMAKE_AUTOUIC ON )
54+
55+ set (CMAKE_PREFIX_PATH D:/ProgramFiles/Qt/5.14.2/mingw73_64/lib/cmake/Qt5) # path/to/Qt5
56+
57+ set (CMAKE_RUNTIME_OUTPUT_DIRECTORY ../build ) # path/to/build_directory
58+
59+ find_package (Qt5 COMPONENTS
60+ Core
61+ Gui
62+ Widgets
63+ Sql
64+ PrintSupport
65+ REQUIRED
66+ )
67+
68+ add_executable (TIP
69+ WIN32
70+ source /main.cpp
71+ source /headers/mainwindow.h
72+ source /sources /mainwindow.cpp
73+ source /ui/mainwindow.ui
74+ source /headers/options .h
75+ source /sources /options .cpp
76+ source /ui/options .ui
77+ source /headers/fontchanger.h
78+ source /sources /fontchanger.cpp
79+ source /ui/fontchanger.ui
80+ source /sources /records_ammount.cpp
81+ source /headers/records_ammount.h
82+ source /ui/records_ammount.ui
83+ source /headers/logger.h
84+ source /sources /records_on_first_start.cpp
85+ source /headers/records_on_first_start.h
86+ source /ui/records_on_first_start.ui
87+ source /sources /progressbar.cpp
88+ source /headers/progressbar.h
89+ source /ui/progressbar.ui
90+ )
91+
92+ target_link_libraries (TIP
93+ Qt5::Core
94+ Qt5::Gui
95+ Qt5::Widgets
96+ Qt5::Sql
97+ Qt5::PrintSupport
98+ )
0 commit comments