Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

添加 CMake 的项目安装/卸载的 Github Actions #112

Merged
merged 1 commit into from
Jul 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions .github/workflows/linux-1.x.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,11 @@ on:
- master

jobs:
cmake-support-x86_64:
uses: cv-rmvl/ci-workflow/.github/workflows/rmvl-install.yml@main
minimal-support-x86_64:
uses: cv-rmvl/ci-workflow/.github/workflows/rmvl-lowest.yml@main
gcc12-support-x86_64:
uses: cv-rmvl/ci-workflow/.github/workflows/rmvl-u22.yml@main
generic-support-x86_64:
uses: cv-rmvl/ci-workflow/.github/workflows/rmvl-generic.yml@main
gcc14-support-x86_64:
uses: cv-rmvl/ci-workflow/.github/workflows/rmvl-u24.yml@main
37 changes: 21 additions & 16 deletions 3rdparty/readme.txt
Original file line number Diff line number Diff line change
@@ -1,19 +1,24 @@
第三方模块
3rdparty modules
This folder contains third-party libraries for popular vision modules used in the extra modules,
including some common visual tag localization and decoding.

本文件夹包含 extra 模块中涉及到的一些流行的视觉模块的第三方库,包括一些常见的视觉标签的定位、解码。
On Linux or Windows, all libraries are automatically detected by CMake scripts. To use these versions
of the libraries instead of the system ones, the BUILD_<library_name> CMake flags should be used (e.g.,
BUILD_APRILTAG for the apriltag library).

在 Unix 系统上,所有的库都是通过 CMake 脚本自动检测的,为了在 Unix 系统上使用这些版本的库而不是系统
库,应该使用 BUILD_<library_name> 的 CMake 标志 (例如,apriltag 库的 BUILD_APRILTAG)。
-------------------------------------------------------------------------------------------------------
apriltag Description A visual fiducial system for the localization of robotic systems
License apriltag is covered by the BSD 2-Clause License, see
apriltag/LICENSE.md
Homepage https://april.eecs.umich.edu/software/apriltag
CMake options 1. BUILD_APRILTAG to build this module (enabled by default)
2. WITH_APRILTAG to enable apriltag support for the tag_detector
module

---------------------------------------------------------------------------------------------------
apriltag 描述 用于定位的视觉基准系统
许可与版权 apriltag 由 BSD 2-Clause 许可证覆盖,参见 apriltag/LICENSE.md
官网主页 https://april.eecs.umich.edu/software/apriltag
CMake 选项 BUILD_APRILTAG 开启后可构建此模块(默认开启)
WITH_APRILTAG 启用该选项来为 tag_detector 模块提供 apriltag 支持

open62541 描述 OPC UA 的开源 C++ 实现
许可与版权 open62541 由 MPL-2.0 license 许可证覆盖,参见 open62541/LICENSE
官网主页 open62541.org
CMake 选项 BUILD_OPEN62541 开启后可下载并构建此模块(默认关闭)
WITH_OPEN62541 启用该选项来为 opcua 模块提供 open62541 支持
open62541 Description An open-source C++ implementation of OPC UA
License open62541 is covered by the MPL-2.0 license, see open62541/LICENSE
Homepage open62541.org
CMake options 1. BUILD_OPEN62541 to download and build this module (disabled by
default)
2. WITH_OPEN62541 to enable open62541 support for the opcua module

2 changes: 1 addition & 1 deletion cmake/templates/cmake_uninstall.cmake.in
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ foreach(file ${files})
message(STATUS "Uninstalling: $ENV{DESTDIR}${file}")
if(IS_SYMLINK "$ENV{DESTDIR}${file}" OR EXISTS "$ENV{DESTDIR}${file}")
execute_process(
"@CMAKE_COMMAND@" "-E" "remove" "$ENV{DESTDIR}${file}"
COMMAND "@CMAKE_COMMAND@" "-E" "remove" "$ENV{DESTDIR}${file}"
OUTPUT_VARIABLE rm_out
RESULT_VARIABLE rm_retval
)
Expand Down