glimpses/all/CMakeLists.txt
Tobias Schmidl 4aa9978dcd
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
style: reformatted to make the CMake scripts more compact
2023-10-06 06:03:57 +02:00

18 lines
620 B
CMake

# SPDX-FileCopyrightText: 2023 github.com/TheLartians
#
# SPDX-License-Identifier: CC0-1.0
# this script adds all subprojects to a single build to allow IDEs understand the full project structure.
cmake_minimum_required(VERSION 3.14...3.22)
project(BuildAll LANGUAGES CXX)
include(../cmake/tools.cmake)
# needed to generate test target
enable_testing()
add_subdirectory(${CMAKE_CURRENT_LIST_DIR}/../standalone ${CMAKE_BINARY_DIR}/standalone)
add_subdirectory(${CMAKE_CURRENT_LIST_DIR}/../test ${CMAKE_BINARY_DIR}/test)
add_subdirectory(${CMAKE_CURRENT_LIST_DIR}/../documentation ${CMAKE_BINARY_DIR}/documentation)