From 107d96690b37a6e4803f02117f22244d53c56706 Mon Sep 17 00:00:00 2001 From: Dominick Allen Date: Mon, 16 Sep 2024 11:19:28 -0500 Subject: Initial commit --- CMakeLists.txt | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 CMakeLists.txt (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..3908a43 --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,25 @@ +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 +) + +target_link_libraries(getsuyomi PRIVATE Qt6::Widgets) + +# set_target_properties(getsuyomi PROPERTIES +# WIN32_EXECUTABLE ON +# MACOSX_BUNDLE ON +#) -- cgit v1.2.3