32 lines
1.2 KiB
CMake
32 lines
1.2 KiB
CMake
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_store,B/C 共用基座)。
|
||
add_subdirectory(store)
|