Skip to content

Commit

Permalink
fix: 修正CMake配置错误,完善文档
Browse files Browse the repository at this point in the history
  • Loading branch information
liufang-robot committed Nov 12, 2024
1 parent f6ccc0f commit 8929e06
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
2 changes: 1 addition & 1 deletion Doxyfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 3 additions & 0 deletions doc/changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# ChangeLog

## 1.1.28
修正c++安装包CMake Config的错误,添加使用文档。

## 1.1.27
调整构建。

Expand Down
11 changes: 11 additions & 0 deletions doc/faq.md
Original file line number Diff line number Diff line change
@@ -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确定的。
Expand Down
2 changes: 1 addition & 1 deletion lebaiConfig.cmake.in
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# lebai CMake configuration file

include("${CMAKE_CURRENT_LIST_DIR}/lebai-cppTargets.cmake")
include("${CMAKE_CURRENT_LIST_DIR}/lebaiTargets.cmake")

0 comments on commit 8929e06

Please sign in to comment.