geopro/src/data/CMakeLists.txt

32 lines
1.2 KiB
CMake
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

find_package(nlohmann_json CONFIG REQUIRED)
find_package(Qt6 COMPONENTS Core REQUIRED)
add_library(geopro_data STATIC
parse/SampleParsers.cpp
repo/LocalSampleRepository.cpp
repo/LocalSample3dRepository.cpp
repo/DatasetFieldDictionary.cpp
repo/CategoryDescriptor.cpp
dto/NavDto.cpp
dto/Vtk3dRequests.cpp
dto/DatasetChartDto.cpp
dto/MeasurementDto.cpp
dto/GrMeasurementDto.cpp
dto/TrajectoryDto.cpp
dto/GridDto.cpp
api/ApiProjectRepository.cpp
api/ApiDatasetRepository.cpp
api/ApiColorTemplateRepository.cpp
api/ApiDatasetCommandRepository.cpp
api/Api3dRepository.cpp
api/DatasetLoadHandles.cpp
api/NavRequest.cpp
GprVolumeRepository.cpp)
target_include_directories(geopro_data PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
# geopro_gpr3dv_bridge逐线 GPR 体(BuiltI16)来源GprVolumeRepository 反量化为 VolumeGrid。
target_link_libraries(geopro_data PUBLIC geopro_core geopro_net Qt6::Core geopro_gpr3dv_bridge PRIVATE nlohmann_json::nlohmann_json)
target_compile_features(geopro_data PUBLIC cxx_std_17)
set_target_properties(geopro_data PROPERTIES AUTOMOC ON AUTOUIC OFF AUTORCC OFF)
# GPR 三维体分块压缩落盘库geopro_storeB/C 共用基座)。
add_subdirectory(store)