-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCMakeLists.txt
More file actions
44 lines (39 loc) · 817 Bytes
/
Copy pathCMakeLists.txt
File metadata and controls
44 lines (39 loc) · 817 Bytes
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
cmake_minimum_required(VERSION 3.25)
project(ros
VERSION 0.2.1
LANGUAGES CXX
DESCRIPTION
"A header-only C++ library that provides safe
and optimized register operations.")
add_library(ros INTERFACE)
if(NOT DEFINED CMAKE_CXX_STANDARD)
set(CMAKE_CXX_STANDARD 20)
endif()
target_sources(
ros
INTERFACE FILE_SET
ros
TYPE
HEADERS
BASE_DIRS
include
FILES
include/ros.hpp
include/ros/access.hpp
include/ros/concepts.hpp
include/ros/error.hpp
include/ros/filter.hpp
include/ros/operations.hpp
include/ros/reg.hpp
include/ros/eval.hpp
include/ros/constant.hpp
include/ros/field.hpp
include/ros/literals.hpp
include/ros/reflection.hpp
include/ros/type_traits.hpp
include/ros/utils.hpp)
if(PROJECT_IS_TOP_LEVEL)
add_subdirectory(test)
else()
add_subdirectory(include)
endif()