-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
28 lines (19 loc) · 1.11 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
# +====================================================================+
# | Open MObile Robot Architecture (MORA) |
# | |
# | https://github.com/OpenMORA |
# | |
# | Copyright individual authors (C) 2010-14 - See AUTHORS.txt |
# | Project released under BSD License |
# +====================================================================+
set(CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS true) # Simpler CMake syntax.
CMAKE_MINIMUM_REQUIRED(VERSION 2.8.11) # Minimum version required by MOOS v10 cfg files
PROJECT(viz_pkg)
cmake_policy(SET CMP0003 NEW) # Don't mix rel & abs lib paths
cmake_policy(SET CMP0005 NEW) # Autoescape -D definitions
FIND_PACKAGE(MORA REQUIRED) # Import MOOS vars, MORA CMake macros,etc.
MORA_COMMON_CMAKE() # Set common CMake options
# Additional libs:
add_subdirectory("3rdparty")
# Add modules (dir names match modules' by default)
DEFINE_MORA_PROGRAM(RobotGUI)