diff --git a/CMakeLists.txt b/CMakeLists.txt index ab323f7..5b334fe 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -8,7 +8,7 @@ endif() project( lebai - VERSION 1.1.27 + VERSION 1.1.28 LANGUAGES CXX) list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake") diff --git a/Doxyfile b/Doxyfile index e7b5bc7..d9f105f 100644 --- a/Doxyfile +++ b/Doxyfile @@ -38,7 +38,7 @@ PROJECT_NAME = "lebai sdk" # could be handy for archiving the generated documentation or if some version # control system is used. -PROJECT_NUMBER = 1.1.27 +PROJECT_NUMBER = 1.1.28 # Using the PROJECT_BRIEF tag one can provide an optional one line description # for a project that appears at the top of each page and should give viewer a diff --git a/doc/changelog.md b/doc/changelog.md index c860652..4571559 100644 --- a/doc/changelog.md +++ b/doc/changelog.md @@ -1,5 +1,8 @@ # ChangeLog +## 1.1.28 +修正c++安装包CMake Config的错误,添加使用文档。 + ## 1.1.27 调整构建。 diff --git a/doc/faq.md b/doc/faq.md index 281a19f..518d1ed 100644 --- a/doc/faq.md +++ b/doc/faq.md @@ -1,6 +1,17 @@ FAQ --------------------- +# 如果在CMake项目中使用lebai c++包开发。 + +1. 通过deb包或者源码安装。 +2. 创建您的CMake项目,在CMakeLists.txt中添加如下内容: + + ``` + find_package(lebai REQUIRED) + target_link_libraries(your_target_name lebai::lebai-cpp) + ``` + + # 机械臂界面上坐标系统中,Rz、Ry、Rx是如何定义的。 乐白机械臂界面的Rz,Rz,Rz表示机械臂姿态,是由EulerZYX确定的。 diff --git a/lebaiConfig.cmake.in b/lebaiConfig.cmake.in index 835df75..f307554 100644 --- a/lebaiConfig.cmake.in +++ b/lebaiConfig.cmake.in @@ -1,3 +1,3 @@ # lebai CMake configuration file -include("${CMAKE_CURRENT_LIST_DIR}/lebai-cppTargets.cmake") +include("${CMAKE_CURRENT_LIST_DIR}/lebaiTargets.cmake")