-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathCMakeLists.txt
39 lines (33 loc) · 1.29 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
33
34
35
36
37
38
39
# ***************************************************************************
# Created: Mon 3 May 14:08:27 CEST 2021
#
# Copyright 2021 Till Hofmann <[email protected]>
# ****************************************************************************/
# This program is free software; you can redistribute it and/or modify it under
# the terms of the GNU General Public License as published by the Free Software
# Foundation; either version 2 of the License, or (at your option) any later
# version.
#
# This program is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
# FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more
# details.
#
# Read the full text in the LICENSE.md file.
#
cmake_minimum_required(VERSION 3.14)
project(gazebo-rcll)
include(GNUInstallDirs)
include(third_party/third_party.cmake)
set(USERDIR
".config/rcll/gazebo"
CACHE
PATH
"The directory for user config files, relative to the user's home directory"
)
set(CONFDIR
"${CMAKE_SOURCE_DIR}/cfg"
CACHE PATH "The directory where config files are stored")
add_compile_options(-g -Wall -Werror)
add_compile_options(-DUSERDIR="${USERDIR}" -DCONFDIR="${CONFDIR}")
add_subdirectory(plugins/src)