aboutsummaryrefslogtreecommitdiff
path: root/src/bin_proj.cmake
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2018-11-14 17:40:42 +0100
committerEven Rouault <even.rouault@spatialys.com>2018-11-14 22:48:29 +0100
commitd928db15d53805d9b728b440079756081961c536 (patch)
treee862a961d26bedb34c58e4f28ef0bdeedb5f3225 /src/bin_proj.cmake
parent330e8bf686f9c4524075ca1ff50cbca6c9e091da (diff)
downloadPROJ-d928db15d53805d9b728b440079756081961c536.tar.gz
PROJ-d928db15d53805d9b728b440079756081961c536.zip
Implement RFC 2: Initial integration of "GDAL SRS barn" work
This work mostly consists of: - a C++ implementation of the ISO-19111:2018 / OGC Topic 2 "Referencing by coordinates" classes to represent Datums, Coordinate systems, CRSs (Coordinate Reference Systems) and Coordinate Operations. - methods to convert between this C++ modeling and WKT1, WKT2 and PROJ string representations of those objects - management and query of a SQLite3 database of CRS and Coordinate Operation definition - a C API binding part of those capabilities This is all-in-one squashed commit of the work of https://github.com/OSGeo/proj.4/pull/1040
Diffstat (limited to 'src/bin_proj.cmake')
-rw-r--r--src/bin_proj.cmake7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/bin_proj.cmake b/src/bin_proj.cmake
index f20d2f3f..fb7c885d 100644
--- a/src/bin_proj.cmake
+++ b/src/bin_proj.cmake
@@ -4,10 +4,6 @@ set(PROJ_SRC proj.c
source_group("Source Files\\Bin" FILES ${PROJ_SRC})
-if(WIN32)
- set(PROJ_SRC ${PROJ_SRC} emess.c)
-endif(WIN32)
-
#Executable
add_executable(binproj ${PROJ_SRC})
set_target_properties(binproj
@@ -17,3 +13,6 @@ target_link_libraries(binproj ${PROJ_LIBRARIES})
install(TARGETS binproj
RUNTIME DESTINATION ${BINDIR})
+if(MSVC AND BUILD_LIBPROJ_SHARED)
+ target_compile_definitions(binproj PRIVATE PROJ_MSVC_DLL_IMPORT=1)
+endif()