CMakeLists.txt 1.61 KB
Newer Older
Thomas Moulard's avatar
Thomas Moulard committed
1
2
# Copyright 2010, François Bleibel, Olivier Stasse, JRL, CNRS/AIST
#
3
4
# This file is part of sot-dynamic-pinocchio.
# sot-dynamic-pinocchio is free software: you can redistribute it and/or
Thomas Moulard's avatar
Thomas Moulard committed
5
6
7
8
# modify 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.
#
9
# sot-dynamic-pinocchio is distributed in the hope that it will be useful, but
Thomas Moulard's avatar
Thomas Moulard committed
10
11
12
13
# 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
14
# sot-dynamic-pinocchio. If not, see <http://www.gnu.org/licenses/>.
15
16

SET(${PROJECT_NAME}_HEADERS
17
	dynamic-pinocchio.h
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
	integrator-force-exact.h
	zmpreffromcom.h
	integrator-force.h
	force-compensation.h
	mass-apparent.h
	waist-attitude-from-sensor.h
	matrix-inertia.h
	integrator-force-rk4.h
	angle-estimator.h
)

# Recreate correct path for the headers
#--------------------------------------

SET(fullpath_${PROJECT_NAME}_HEADERS)
FOREACH(lHeader ${${PROJECT_NAME}_HEADERS})
Thomas Moulard's avatar
Thomas Moulard committed
34
  SET(fullpath_${PROJECT_NAME}_HEADERS
35
36
37
38
39
40
41
42
43
44
    ${fullpath_${PROJECT_NAME}_HEADERS}
    ./${PROJECT_NAME}/${lHeader}
  )

ENDFOREACH(lHeader)

#----------------------------------------------------
# Install procedure for the header files
#----------------------------------------------------
INSTALL(FILES ${fullpath_${PROJECT_NAME}_HEADERS}
45
	DESTINATION include/${PROJECT_NAME}
46
47
        PERMISSIONS OWNER_READ GROUP_READ WORLD_READ OWNER_WRITE
)