hiep fix
This commit is contained in:
parent
5bdd606fff
commit
5575a50a32
|
|
@ -1,5 +1,5 @@
|
|||
cmake_minimum_required(VERSION 3.10)
|
||||
project(xmlrpcpp)
|
||||
project(robot_xmlrpcpp)
|
||||
|
||||
set(CMAKE_CXX_STANDARD 17)
|
||||
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
||||
|
|
@ -9,7 +9,7 @@ if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang")
|
|||
add_compile_options(-Wall -Wextra -Wpedantic -fPIC)
|
||||
endif()
|
||||
|
||||
add_library(xmlrpcpp
|
||||
add_library(robot_xmlrpcpp
|
||||
src/XmlRpcClient.cpp
|
||||
src/XmlRpcDispatch.cpp
|
||||
src/XmlRpcServer.cpp
|
||||
|
|
@ -21,15 +21,15 @@ add_library(xmlrpcpp
|
|||
src/XmlRpcValue.cpp
|
||||
)
|
||||
|
||||
target_include_directories(xmlrpcpp
|
||||
target_include_directories(robot_xmlrpcpp
|
||||
PUBLIC
|
||||
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
|
||||
$<INSTALL_INTERFACE:include/${PROJECT_NAME}>
|
||||
)
|
||||
|
||||
# --- Cài đặt thư viện vào hệ thống khi chạy make install ---
|
||||
install(TARGETS xmlrpcpp
|
||||
EXPORT xmlrpcpp-targets
|
||||
install(TARGETS robot_xmlrpcpp
|
||||
EXPORT robot_xmlrpcpp-targets
|
||||
ARCHIVE DESTINATION lib # Thư viện tĩnh .a
|
||||
LIBRARY DESTINATION lib # Thư viện động .so
|
||||
RUNTIME DESTINATION bin # File thực thi (nếu có)
|
||||
|
|
@ -41,13 +41,13 @@ install(
|
|||
DESTINATION include/
|
||||
)
|
||||
|
||||
# --- Xuất export set xmlrpcpp-targets thành file CMake module ---
|
||||
# --- Tạo file lib/cmake/xmlrpcpp/xmlrpcpp-targets.cmake ---
|
||||
# --- Xuất export set robot_xmlrpcpp-targets thành file CMake module ---
|
||||
# --- Tạo file lib/cmake/robot_xmlrpcpp/robot_xmlrpcpp-targets.cmake ---
|
||||
# --- File này chứa cấu hình giúp project khác có thể dùng ---
|
||||
# --- Find_package(xmlrpcpp REQUIRED) ---
|
||||
# --- Target_link_libraries(my_app PRIVATE xmlrpcpp::xmlrpcpp) ---
|
||||
install(EXPORT xmlrpcpp-targets
|
||||
FILE xmlrpcpp-targets.cmake
|
||||
NAMESPACE xmlrpcpp::
|
||||
DESTINATION lib/cmake/xmlrpcpp
|
||||
# --- Find_package(robot_xmlrpcpp REQUIRED) ---
|
||||
# --- Target_link_libraries(my_app PRIVATE robot_xmlrpcpp::robot_xmlrpcpp) ---
|
||||
install(EXPORT robot_xmlrpcpp-targets
|
||||
FILE robot_xmlrpcpp-targets.cmake
|
||||
NAMESPACE robot_xmlrpcpp::
|
||||
DESTINATION lib/cmake/robot_xmlrpcpp
|
||||
)
|
||||
|
|
|
|||
|
|
@ -13,8 +13,8 @@
|
|||
# include <string>
|
||||
#endif
|
||||
|
||||
#include "xmlrpcpp/XmlRpcDispatch.h"
|
||||
#include "xmlrpcpp/XmlRpcSource.h"
|
||||
#include "robot_xmlrpcpp/XmlRpcDispatch.h"
|
||||
#include "robot_xmlrpcpp/XmlRpcSource.h"
|
||||
|
||||
namespace robot {
|
||||
namespace XmlRpc {
|
||||
|
|
@ -13,8 +13,8 @@
|
|||
# include <string>
|
||||
#endif
|
||||
|
||||
#include "xmlrpcpp/XmlRpcDispatch.h"
|
||||
#include "xmlrpcpp/XmlRpcSource.h"
|
||||
#include "robot_xmlrpcpp/XmlRpcDispatch.h"
|
||||
#include "robot_xmlrpcpp/XmlRpcSource.h"
|
||||
|
||||
namespace robot {
|
||||
namespace XmlRpc {
|
||||
|
|
@ -11,8 +11,8 @@
|
|||
# include <string>
|
||||
#endif
|
||||
|
||||
#include "xmlrpcpp/XmlRpcValue.h"
|
||||
#include "xmlrpcpp/XmlRpcSource.h"
|
||||
#include "robot_xmlrpcpp/XmlRpcValue.h"
|
||||
#include "robot_xmlrpcpp/XmlRpcSource.h"
|
||||
|
||||
namespace robot {
|
||||
namespace XmlRpc {
|
||||
|
|
@ -1,9 +1,9 @@
|
|||
<package>
|
||||
<name>xmlrpcpp</name>
|
||||
<name>robot_xmlrpcpp</name>
|
||||
<version>0.7.10</version>
|
||||
<description>
|
||||
xmlrpcpp is the second generation of the transform library, which lets
|
||||
the user keep track of multiple coordinate frames over time. xmlrpcpp
|
||||
robot_xmlrpcpp is the second generation of the transform library, which lets
|
||||
the user keep track of multiple coordinate frames over time. robot_xmlrpcpp
|
||||
maintains the relationship between coordinate frames in a tree
|
||||
structure buffered in time, and lets the user transform points,
|
||||
vectors, etc between any two coordinate frames at any desired
|
||||
|
|
@ -15,7 +15,7 @@
|
|||
<maintainer email="tfoote@osrfoundation.org">Tully Foote</maintainer>
|
||||
<license>BSD</license>
|
||||
|
||||
<url type="website">http://www.ros.org/wiki/xmlrpcpp</url>
|
||||
<url type="website">http://www.ros.org/wiki/robot_xmlrpcpp</url>
|
||||
|
||||
<buildtool_depend version_gte="0.5.68">catkin</buildtool_depend>
|
||||
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
|
||||
#include "xmlrpcpp/XmlRpcClient.h"
|
||||
#include "robot_xmlrpcpp/XmlRpcClient.h"
|
||||
|
||||
#include "xmlrpcpp/XmlRpcSocket.h"
|
||||
#include "xmlrpcpp/XmlRpc.h"
|
||||
#include "robot_xmlrpcpp/XmlRpcSocket.h"
|
||||
#include "robot_xmlrpcpp/XmlRpc.h"
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
|
||||
#include "xmlrpcpp/XmlRpcDispatch.h"
|
||||
#include "xmlrpcpp/XmlRpcSource.h"
|
||||
#include "xmlrpcpp/XmlRpcUtil.h"
|
||||
#include "robot_xmlrpcpp/XmlRpcDispatch.h"
|
||||
#include "robot_xmlrpcpp/XmlRpcSource.h"
|
||||
#include "robot_xmlrpcpp/XmlRpcUtil.h"
|
||||
|
||||
#include <math.h>
|
||||
#include <sys/timeb.h>
|
||||
|
|
|
|||
|
|
@ -1,10 +1,10 @@
|
|||
|
||||
#include "xmlrpcpp/XmlRpcServer.h"
|
||||
#include "xmlrpcpp/XmlRpcServerConnection.h"
|
||||
#include "xmlrpcpp/XmlRpcServerMethod.h"
|
||||
#include "xmlrpcpp/XmlRpcSocket.h"
|
||||
#include "xmlrpcpp/XmlRpcUtil.h"
|
||||
#include "xmlrpcpp/XmlRpcException.h"
|
||||
#include "robot_xmlrpcpp/XmlRpcServer.h"
|
||||
#include "robot_xmlrpcpp/XmlRpcServerConnection.h"
|
||||
#include "robot_xmlrpcpp/XmlRpcServerMethod.h"
|
||||
#include "robot_xmlrpcpp/XmlRpcSocket.h"
|
||||
#include "robot_xmlrpcpp/XmlRpcUtil.h"
|
||||
#include "robot_xmlrpcpp/XmlRpcException.h"
|
||||
|
||||
|
||||
using namespace robot::XmlRpc;
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
|
||||
#include "xmlrpcpp/XmlRpcServerConnection.h"
|
||||
#include "robot_xmlrpcpp/XmlRpcServerConnection.h"
|
||||
|
||||
#include "xmlrpcpp/XmlRpcSocket.h"
|
||||
#include "xmlrpcpp/XmlRpc.h"
|
||||
#include "robot_xmlrpcpp/XmlRpcSocket.h"
|
||||
#include "robot_xmlrpcpp/XmlRpc.h"
|
||||
#ifndef MAKEDEPEND
|
||||
# include <stdio.h>
|
||||
# include <stdlib.h>
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
|
||||
#include "xmlrpcpp/XmlRpcServerMethod.h"
|
||||
#include "xmlrpcpp/XmlRpcServer.h"
|
||||
#include "robot_xmlrpcpp/XmlRpcServerMethod.h"
|
||||
#include "robot_xmlrpcpp/XmlRpcServer.h"
|
||||
|
||||
namespace robot {
|
||||
namespace XmlRpc {
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
|
||||
#include "xmlrpcpp/XmlRpcSocket.h"
|
||||
#include "xmlrpcpp/XmlRpcUtil.h"
|
||||
#include "robot_xmlrpcpp/XmlRpcSocket.h"
|
||||
#include "robot_xmlrpcpp/XmlRpcUtil.h"
|
||||
|
||||
#ifndef MAKEDEPEND
|
||||
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
|
||||
#include "xmlrpcpp/XmlRpcSource.h"
|
||||
#include "xmlrpcpp/XmlRpcSocket.h"
|
||||
#include "xmlrpcpp/XmlRpcUtil.h"
|
||||
#include "robot_xmlrpcpp/XmlRpcSource.h"
|
||||
#include "robot_xmlrpcpp/XmlRpcSocket.h"
|
||||
#include "robot_xmlrpcpp/XmlRpcUtil.h"
|
||||
|
||||
namespace robot {
|
||||
namespace XmlRpc {
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
|
||||
#include "xmlrpcpp/XmlRpcUtil.h"
|
||||
#include "robot_xmlrpcpp/XmlRpcUtil.h"
|
||||
|
||||
#ifndef MAKEDEPEND
|
||||
# include <ctype.h>
|
||||
|
|
@ -9,7 +9,7 @@
|
|||
# include <string.h>
|
||||
#endif
|
||||
|
||||
#include "xmlrpcpp/XmlRpc.h"
|
||||
#include "robot_xmlrpcpp/XmlRpc.h"
|
||||
|
||||
using namespace robot::XmlRpc;
|
||||
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
|
||||
#include "xmlrpcpp/XmlRpcValue.h"
|
||||
#include "xmlrpcpp/XmlRpcException.h"
|
||||
#include "xmlrpcpp/XmlRpcUtil.h"
|
||||
#include "xmlrpcpp/base64.h"
|
||||
#include "robot_xmlrpcpp/XmlRpcValue.h"
|
||||
#include "robot_xmlrpcpp/XmlRpcException.h"
|
||||
#include "robot_xmlrpcpp/XmlRpcUtil.h"
|
||||
#include "robot_xmlrpcpp/base64.h"
|
||||
|
||||
#ifndef MAKEDEPEND
|
||||
# include <iostream>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user