-
Notifications
You must be signed in to change notification settings - Fork 146
/
CMakeLists.txt
executable file
·31 lines (23 loc) · 776 Bytes
/
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
28
29
30
###############################################################################
# Copyright (c) 2016-2023 Joel de Guzman. All rights reserved.
#
# Distributed under the MIT License (https://opensource.org/licenses/MIT)
###############################################################################
cmake_minimum_required(VERSION 3.5.1)
project(q)
set(CMAKE_CXX_STANDARD 20)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
option(Q_BUILD_EXAMPLES "build Q library examples" ON)
option(Q_BUILD_TEST "build Q library tests" ON)
option(Q_BUILD_IO "build Q IO library" ON)
add_subdirectory(q_lib)
add_subdirectory(infra)
if (Q_BUILD_IO)
add_subdirectory(q_io)
endif()
if (Q_BUILD_EXAMPLES)
add_subdirectory(example)
endif()
if (Q_BUILD_TEST)
add_subdirectory(test)
endif()