Skip to content
Snippets Groups Projects
Commit 7e11d989 authored by Manfred Kröhnert's avatar Manfred Kröhnert
Browse files

cmake: replace deprecated armarc_component_add_executable() with armarx_add_component_executable()

parent 0fb6db9c
No related branches found
No related tags found
No related merge requests found
......@@ -20,9 +20,7 @@ armarx_build_if(ArmarXCoreObservers_ENABLED "ArmarXCoreObservers library disable
if (ARMARX_BUILD)
set(COMPONENT_LIBS RobotAPIUnits RobotAPICore RobotAPIInterfaces ArmarXInterfaces ArmarXCore ArmarXCoreObservers ArmarXCoreRemoteRobot)
set(SOURCES "")
set(HEADERS ForceTorqueObserverApp.h)
armarx_component_add_executable("${SOURCES}" "${HEADERS}")
set(SOURCES ForceTorqueObserverApp.h)
armarx_add_component_executable("${SOURCES}")
endif()
......@@ -20,9 +20,7 @@ armarx_build_if(ArmarXCoreObservers_ENABLED "ArmarXCoreObservers library disable
if (ARMARX_BUILD)
set(COMPONENT_LIBS MotionControl RobotAPICore ArmarXInterfaces ArmarXCore ArmarXCoreObservers ArmarXCoreRobotStateComponent ArmarXCoreStatechart ArmarXCoreOperations)
set(SOURCES "")
set(HEADERS MotionControlApp.h)
armarx_component_add_executable("${SOURCES}" "${HEADERS}")
set(SOURCES MotionControlApp.h)
armarx_add_component_executable("${SOURCES}")
endif()
......@@ -22,9 +22,7 @@ if (ARMARX_BUILD)
include_directories(${Simox_INCLUDE_DIRS})
set(COMPONENT_LIBS MotionControl RobotAPICore ArmarXInterfaces ArmarXCore ArmarXCoreObservers ArmarXCoreRobotStateComponent ArmarXCoreStatechart ArmarXCoreOperations ${Simox_LIBRARIES})
set(SOURCES "")
set(HEADERS MotionControlTestApp.h)
armarx_component_add_executable("${SOURCES}" "${HEADERS}")
set(SOURCES MotionControlTestApp.h)
armarx_add_component_executable("${SOURCES}")
endif()
......@@ -22,9 +22,7 @@ if (ARMARX_BUILD)
include_directories(${Simox_INCLUDE_DIRS})
set(COMPONENT_LIBS RobotAPIUnits RobotAPICore RobotAPIInterfaces ArmarXInterfaces ArmarXCore ArmarXCoreObservers ArmarXCoreRemoteRobot ${Simox_LIBRARIES})
set(SOURCES "")
set(HEADERS TCPControlUnitApp.h)
armarx_component_add_executable("${SOURCES}" "${HEADERS}")
set(SOURCES TCPControlUnitApp.h)
armarx_add_component_executable("${SOURCES}")
endif()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment