CMakeLists.txt 1.01 KB
Newer Older
Guilhem Saurel's avatar
Guilhem Saurel committed
1
# Copyright 2015, 2020 CNRS-LAAS
Joseph Mirabel's avatar
Joseph Mirabel committed
2
#
Guilhem Saurel's avatar
Guilhem Saurel committed
3
# Authors: Joseph Mirabel, Guilhem Saurel
Joseph Mirabel's avatar
Joseph Mirabel committed
4
5
#
# This file is part of hpp-wholebody-setp
Joseph Mirabel's avatar
Joseph Mirabel committed
6
# hpp-wholebody-step is free software: you can redistribute it and/or modify
Joseph Mirabel's avatar
Joseph Mirabel committed
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# hpp-wholebody-setp 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 General Lesser Public License for more details.
# You should have received a copy of the GNU Lesser General Public License
# along with hpp-wholebody-setp  If not, see <http://www.gnu.org/licenses/>.

# Make Boost.Test generates the main function in test cases.
ADD_DEFINITIONS(-DBOOST_TEST_DYN_LINK -DBOOST_TEST_MAIN)

21
ADD_UNIT_TEST(romeo-small romeo-small.cc)
22
TARGET_LINK_LIBRARIES(romeo-small Boost::unit_test_framework ${PROJECT_NAME})