@@ -132,8 +132,6 @@ option(WITH_POINT_Z_M "include Z and M coordinates in point structure (advanced,
132
132
option (WITH_ORACLESPATIAL "include oracle spatial database input support" OFF )
133
133
option (WITH_ORACLE_PLUGIN "include oracle spatial database input support as plugin" OFF )
134
134
option (WITH_MSSQL2008 "include mssql 2008 database input support as plugin" OFF )
135
- option (WITH_SDE_PLUGIN "include ArcSDE support as a plugin (must specify SDE_INCLUDE_DIR and SDE_LIBRARY_DIR)." OFF )
136
- option (WITH_SDE "include ArcSDE support. Add -DSDE_VERSION=91 to use 9.1 arcSDE version" OFF )
137
135
option (WITH_EXEMPI "include xmp output metadata support" OFF )
138
136
option (WITH_XMLMAPFILE "include native xml mapfile support (requires libxslt/libexslt)" OFF )
139
137
option (WITH_V8 "include javacript v8 scripting" OFF )
@@ -244,7 +242,7 @@ mapraster.c mapuvraster.c mapdummyrenderer.c mapobject.c maprasterquery.c
244
242
mapwcs.c maperror.c mapogcfilter.c mapregex.c mapwcs11.c mapfile.c
245
243
mapogcfiltercommon.c maprendering.c mapwcs20.c mapogcsld.c
246
244
mapresample.c mapwfs.c mapgdal.c mapogcsos.c mapscale.c mapwfs11.c mapwfs20.c
247
- mapgeomtransform.c mapogroutput.c mapsde.c mapwfslayer.c mapagg.cpp mapkml.cpp
245
+ mapgeomtransform.c mapogroutput.c mapwfslayer.c mapagg.cpp mapkml.cpp
248
246
mapgeomutil.cpp mapkmlrenderer.cpp fontcache.c textlayout.c maputfgrid.cpp
249
247
mapogr.cpp mapcontour.c mapsmoothing.c mapv8.cpp ${REGEX_SOURCES} kerneldensity.c)
250
248
@@ -467,42 +465,6 @@ if(WITH_MSSQL2008)
467
465
endif (ODBC_FOUND)
468
466
endif (WITH_MSSQL2008)
469
467
470
- if (WITH_SDE_PLUGIN)
471
- if (WITH_SDE)
472
- MESSAGE ( SEND_ERROR "WITH_SDE and WITH_SDE_PLUGIN cannot be used simultaneously" )
473
- endif (WITH_SDE)
474
- if (SDE_INCLUDE_DIR AND SDE_LIBRARY_DIR)
475
- include_directories (${SDE_INCLUDE_DIR} )
476
- if (SDE_VERSION STREQUAL "91" )
477
- add_library (msplugin_sde_91 MODULE mapsde.c mapthread.c)
478
- target_link_libraries (msplugin_sde_91 ${SDE_LIBRARY_DIR} /pe91.lib ${SDE_LIBRARY_DIR} /sg91.lib ${SDE_LIBRARY_DIR} /sde91.lib ${MAPSERVER_LIBMAPSERVER} )
479
- set_target_properties (msplugin_sde_91 PROPERTIES COMPILE_FLAGS "-DUSE_SDE -DUSE_SDE_PLUGIN" )
480
- else (SDE_VERSION STREQUAL "91" )
481
- add_library (msplugin_sde_92 MODULE mapsde.c mapthread.c)
482
- target_link_libraries (msplugin_sde_92 ${SDE_LIBRARY_DIR} /pe.lib ${SDE_LIBRARY_DIR} /sg.lib ${SDE_LIBRARY_DIR} /sde.lib ${MAPSERVER_LIBMAPSERVER} )
483
- set_target_properties (msplugin_sde_92 PROPERTIES COMPILE_FLAGS "-DUSE_SDE -DUSE_SDE_PLUGIN" )
484
- endif (SDE_VERSION STREQUAL "91" )
485
- set (USE_SDE_PLUGIN 1)
486
- else (SDE_INCLUDE_DIR AND SDE_LIBRARY_DIR)
487
- MESSAGE ( SEND_ERROR "Must specify SDE_INCLUDE_DIR and SDE_LIBRARY_DIR for WITH_SDE_PLUGIN" )
488
- endif (SDE_INCLUDE_DIR AND SDE_LIBRARY_DIR)
489
- endif (WITH_SDE_PLUGIN)
490
-
491
- if (WITH_SDE)
492
- find_package (SDE)
493
- if (SDE_FOUND)
494
- include_directories (${SDE_INCLUDE_DIRS} )
495
- ms_link_libraries(${SDE_LIBRARIES} )
496
- set (USE_SDE 1)
497
- if (CMAKE_SIZEOF_VOID_P EQUAL 8)
498
- set (SDE64 1)
499
- endif (CMAKE_SIZEOF_VOID_P EQUAL 8)
500
- else (SDE_FOUND)
501
- MESSAGE (WARNING "Could not find (all?) sde files. Try setting -DSDE_DIR=/path/to/sde and/or -DSDE_VERSION=91|92|100" )
502
- report_optional_not_found(SDE)
503
- endif (SDE_FOUND)
504
- endif (WITH_SDE)
505
-
506
468
if (WITH_FCGI)
507
469
find_package (FCGI)
508
470
if (FCGI_FOUND)
@@ -907,15 +869,6 @@ endif(USE_ORACLESPATIAL OR USE_ORACLE_PLUGIN)
907
869
if (USE_MSSQL2008)
908
870
status_optional_component("MSSQL 2008 (Built as plugin)" "${USE_MSSQL2008} " "${ODBC_LIBRARY} " )
909
871
endif (USE_MSSQL2008)
910
- if (USE_SDE_PLUGIN)
911
- if (SDE_VERSION STREQUAL "91" )
912
- status_optional_component("SDE 9.1 (Built as plugin)" "${USE_SDE_PLUGIN} " "${SDE_LIBRARY_DIR} " )
913
- else (SDE_VERSION STREQUAL "91" )
914
- status_optional_component("SDE 9.2 (Built as plugin)" "${USE_SDE_PLUGIN} " "${SDE_LIBRARY_DIR} " )
915
- endif (SDE_VERSION STREQUAL "91" )
916
- else (USE_SDE_PLUGIN)
917
- status_optional_component("SDE" "${USE_SDE} " "${SDE_LIBRARIES} " )
918
- endif (USE_SDE_PLUGIN)
919
872
status_optional_component("Exempi XMP" "${USE_EXEMPI} " "${LIBEXEMPI_LIBRARY} " )
920
873
message (STATUS " * Optional features" )
921
874
status_optional_feature("WMS SERVER" "${USE_WMS_SVR} " )
@@ -962,13 +915,6 @@ if(USE_MSSQL2008)
962
915
INSTALL (TARGETS msplugin_mssql2008 DESTINATION ${CMAKE_INSTALL_LIBDIR} )
963
916
endif (USE_MSSQL2008)
964
917
965
- if (USE_SDE91)
966
- INSTALL (TARGETS msplugin_sde91 DESTINATION ${CMAKE_INSTALL_LIBDIR} )
967
- endif (USE_SDE91)
968
-
969
- if (USE_SDE92)
970
- INSTALL (TARGETS msplugin_sde92 DESTINATION ${CMAKE_INSTALL_LIBDIR} )
971
- endif (USE_SDE92)
972
918
973
919
INSTALL (TARGETS sortshp shptree shptreevis msencrypt legend scalebar tile4ms shptreetst shp2img mapserv RUNTIME DESTINATION bin LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} )
974
920
0 commit comments