From 6781cee55a4e7f232eae3e5f2a652045412339ae Mon Sep 17 00:00:00 2001 From: Loek Le Blansch Date: Sat, 26 Oct 2024 17:26:36 +0200 Subject: use cmake instead of make --- CMakeLists.txt | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 CMakeLists.txt (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..98c41b3 --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,17 @@ +cmake_minimum_required(VERSION 3.28) + +set(CMAKE_CXX_STANDARD 20) +set(CMAKE_EXPORT_COMPILE_COMMANDS 1) +set(CMAKE_BUILD_TYPE Debug) + +find_package(pugixml REQUIRED) + +project(main CXX) + +add_executable(main) + +add_subdirectory(backend) +add_subdirectory(frontend) + +target_link_libraries(main pugixml) + -- cgit v1.2.3