Skip to content

Commit

Permalink
Configure CMake
Browse files Browse the repository at this point in the history
  • Loading branch information
RanolP committed Feb 19, 2020
1 parent 0c49cf3 commit 4777829
Show file tree
Hide file tree
Showing 6 changed files with 59 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"files.exclude": {
"**/CMakeFiles": true,
"**/cmake_install.cmake": true,
"**/Makefile": true,
"**/CMakeCache.txt": true
}
}
7 changes: 7 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -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)
11 changes: 11 additions & 0 deletions src/spaic-css/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -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")
11 changes: 11 additions & 0 deletions src/spaic-dom/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -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")
11 changes: 11 additions & 0 deletions src/spaic-dui/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -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")
11 changes: 11 additions & 0 deletions src/spaic/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -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")

0 comments on commit 4777829

Please sign in to comment.