diff options
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 25 |
1 files changed, 25 insertions, 0 deletions
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 +#) |