20 lines
750 B
CMake
20 lines
750 B
CMake
find_package(nlohmann_json CONFIG REQUIRED)
|
|
find_package(Qt6 COMPONENTS Core REQUIRED)
|
|
add_library(geopro_data STATIC
|
|
parse/SampleParsers.cpp
|
|
repo/LocalSampleRepository.cpp
|
|
dto/NavDto.cpp
|
|
dto/DatasetChartDto.cpp
|
|
dto/MeasurementDto.cpp
|
|
dto/GrMeasurementDto.cpp
|
|
dto/TrajectoryDto.cpp
|
|
dto/GridDto.cpp
|
|
api/ApiProjectRepository.cpp
|
|
api/ApiDatasetRepository.cpp
|
|
api/DatasetLoadHandles.cpp
|
|
api/NavRequest.cpp)
|
|
target_include_directories(geopro_data PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
|
|
target_link_libraries(geopro_data PUBLIC geopro_core geopro_net Qt6::Core 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)
|