Skip to content

Commit

Permalink
enables to use RelWithDebInfo
Browse files Browse the repository at this point in the history
  • Loading branch information
fkanehiro committed May 26, 2016
1 parent c3bf59b commit 18a2adc
Show file tree
Hide file tree
Showing 65 changed files with 126 additions and 126 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ if(COMPILE_JAVA_STUFF)
set(javac_flags -target ${Java_VERSION_MAJOR}.${Java_VERSION_MINOR} -d . -sourcepath src)
endif()

if(NOT CMAKE_BUILD_TYPE OR CMAKE_BUILD_TYPE STREQUAL None OR CMAKE_BUILD_TYPE STREQUAL RelWithDebInfo)
if(NOT CMAKE_BUILD_TYPE OR CMAKE_BUILD_TYPE STREQUAL None)
set(
CMAKE_BUILD_TYPE Release CACHE STRING
"Choose the type of build, options are: None Debug Release RelWithDebInfo MinSizeRel."
Expand Down
4 changes: 2 additions & 2 deletions ec/hrpEC/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ endif()
set_target_properties(hrpEC PROPERTIES PREFIX "")

install(TARGETS ${target}
RUNTIME DESTINATION bin CONFIGURATIONS Release Debug
LIBRARY DESTINATION lib CONFIGURATIONS Release Debug
RUNTIME DESTINATION bin
LIBRARY DESTINATION lib
)


2 changes: 1 addition & 1 deletion idl/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ add_library(${target} SHARED ${sources})
target_link_libraries(${target} ${OPENRTM_LIBRARIES})

install(TARGETS ${target}
LIBRARY DESTINATION lib CONFIGURATIONS Release Debug
LIBRARY DESTINATION lib
)

if(COMPILE_JAVA_STUFF)
Expand Down
4 changes: 2 additions & 2 deletions lib/io/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ option(INSTALL_HRPIO "Install dummy implementation of hrpIo" ON)

if(INSTALL_HRPIO)
install(TARGETS ${target}
RUNTIME DESTINATION bin CONFIGURATIONS Release Debug
LIBRARY DESTINATION lib CONFIGURATIONS Release Debug
RUNTIME DESTINATION bin
LIBRARY DESTINATION lib
)
endif()

Expand Down
4 changes: 2 additions & 2 deletions lib/util/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ target_link_libraries(hrpsysUtil
set(target hrpsysUtil)

install(TARGETS ${target}
RUNTIME DESTINATION bin CONFIGURATIONS Release Debug
LIBRARY DESTINATION lib CONFIGURATIONS Release Debug
RUNTIME DESTINATION bin
LIBRARY DESTINATION lib
)

install(FILES ${headers} DESTINATION include/hrpsys/util)
Expand Down
4 changes: 2 additions & 2 deletions rtc/AccelerationChecker/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ target_link_libraries(AccelerationCheckerComp ${libs})
set(target AccelerationChecker AccelerationCheckerComp)

install(TARGETS ${target}
RUNTIME DESTINATION bin CONFIGURATIONS Release Debug
LIBRARY DESTINATION lib CONFIGURATIONS Release Debug
RUNTIME DESTINATION bin
LIBRARY DESTINATION lib
)
4 changes: 2 additions & 2 deletions rtc/AutoBalancer/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ add_test(testGaitGeneratorTest11 testGaitGenerator --test11 --use-gnuplot false)
add_test(testGaitGeneratorTest12 testGaitGenerator --test12 --use-gnuplot false)

install(TARGETS ${target}
RUNTIME DESTINATION bin CONFIGURATIONS Release Debug
LIBRARY DESTINATION lib CONFIGURATIONS Release Debug
RUNTIME DESTINATION bin
LIBRARY DESTINATION lib
)

4 changes: 2 additions & 2 deletions rtc/AverageFilter/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ target_link_libraries(AverageFilterComp ${libs})
set(target AverageFilter AverageFilterComp)

install(TARGETS ${target}
RUNTIME DESTINATION bin CONFIGURATIONS Release Debug
LIBRARY DESTINATION lib CONFIGURATIONS Release Debug
RUNTIME DESTINATION bin
LIBRARY DESTINATION lib
)
4 changes: 2 additions & 2 deletions rtc/Beeper/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ target_link_libraries(BeeperComp ${libs})
set(target Beeper BeeperComp)

install(TARGETS ${target}
RUNTIME DESTINATION bin CONFIGURATIONS Release Debug
LIBRARY DESTINATION lib CONFIGURATIONS Release Debug
RUNTIME DESTINATION bin
LIBRARY DESTINATION lib
)
4 changes: 2 additions & 2 deletions rtc/CameraImageLoader/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ target_link_libraries(CameraImageLoaderComp ${libs})
set(target CameraImageLoader CameraImageLoaderComp)

install(TARGETS ${target}
RUNTIME DESTINATION bin CONFIGURATIONS Release Debug
LIBRARY DESTINATION lib CONFIGURATIONS Release Debug
RUNTIME DESTINATION bin
LIBRARY DESTINATION lib
)
4 changes: 2 additions & 2 deletions rtc/CameraImageViewer/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ target_link_libraries(CameraImageViewerComp ${libs})
set(target CameraImageViewer CameraImageViewerComp)

install(TARGETS ${target}
RUNTIME DESTINATION bin CONFIGURATIONS Release Debug
LIBRARY DESTINATION lib CONFIGURATIONS Release Debug
RUNTIME DESTINATION bin
LIBRARY DESTINATION lib
)
4 changes: 2 additions & 2 deletions rtc/CaptureController/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ target_link_libraries(CaptureControllerComp ${libs})
set(target CaptureController CaptureControllerComp)

install(TARGETS ${target}
RUNTIME DESTINATION bin CONFIGURATIONS Release Debug
LIBRARY DESTINATION lib CONFIGURATIONS Release Debug
RUNTIME DESTINATION bin
LIBRARY DESTINATION lib
)
4 changes: 2 additions & 2 deletions rtc/CollisionDetector/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,6 @@ else()
endif()

install(TARGETS ${target}
RUNTIME DESTINATION bin CONFIGURATIONS Release Debug
LIBRARY DESTINATION lib CONFIGURATIONS Release Debug
RUNTIME DESTINATION bin
LIBRARY DESTINATION lib
)
4 changes: 2 additions & 2 deletions rtc/DataLogger/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ else()
endif()

install(TARGETS ${target}
RUNTIME DESTINATION bin CONFIGURATIONS Release Debug
LIBRARY DESTINATION lib CONFIGURATIONS Release Debug
RUNTIME DESTINATION bin
LIBRARY DESTINATION lib
)

4 changes: 2 additions & 2 deletions rtc/EmergencyStopper/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ target_link_libraries(EmergencyStopperComp ${libs})
set(target EmergencyStopper EmergencyStopperComp)

install(TARGETS ${target}
RUNTIME DESTINATION bin CONFIGURATIONS Release Debug
LIBRARY DESTINATION lib CONFIGURATIONS Release Debug
RUNTIME DESTINATION bin
LIBRARY DESTINATION lib
)
4 changes: 2 additions & 2 deletions rtc/ExtractCameraImage/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ target_link_libraries(ExtractCameraImageComp ${libs})
set(target ExtractCameraImage ExtractCameraImageComp)

install(TARGETS ${target}
RUNTIME DESTINATION bin CONFIGURATIONS Release Debug
LIBRARY DESTINATION lib CONFIGURATIONS Release Debug
RUNTIME DESTINATION bin
LIBRARY DESTINATION lib
)
4 changes: 2 additions & 2 deletions rtc/ForwardKinematics/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ target_link_libraries(ForwardKinematicsComp ${libs})
set(target ForwardKinematics ForwardKinematicsComp)

install(TARGETS ${target}
RUNTIME DESTINATION bin CONFIGURATIONS Release Debug
LIBRARY DESTINATION lib CONFIGURATIONS Release Debug
RUNTIME DESTINATION bin
LIBRARY DESTINATION lib
)
4 changes: 2 additions & 2 deletions rtc/GraspController/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ target_link_libraries(GraspControllerComp ${libs})
set(target GraspController GraspControllerComp)

install(TARGETS ${target}
RUNTIME DESTINATION bin CONFIGURATIONS Release Debug
LIBRARY DESTINATION lib CONFIGURATIONS Release Debug
RUNTIME DESTINATION bin
LIBRARY DESTINATION lib
)
4 changes: 2 additions & 2 deletions rtc/HGcontroller/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ target_link_libraries(HGcontrollerComp ${OPENRTM_LIBRARIES})
set(target HGcontroller HGcontrollerComp)

install(TARGETS ${target}
RUNTIME DESTINATION bin CONFIGURATIONS Release Debug
LIBRARY DESTINATION lib CONFIGURATIONS Release Debug
RUNTIME DESTINATION bin
LIBRARY DESTINATION lib
)
4 changes: 2 additions & 2 deletions rtc/ImageData2CameraImage/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ target_link_libraries(ImageData2CameraImageComp ${libs})
set(target ImageData2CameraImage ImageData2CameraImageComp)

install(TARGETS ${target}
RUNTIME DESTINATION bin CONFIGURATIONS Release Debug
LIBRARY DESTINATION lib CONFIGURATIONS Release Debug
RUNTIME DESTINATION bin
LIBRARY DESTINATION lib
)
4 changes: 2 additions & 2 deletions rtc/ImpedanceController/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ add_test(testImpedanceOutputGeneratorTest0 testImpedanceOutputGenerator --test0
add_test(testImpedanceOutputGeneratorTest1 testImpedanceOutputGenerator --test1 --use-gnuplot false)

install(TARGETS ${target}
RUNTIME DESTINATION bin CONFIGURATIONS Release Debug
LIBRARY DESTINATION lib CONFIGURATIONS Release Debug
RUNTIME DESTINATION bin
LIBRARY DESTINATION lib
)

4 changes: 2 additions & 2 deletions rtc/Joystick/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ target_link_libraries(JoystickComp ${OPENRTM_LIBRARIES} ${js_lib})
set(target Joystick JoystickComp)

install(TARGETS ${target}
RUNTIME DESTINATION bin CONFIGURATIONS Release Debug
LIBRARY DESTINATION lib CONFIGURATIONS Release Debug
RUNTIME DESTINATION bin
LIBRARY DESTINATION lib
)
4 changes: 2 additions & 2 deletions rtc/Joystick2PanTiltAngles/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ target_link_libraries(Joystick2PanTiltAnglesComp ${OPENRTM_LIBRARIES})
set(target Joystick2PanTiltAngles Joystick2PanTiltAnglesComp)

install(TARGETS ${target}
RUNTIME DESTINATION bin CONFIGURATIONS Release Debug
LIBRARY DESTINATION lib CONFIGURATIONS Release Debug
RUNTIME DESTINATION bin
LIBRARY DESTINATION lib
)
4 changes: 2 additions & 2 deletions rtc/Joystick2Velocity2D/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ target_link_libraries(Joystick2Velocity2DComp ${OPENRTM_LIBRARIES})
set(target Joystick2Velocity2D Joystick2Velocity2DComp)

install(TARGETS ${target}
RUNTIME DESTINATION bin CONFIGURATIONS Release Debug
LIBRARY DESTINATION lib CONFIGURATIONS Release Debug
RUNTIME DESTINATION bin
LIBRARY DESTINATION lib
)
4 changes: 2 additions & 2 deletions rtc/Joystick2Velocity3D/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ target_link_libraries(Joystick2Velocity3DComp ${OPENRTM_LIBRARIES})
set(target Joystick2Velocity3D Joystick2Velocity3DComp)

install(TARGETS ${target}
RUNTIME DESTINATION bin CONFIGURATIONS Release Debug
LIBRARY DESTINATION lib CONFIGURATIONS Release Debug
RUNTIME DESTINATION bin
LIBRARY DESTINATION lib
)
4 changes: 2 additions & 2 deletions rtc/JpegDecoder/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ target_link_libraries(JpegDecoderComp ${libs})
set(target JpegDecoder JpegDecoderComp)

install(TARGETS ${target}
RUNTIME DESTINATION bin CONFIGURATIONS Release Debug
LIBRARY DESTINATION lib CONFIGURATIONS Release Debug
RUNTIME DESTINATION bin
LIBRARY DESTINATION lib
)
4 changes: 2 additions & 2 deletions rtc/JpegEncoder/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ target_link_libraries(JpegEncoderComp ${libs})
set(target JpegEncoder JpegEncoderComp)

install(TARGETS ${target}
RUNTIME DESTINATION bin CONFIGURATIONS Release Debug
LIBRARY DESTINATION lib CONFIGURATIONS Release Debug
RUNTIME DESTINATION bin
LIBRARY DESTINATION lib
)
4 changes: 2 additions & 2 deletions rtc/KalmanFilter/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@ target_link_libraries(testKalmanFilterEstimation ${libs})
set(target KalmanFilter KalmanFilterComp testKalmanFilterEstimation)

install(TARGETS ${target}
RUNTIME DESTINATION bin CONFIGURATIONS Release Debug
LIBRARY DESTINATION lib CONFIGURATIONS Release Debug
RUNTIME DESTINATION bin
LIBRARY DESTINATION lib
)
4 changes: 2 additions & 2 deletions rtc/MLSFilter/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ target_link_libraries(MLSFilterComp ${libs})
set(target MLSFilter MLSFilterComp)

install(TARGETS ${target}
RUNTIME DESTINATION bin CONFIGURATIONS Release Debug
LIBRARY DESTINATION lib CONFIGURATIONS Release Debug
RUNTIME DESTINATION bin
LIBRARY DESTINATION lib
)
4 changes: 2 additions & 2 deletions rtc/NullComponent/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ target_link_libraries(NullComponentComp ${libs})
set(target NullComponent NullComponentComp)

install(TARGETS ${target}
RUNTIME DESTINATION bin CONFIGURATIONS Release Debug
LIBRARY DESTINATION lib CONFIGURATIONS Release Debug
RUNTIME DESTINATION bin
LIBRARY DESTINATION lib
)
4 changes: 2 additions & 2 deletions rtc/OGMap3DViewer/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ target_link_libraries(OGMap3DViewerComp ${libs})
set(target OGMap3DViewer OGMap3DViewerComp)

install(TARGETS ${target}
RUNTIME DESTINATION bin CONFIGURATIONS Release Debug
LIBRARY DESTINATION lib CONFIGURATIONS Release Debug
RUNTIME DESTINATION bin
LIBRARY DESTINATION lib
)
4 changes: 2 additions & 2 deletions rtc/OccupancyGridMap3D/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ target_link_libraries(OccupancyGridMap3DComp ${libs})
set(target OccupancyGridMap3D OccupancyGridMap3DComp)

install(TARGETS ${target}
RUNTIME DESTINATION bin CONFIGURATIONS Release Debug
LIBRARY DESTINATION lib CONFIGURATIONS Release Debug
RUNTIME DESTINATION bin
LIBRARY DESTINATION lib
)
4 changes: 2 additions & 2 deletions rtc/PCDLoader/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ target_link_libraries(PCDLoaderComp ${libs})
set(target PCDLoader PCDLoaderComp)

install(TARGETS ${target}
RUNTIME DESTINATION bin CONFIGURATIONS Release Debug
LIBRARY DESTINATION lib CONFIGURATIONS Release Debug
RUNTIME DESTINATION bin
LIBRARY DESTINATION lib
)
4 changes: 2 additions & 2 deletions rtc/PDcontroller/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ target_link_libraries(PDcontrollerComp ${libs})
set(target PDcontroller PDcontrollerComp)

install(TARGETS ${target}
RUNTIME DESTINATION bin CONFIGURATIONS Release Debug
LIBRARY DESTINATION lib CONFIGURATIONS Release Debug
RUNTIME DESTINATION bin
LIBRARY DESTINATION lib
)
4 changes: 2 additions & 2 deletions rtc/PlaneRemover/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ target_link_libraries(PlaneRemoverComp ${libs})
set(target PlaneRemover PlaneRemoverComp)

install(TARGETS ${target}
RUNTIME DESTINATION bin CONFIGURATIONS Release Debug
LIBRARY DESTINATION lib CONFIGURATIONS Release Debug
RUNTIME DESTINATION bin
LIBRARY DESTINATION lib
)
4 changes: 2 additions & 2 deletions rtc/RGB2Gray/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ target_link_libraries(RGB2GrayComp ${libs})
set(target RGB2Gray RGB2GrayComp)

install(TARGETS ${target}
RUNTIME DESTINATION bin CONFIGURATIONS Release Debug
LIBRARY DESTINATION lib CONFIGURATIONS Release Debug
RUNTIME DESTINATION bin
LIBRARY DESTINATION lib
)
4 changes: 2 additions & 2 deletions rtc/Range2PointCloud/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ target_link_libraries(Range2PointCloudComp ${libs})
set(target Range2PointCloud Range2PointCloudComp)

install(TARGETS ${target}
RUNTIME DESTINATION bin CONFIGURATIONS Release Debug
LIBRARY DESTINATION lib CONFIGURATIONS Release Debug
RUNTIME DESTINATION bin
LIBRARY DESTINATION lib
)
4 changes: 2 additions & 2 deletions rtc/RangeDataViewer/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ target_link_libraries(RangeDataViewerComp ${libs})
set(target RangeDataViewer RangeDataViewerComp)

install(TARGETS ${target}
RUNTIME DESTINATION bin CONFIGURATIONS Release Debug
LIBRARY DESTINATION lib CONFIGURATIONS Release Debug
RUNTIME DESTINATION bin
LIBRARY DESTINATION lib
)
4 changes: 2 additions & 2 deletions rtc/RangeNoiseMixer/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ target_link_libraries(RangeNoiseMixerComp ${libs})
set(target RangeNoiseMixer RangeNoiseMixerComp)

install(TARGETS ${target}
RUNTIME DESTINATION bin CONFIGURATIONS Release Debug
LIBRARY DESTINATION lib CONFIGURATIONS Release Debug
RUNTIME DESTINATION bin
LIBRARY DESTINATION lib
)
4 changes: 2 additions & 2 deletions rtc/ReferenceForceUpdater/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ target_link_libraries(ReferenceForceUpdaterComp ${libs})
set(target ReferenceForceUpdater ReferenceForceUpdaterComp)

install(TARGETS ${target}
RUNTIME DESTINATION bin CONFIGURATIONS Release Debug
LIBRARY DESTINATION lib CONFIGURATIONS Release Debug
RUNTIME DESTINATION bin
LIBRARY DESTINATION lib
)
4 changes: 2 additions & 2 deletions rtc/RemoveForceSensorLinkOffset/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ target_link_libraries(RemoveForceSensorLinkOffsetComp ${libs})
set(target RemoveForceSensorLinkOffset RemoveForceSensorLinkOffsetComp)

install(TARGETS ${target}
RUNTIME DESTINATION bin CONFIGURATIONS Release Debug
LIBRARY DESTINATION lib CONFIGURATIONS Release Debug
RUNTIME DESTINATION bin
LIBRARY DESTINATION lib
)
4 changes: 2 additions & 2 deletions rtc/ResizeImage/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ target_link_libraries(ResizeImageComp ${libs})
set(target ResizeImage ResizeImageComp)

install(TARGETS ${target}
RUNTIME DESTINATION bin CONFIGURATIONS Release Debug
LIBRARY DESTINATION lib CONFIGURATIONS Release Debug
RUNTIME DESTINATION bin
LIBRARY DESTINATION lib
)
4 changes: 2 additions & 2 deletions rtc/RobotHardware/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ target_link_libraries(RobotHardwareComp ${libs})
set(target RobotHardware RobotHardwareComp)

install(TARGETS ${target}
RUNTIME DESTINATION bin CONFIGURATIONS Release Debug
LIBRARY DESTINATION lib CONFIGURATIONS Release Debug
RUNTIME DESTINATION bin
LIBRARY DESTINATION lib
)

Loading

0 comments on commit 18a2adc

Please sign in to comment.