forked from sccn/labstreaminglayer
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCMakeLists.txt
More file actions
22 lines (18 loc) · 782 Bytes
/
CMakeLists.txt
File metadata and controls
22 lines (18 loc) · 782 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
cmake_minimum_required(VERSION 3.12)
project(LabStreamingLayer
VERSION 1.13.0
LANGUAGES CXX)
if(NOT EXISTS "${CMAKE_CURRENT_LIST_DIR}/LSL/liblsl/CMakeLists.txt")
message(FATAL_ERROR "LSL/liblsl doesn't contain CMakeLists.txt.
Did you check out the liblsl submodule? For more information, see see
https://github.com/sccn/labstreaminglayer/blob/master/doc/Working-with-the-repository.md")
endif()
# add the liblsl build directory
add_subdirectory(LSL/liblsl)
# find liblsl in the current build dir
set(LSL_INSTALL_ROOT "${CMAKE_BINARY_DIR}/LSL/liblsl")
# include the Apps directory which defines options, which Apps will be built
# and includes their build configurations
add_subdirectory(Apps)
# Generate packaging config for LSL and all built apps
LSLGenerateCPackConfig()