Skip to content
Snippets Groups Projects
Commit 809b4da4 authored by Rainer Kartmann's avatar Rainer Kartmann
Browse files

Add library RobotAPIArmarXObjects

parent 68e8aedf
No related branches found
No related tags found
1 merge request!72ObjectPoseObserver
/*
* This file is part of ArmarX.
*
* ArmarX is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* ArmarX 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 Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* @package RobotAPI::ArmarXObjects::ArmarXObjects
* @author Rainer Kartmann ( rainer dot kartmann at kit dot edu )
* @date 2020
* @copyright http://www.gnu.org/licenses/gpl-2.0.txt
* GNU General Public License
*/
#include "ArmarXObjects.h"
namespace armarx
{
}
/*
* This file is part of ArmarX.
*
* ArmarX is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* ArmarX 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 Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* @package RobotAPI::ArmarXObjects::ArmarXObjects
* @author Rainer Kartmann ( rainer dot kartmann at kit dot edu )
* @date 2020
* @copyright http://www.gnu.org/licenses/gpl-2.0.txt
* GNU General Public License
*/
#pragma once
namespace armarx
{
}
set(LIB_NAME ${PROJECT_NAME}ArmarXObjects)
armarx_component_set_name("${LIB_NAME}")
armarx_set_target("Library: ${LIB_NAME}")
set(LIBS
ArmarXCoreInterfaces ArmarXCore
)
set(LIB_FILES
ArmarXObjects.cpp
ObjectFinder.cpp
ObjectInfo.cpp
)
set(LIB_HEADERS
ArmarXObjects.h
ObjectFinder.h
ObjectInfo.h
)
armarx_add_library("${LIB_NAME}" "${LIB_FILES}" "${LIB_HEADERS}" "${LIBS}")
#find_package(MyLib QUIET)
#armarx_build_if(MyLib_FOUND "MyLib not available")
# all target_include_directories must be guarded by if(Xyz_FOUND)
# for multiple libraries write: if(X_FOUND AND Y_FOUND)....
#if(MyLib_FOUND)
# target_include_directories(ArmarXObjects PUBLIC ${MyLib_INCLUDE_DIRS})
#endif()
# add unit tests
add_subdirectory(test)
/*
* This file is part of ArmarX.
*
* ArmarX is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* ArmarX 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 Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* @package RobotAPI::ArmarXObjects::ArmarXObjects
* @author Rainer Kartmann ( rainer dot kartmann at kit dot edu )
* @date 2020
* @copyright http://www.gnu.org/licenses/gpl-2.0.txt
* GNU General Public License
*/
#define BOOST_TEST_MODULE RobotAPI::ArmarXLibraries::ArmarXObjects
#define ARMARX_BOOST_TEST
#include <RobotAPI/Test.h>
#include "../ArmarXObjects.h"
#include <iostream>
BOOST_AUTO_TEST_CASE(testExample)
{
BOOST_CHECK_EQUAL(true, true);
}
# Libs required for the tests
SET(LIBS ${LIBS} ArmarXCore ${LIB_NAME})
armarx_add_test(ArmarXObjectsTest ArmarXObjectsTest.cpp "${LIBS}")
add_subdirectory(ArmarXEtherCAT)
add_subdirectory(ArmarXObjects)
add_subdirectory(ControllerUIUtility)
add_subdirectory(core)
add_subdirectory(DebugDrawerConfigWidget)
......@@ -12,8 +13,9 @@ add_subdirectory(RobotStatechartHelpers)
add_subdirectory(SimpleJsonLogger)
add_subdirectory(SimpleTrajectory)
add_subdirectory(widgets)
add_subdirectory(natik)
add_subdirectory(aron)
add_subdirectory(diffik)
add_subdirectory(natik)
add_subdirectory(armem)
add_subdirectory(aron)
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