-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCMakeLists.txt
27 lines (19 loc) · 1.33 KB
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
cmake_minimum_required(VERSION 3.22...3.29)
# ======================================================================================================================
# PROJECT DECLARATION
# ======================================================================================================================
project(torpedo VERSION 1.0.0 LANGUAGES C CXX)
# ======================================================================================================================
# OPTIONS
# ======================================================================================================================
option(TORPEDO_BUILD_DEMO "Build Torpedo demo targets" ON)
option(TORPEDO_INSTALL "Generate installation targets" ON)
# ======================================================================================================================
# PATHS
# ======================================================================================================================
set(PROJECT_ROOT ${CMAKE_SOURCE_DIR})
# ======================================================================================================================
# SUB-PROJECTS
# ======================================================================================================================
add_subdirectory(${PROJECT_ROOT}/torpedo)
add_subdirectory(${PROJECT_ROOT}/tordemo)