Files
gcs-nf/Plugins/opmap/core/CMakeLists.txt
T

37 lines
884 B
CMake
Raw Normal View History

# opmap/core - Map core (tile cache, network download, geocoding)
add_library(opmap_core STATIC
alllayersoftype.cpp
cache.cpp
cacheitemqueue.cpp
diagnostics.cpp
geocover.cpp
kibertilecache.cpp
languagetype.cpp
memorycache.cpp
opmaps.cpp
placemark.cpp
point.cpp
providerstrings.cpp
pureimage.cpp
pureimagecache.cpp
rawtile.cpp
size.cpp
tilecachequeue.cpp
urlfactory.cpp
accessmode.h
geodecoderstatus.h
maptype.h
languagetype.h
pureimage.h
providerstrings.h
)
target_include_directories(opmap_core PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
target_link_libraries(opmap_core PUBLIC
Qt${QT_VERSION_MAJOR}::Core
Qt${QT_VERSION_MAJOR}::Network
Qt${QT_VERSION_MAJOR}::Sql
opmap_internals
)
target_compile_definitions(opmap_core PRIVATE QtOpmapCore OPMAPCORE_LIBRARY _USE_MATH_DEFINES)