From 477782987fe959282b0241d1ed90094c24b43907 Mon Sep 17 00:00:00 2001 From: RanolP Date: Wed, 19 Feb 2020 23:05:31 +0900 Subject: [PATCH] Configure CMake --- .vscode/settings.json | 8 ++++++++ CMakeLists.txt | 7 +++++++ src/spaic-css/CMakeLists.txt | 11 +++++++++++ src/spaic-dom/CMakeLists.txt | 11 +++++++++++ src/spaic-dui/CMakeLists.txt | 11 +++++++++++ src/spaic/CMakeLists.txt | 11 +++++++++++ 6 files changed, 59 insertions(+) create mode 100644 .vscode/settings.json create mode 100644 CMakeLists.txt create mode 100644 src/spaic-css/CMakeLists.txt create mode 100644 src/spaic-dom/CMakeLists.txt create mode 100644 src/spaic-dui/CMakeLists.txt create mode 100644 src/spaic/CMakeLists.txt diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..6bfa350 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,8 @@ +{ + "files.exclude": { + "**/CMakeFiles": true, + "**/cmake_install.cmake": true, + "**/Makefile": true, + "**/CMakeCache.txt": true + } +} diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..4123bab --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,7 @@ +cmake_minimum_required(VERSION 3.8.0) +project(SpaicRoot) + +add_subdirectory(./src/spaic) +add_subdirectory(./src/spaic-css) +add_subdirectory(./src/spaic-dom) +add_subdirectory(./src/spaic-dui) \ No newline at end of file diff --git a/src/spaic-css/CMakeLists.txt b/src/spaic-css/CMakeLists.txt new file mode 100644 index 0000000..4432fd6 --- /dev/null +++ b/src/spaic-css/CMakeLists.txt @@ -0,0 +1,11 @@ +cmake_minimum_required(VERSION 3.8.0) +project(SpaicCSS) + +set(CMAKE_EXPORT_COMPILE_COMMANDS ON) +set(CMAKE_CXX_STANDARD 17) +set(CMAKE_CXX_STANDARD_REQUIRED ON) +set(CMAKE_CXX_EXTENSIONS OFF) + +include_directories("../../include/") +file(GLOB_RECURSE SOURCE_LIST "./*.cpp") +set(CMAKE_RUNTIME_OUTPUT_DIRECTORY "../../bin") diff --git a/src/spaic-dom/CMakeLists.txt b/src/spaic-dom/CMakeLists.txt new file mode 100644 index 0000000..716f0e3 --- /dev/null +++ b/src/spaic-dom/CMakeLists.txt @@ -0,0 +1,11 @@ +cmake_minimum_required(VERSION 3.8.0) +project(SpaicDOM) + +set(CMAKE_EXPORT_COMPILE_COMMANDS ON) +set(CMAKE_CXX_STANDARD 17) +set(CMAKE_CXX_STANDARD_REQUIRED ON) +set(CMAKE_CXX_EXTENSIONS OFF) + +include_directories("../../include/") +file(GLOB_RECURSE SOURCE_LIST "./*.cpp") +set(CMAKE_RUNTIME_OUTPUT_DIRECTORY "../../bin") diff --git a/src/spaic-dui/CMakeLists.txt b/src/spaic-dui/CMakeLists.txt new file mode 100644 index 0000000..4c0aebc --- /dev/null +++ b/src/spaic-dui/CMakeLists.txt @@ -0,0 +1,11 @@ +cmake_minimum_required(VERSION 3.8.0) +project(SpaicDUI) + +set(CMAKE_EXPORT_COMPILE_COMMANDS ON) +set(CMAKE_CXX_STANDARD 17) +set(CMAKE_CXX_STANDARD_REQUIRED ON) +set(CMAKE_CXX_EXTENSIONS OFF) + +include_directories("../../include/") +file(GLOB_RECURSE SOURCE_LIST "./*.cpp") +set(CMAKE_RUNTIME_OUTPUT_DIRECTORY "../../bin") diff --git a/src/spaic/CMakeLists.txt b/src/spaic/CMakeLists.txt new file mode 100644 index 0000000..193eeb2 --- /dev/null +++ b/src/spaic/CMakeLists.txt @@ -0,0 +1,11 @@ +cmake_minimum_required(VERSION 3.8.0) +project(Spaic) + +set(CMAKE_EXPORT_COMPILE_COMMANDS ON) +set(CMAKE_CXX_STANDARD 17) +set(CMAKE_CXX_STANDARD_REQUIRED ON) +set(CMAKE_CXX_EXTENSIONS OFF) + +include_directories("../../include/") +file(GLOB_RECURSE SOURCE_LIST "./*.cpp") +set(CMAKE_RUNTIME_OUTPUT_DIRECTORY "../../bin")