blob: dfb9afb0ec7bff9120c273b25868cb252accf3a3 (
plain)
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
|
cmake_minimum_required(VERSION 3.16)
project(getsuyomi VERSION 1.0.0 LANGUAGES CXX)
set(CMAKE_CXX_STANDARD 20)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
find_package(Qt6 REQUIRED COMPONENTS Widgets)
qt_standard_project_setup()
set(CXX_CPPCHECK "project=build/compile_commands.json;enable=information;force")
set(CMAKE_EXPORT_COMPILE_COMMANDS true)
qt_add_executable(getsuyomi
# main_window.ui
src/main_window.cpp
src/main.cpp
)
# find_dependency(minizip-ng REQUIRED)
target_include_directories(getsuyomi PRIVATE minizip-ng)
target_link_libraries(getsuyomi PRIVATE Qt6::Widgets minizip-ng)
# set_target_properties(getsuyomi PROPERTIES
# WIN32_EXECUTABLE ON
# MACOSX_BUNDLE ON
#)
|