23 lines
804 B
CMake
23 lines
804 B
CMake
|
|
# opmap/internals — 地图内部投影/坐标算法
|
||
|
|
add_library(opmap_internals STATIC
|
||
|
|
core.cpp
|
||
|
|
loadtask.cpp
|
||
|
|
pointlatlng.cpp
|
||
|
|
pureprojection.cpp
|
||
|
|
rectangle.cpp
|
||
|
|
rectlatlng.cpp
|
||
|
|
sizelatlng.cpp
|
||
|
|
tile.cpp
|
||
|
|
tilematrix.cpp
|
||
|
|
MouseWheelZoomType.cpp
|
||
|
|
projections/lks94projection.cpp
|
||
|
|
projections/mercatorprojection.cpp
|
||
|
|
projections/mercatorprojectionyandex.cpp
|
||
|
|
projections/platecarreeprojection.cpp
|
||
|
|
projections/platecarreeprojectionpergo.cpp
|
||
|
|
)
|
||
|
|
|
||
|
|
target_include_directories(opmap_internals PUBLIC ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/../core)
|
||
|
|
target_link_libraries(opmap_internals PUBLIC Qt${QT_VERSION_MAJOR}::Core Qt${QT_VERSION_MAJOR}::Gui)
|
||
|
|
target_compile_definitions(opmap_internals PRIVATE QtOpmapInternals OPMAPINTERNALS_LIBRARY _USE_MATH_DEFINES)
|