1. 新增CloudUtils静态库与相关CMake配置 2. 重构VrUtils构建脚本,修正编译选项与依赖 3. 为Windows平台添加utf-8编译选项 4. 扩展PointCloudGLWidget功能:新增点云移除、选择信息叠加、增量相机适配 5. 优化点云添加接口,支持不重置相机视图 6. 修正激光数据保存时的DataType输出 7. 为Point3D结构体添加单位注释 8. 调整鼠标交互逻辑,统一按键操作行为
24 lines
693 B
CMake
24 lines
693 B
CMake
cmake_minimum_required(VERSION 3.14)
|
|
|
|
project(WoodCamUtils LANGUAGES C CXX)
|
|
|
|
option(WOODCAM_BUILD_CLOUDVIEW3D "Build the Qt/OpenGL CloudView3D utility" ON)
|
|
option(WOODCAM_BUILD_CLOUDUTILS "Build the CloudUtils static library" ON)
|
|
|
|
# VrCommon is a header-oriented compatibility module. Keep it as an interface
|
|
# target so consumers get the canonical VZNL_Types.h include path.
|
|
if(NOT TARGET VrCommon)
|
|
add_library(VrCommon INTERFACE)
|
|
target_include_directories(VrCommon INTERFACE
|
|
${CMAKE_CURRENT_SOURCE_DIR}/VrCommon/Inc
|
|
)
|
|
endif()
|
|
|
|
if(WOODCAM_BUILD_CLOUDVIEW3D)
|
|
add_subdirectory(CloudView3D)
|
|
endif()
|
|
|
|
if(WOODCAM_BUILD_CLOUDUTILS)
|
|
add_subdirectory(CloudUtils)
|
|
endif()
|