-
Notifications
You must be signed in to change notification settings - Fork 1
/
CMakeLists.txt
45 lines (39 loc) · 1.03 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
cmake_minimum_required(VERSION 3.16)
project(kak-qt VERSION 1.0.0 LANGUAGES CXX)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
set(CMAKE_AUTORCC ON)
find_package(Qt6 REQUIRED COMPONENTS Widgets Network Svg)
qt_standard_project_setup()
qt_add_executable(kak-qt
resources.qrc
src/rpc/line.cpp
src/rpc/atom.cpp
src/rpc/face.cpp
src/rpc/color.cpp
src/rpc/attribute.hpp
src/rpc/rpc.cpp
src/colorpalette.cpp
src/keybindings.cpp
src/drawoptions.cpp
src/ipc.cpp
src/container.cpp
src/splitcontainer.cpp
src/lastfocusedfilter.cpp
src/kakounesession.cpp
src/remotekakounesession.cpp
src/kakouneclient.cpp
src/kakounemenu.cpp
src/kakouneinfobox.cpp
src/kakounewidget.cpp
src/kakounetextedit.cpp
src/statusbar.cpp
src/mainwindow.cpp
src/main.cpp
)
target_link_libraries(kak-qt PRIVATE Qt6::Widgets Qt6::Network Qt6::Svg)
set_target_properties(kak-qt PROPERTIES
WIN32_EXECUTABLE ON
MACOSX_BUNDLE ON
)