summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorDominick Allen <djallen@librehumanitas.org>2024-09-16 11:19:28 -0500
committerDominick Allen <djallen@librehumanitas.org>2024-09-16 11:19:28 -0500
commit107d96690b37a6e4803f02117f22244d53c56706 (patch)
tree2358888bec7870d90da37bde6870c50a477eeafb /CMakeLists.txt
Initial commit
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt25
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
+#)