1
0
Fork 0
mirror of https://github.com/TheLartians/ModernCppStarter.git synced 2025-09-01 06:30:52 +02:00
ModernCppStarter/all/CMakeLists.txt
ClausKlein 47fa7c6933 make it useable for me
extent cmake-format config file
use package-lock too
2021-02-12 22:53:26 +01:00

15 lines
470 B
CMake

# this script adds all subprojects to a single build to allow IDEs understand the full project
# structure.
cmake_minimum_required(VERSION 3.14...3.19)
project(BuildAll LANGUAGES CXX)
include(../cmake/tools.cmake)
# needed to generate test target
enable_testing()
add_subdirectory(${CMAKE_CURRENT_LIST_DIR}/../standalone standalone)
add_subdirectory(${CMAKE_CURRENT_LIST_DIR}/../test test)
add_subdirectory(${CMAKE_CURRENT_LIST_DIR}/../documentation documentation)