-
Notifications
You must be signed in to change notification settings - Fork 2
/
CMakeLists.txt
32 lines (25 loc) · 1.04 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
28
29
30
31
32
#===============================================================================
#
# Copyright (C) 2019 Istituto Italiano di Tecnologia (IIT)
#
# This software may be modified and distributed under the terms of the
# GPL-2+ license. See the accompanying LICENSE file for details.
#
#===============================================================================
cmake_minimum_required(VERSION 3.5.1)
project(benchmark-manipulation)
# set reference c++ standard
set(CMAKE_CXX_STANDARD 11)
# Default build type to Release
if(NOT CMAKE_CONFIGURATION_TYPES)
if(NOT CMAKE_BUILD_TYPE)
message(STATUS "Setting build type to 'Release' as none was specified.")
set_property(CACHE CMAKE_BUILD_TYPE PROPERTY VALUE "Release")
endif()
endif()
include(GNUInstallDirs)
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/${CMAKE_INSTALL_BINDIR}")
# add Simox to the project.
# Environment variable Simox_DIR must be set to the build root directory of Simox in order for FIND_PACKAGE to work
find_package(Simox REQUIRED)
add_subdirectory(src)