
## for debug
#set(CMAKE_BUILD_TYPE "Debug" CACHE STRING "")
#set(CMAKE_RULE_MESSAGES OFF CACHE BOOL "")
#set(CMAKE_VERBOSE_MAKEFILE ON CACHE BOOL "")

#DRIVERS
set(GDAL_ENABLE_FRMT_ADRG ON CACHE BOOL "")
set(GDAL_ENABLE_FRMT_AIGRID ON CACHE BOOL "")
set(GDAL_ENABLE_FRMT_AAIGRID ON CACHE BOOL "")
set(GDAL_ENABLE_FRMT_AIRSAR ON CACHE BOOL "")
set(GDAL_ENABLE_FRMT_ARG ON CACHE BOOL "")
set(GDAL_ENABLE_FRMT_BLX ON CACHE BOOL "")
set(GDAL_ENABLE_FRMT_BMP ON CACHE BOOL "")
set(GDAL_ENABLE_FRMT_BSB ON CACHE BOOL "")
set(GDAL_ENABLE_FRMT_CALS ON CACHE BOOL "")
set(GDAL_ENABLE_FRMT_CEOS ON CACHE BOOL "")
set(GDAL_ENABLE_FRMT_CEOS2 ON CACHE BOOL "")
set(GDAL_ENABLE_FRMT_COASP ON CACHE BOOL "")
set(GDAL_ENABLE_FRMT_COSAR ON CACHE BOOL "")
set(GDAL_ENABLE_FRMT_CTG ON CACHE BOOL "")
set(GDAL_ENABLE_FRMT_DDS ON CACHE BOOL "")
set(GDAL_ENABLE_FRMT_DIMAP ON CACHE BOOL "")
set(GDAL_ENABLE_FRMT_DODS ON CACHE BOOL "")
set(GDAL_ENABLE_FRMT_DTED ON CACHE BOOL "")
set(GDAL_ENABLE_FRMT_E00GRID ON CACHE BOOL "")
set(GDAL_ENABLE_FRMT_ECW ON CACHE BOOL "")
set(GDAL_ENABLE_FRMT_EEDA ON CACHE BOOL "")
set(GDAL_ENABLE_FRMT_ELAS ON CACHE BOOL "")
set(GDAL_ENABLE_FRMT_ERS ON CACHE BOOL "")
set(GDAL_ENABLE_FRMT_ENVISAT ON CACHE BOOL "")
set(GDAL_ENABLE_FRMT_EPSILON ON CACHE BOOL "")
set(GDAL_ENABLE_FRMT_FIT ON CACHE BOOL "")
set(GDAL_ENABLE_FRMT_FITS ON CACHE BOOL "")
set(GDAL_ENABLE_FRMT_GIF ON CACHE BOOL "")
set(GDAL_ENABLE_FRMT_GTA ON CACHE BOOL "")
set(GDAL_ENABLE_FRMT_GFF ON CACHE BOOL "")
set(GDAL_ENABLE_FRMT_GIF ON CACHE BOOL "")
set(GDAL_ENABLE_FRMT_GRIB ON CACHE BOOL "")
set(GDAL_ENABLE_FRMT_GSG ON CACHE BOOL "")
set(GDAL_ENABLE_FRMT_GTA ON CACHE BOOL "")
set(GDAL_ENABLE_FRMT_GTIFF ON CACHE BOOL "")
set(GDAL_ENABLE_FRMT_GXF ON CACHE BOOL "")
set(GDAL_ENABLE_FRMT_HDF4 ON CACHE BOOL "")
set(GDAL_ENABLE_FRMT_HDF5 ON CACHE BOOL "")
set(GDAL_ENABLE_FRMT_HF2 ON CACHE BOOL "")
set(GDAL_ENABLE_FRMT_HFA ON CACHE BOOL "")
set(GDAL_ENABLE_FRMT_IDRISI ON CACHE BOOL "")
set(GDAL_ENABLE_FRMT_ILWIS ON CACHE BOOL "")
set(GDAL_ENABLE_FRMT_INGR ON CACHE BOOL "")
set(GDAL_ENABLE_FRMT_IRIS ON CACHE BOOL "")
set(GDAL_ENABLE_FRMT_JAXAPALSAR ON CACHE BOOL "")
set(GDAL_ENABLE_FRMT_JDEM ON CACHE BOOL "")
set(GDAL_ENABLE_FRMT_JPEG ON CACHE BOOL "")
set(GDAL_ENABLE_FRMT_JPEG2000 ON CACHE BOOL "")
set(GDAL_ENABLE_FRMT_JPEGLS ON CACHE BOOL "")
set(GDAL_ENABLE_FRMT_KMLSUPEROVERLAY ON CACHE BOOL "")
set(GDAL_ENABLE_FRMT_KEA ON CACHE BOOL "")
set(GDAL_ENABLE_FRMT_L1B ON CACHE BOOL "")
set(GDAL_ENABLE_FRMT_LEVELLER ON CACHE BOOL "")
set(GDAL_ENABLE_FRMT_MAP ON CACHE BOOL "")
set(GDAL_ENABLE_FRMT_MBTILES ON CACHE BOOL "")
set(GDAL_ENABLE_FRMT_MEM ON CACHE BOOL "")
set(GDAL_ENABLE_FRMT_MRF ON CACHE BOOL "")
set(GDAL_ENABLE_FRMT_MRSID ON CACHE BOOL "")
set(GDAL_ENABLE_FRMT_MRSID_LIDAR ON CACHE BOOL "")
set(GDAL_ENABLE_FRMT_MSG OFF CACHE BOOL "")
set(GDAL_ENABLE_FRMT_MSGN ON CACHE BOOL "")
set(GDAL_ENABLE_FRMT_NETCDF ON CACHE BOOL "")
set(GDAL_ENABLE_FRMT_NGSGEOID ON CACHE BOOL "")
set(GDAL_ENABLE_FRMT_NITF ON CACHE BOOL "")
set(GDAL_ENABLE_FRMT_NORTHWOOD ON CACHE BOOL "")
set(GDAL_ENABLE_FRMT_OPENJPEG ON CACHE BOOL "")
set(GDAL_ENABLE_FRMT_OZI ON CACHE BOOL "")
set(GDAL_ENABLE_FRMT_PCIDSK ON CACHE BOOL "")
set(GDAL_ENABLE_FRMT_PCRASTER ON CACHE BOOL "")
set(GDAL_ENABLE_FRMT_PDF ON CACHE BOOL "")
set(GDAL_ENABLE_FRMT_POSTGISRASTER ON CACHE BOOL "")
set(GDAL_ENABLE_FRMT_PDS ON CACHE BOOL "")
set(GDAL_ENABLE_FRMT_PLMOSAIC ON CACHE BOOL "")
set(GDAL_ENABLE_FRMT_PNG ON CACHE BOOL "")
set(GDAL_ENABLE_FRMT_POSTGISRASTER ON CACHE BOOL "")
set(GDAL_ENABLE_FRMT_PRF ON CACHE BOOL "")
set(GDAL_ENABLE_FRMT_R ON CACHE BOOL "")
set(GDAL_ENABLE_FRMT_RAW ON CACHE BOOL "")
set(GDAL_ENABLE_FRMT_RASTERLITE ON CACHE BOOL "")
set(GDAL_ENABLE_FRMT_RDA ON CACHE BOOL "")
set(GDAL_ENABLE_FRMT_RIK ON CACHE BOOL "")
set(GDAL_ENABLE_FRMT_RMF ON CACHE BOOL "")
set(GDAL_ENABLE_FRMT_RS2 ON CACHE BOOL "")
set(GDAL_ENABLE_FRMT_SAFE ON CACHE BOOL "")
set(GDAL_ENABLE_FRMT_SAGA ON CACHE BOOL "")
set(GDAL_ENABLE_FRMT_SDTS ON CACHE BOOL "")
set(GDAL_ENABLE_FRMT_SENTINEL2 ON CACHE BOOL "")
set(GDAL_ENABLE_FRMT_SGI ON CACHE BOOL "")
set(GDAL_ENABLE_FRMT_SRTMHGT ON CACHE BOOL "")
set(GDAL_ENABLE_FRMT_TERRAGEN ON CACHE BOOL "")
set(GDAL_ENABLE_FRMT_TIL ON CACHE BOOL "")
set(GDAL_ENABLE_FRMT_TILEDB ON CACHE BOOL "")
set(GDAL_ENABLE_FRMT_TSX ON CACHE BOOL "")
set(GDAL_ENABLE_FRMT_USGSDEM ON CACHE BOOL "")
set(GDAL_ENABLE_FRMT_VRT ON CACHE BOOL "")
set(GDAL_ENABLE_FRMT_WCS ON CACHE BOOL "")
set(GDAL_ENABLE_FRMT_WEBP ON CACHE BOOL "")
set(GDAL_ENABLE_FRMT_WMS ON CACHE BOOL "")
set(GDAL_ENABLE_FRMT_WMTS ON CACHE BOOL "")
set(GDAL_ENABLE_FRMT_XPM ON CACHE BOOL "")
set(GDAL_ENABLE_FRMT_XYZ ON CACHE BOOL "")


set(OGR_ENABLE_AMIGOCLOUD ON CACHE BOOL "")
set(OGR_ENABLE_ARCGEN ON CACHE BOOL "")
set(OGR_ENABLE_AVC ON CACHE BOOL "")
set(OGR_ENABLE_BNA ON CACHE BOOL "")
set(OGR_ENABLE_CAD ON CACHE BOOL "")
set(OGR_ENABLE_CARTO ON CACHE BOOL "")
set(OGR_ENABLE_CLOUDANT ON CACHE BOOL "")
set(OGR_ENABLE_CSV ON CACHE BOOL "")
set(OGR_ENABLE_CSW ON CACHE BOOL "")
set(OGR_ENABLE_DGN ON CACHE BOOL "")
set(OGR_ENABLE_DODS ON CACHE BOOL "")
set(OGR_ENABLE_DXF ON CACHE BOOL "")
set(OGR_ENABLE_ELASTIC ON CACHE BOOL "")
set(OGR_ENABLE_FLATGEOBUF ON CACHE BOOL "")
set(OGR_ENABLE_GEOCONCEPT ON CACHE BOOL "")
set(OGR_ENABLE_GEOJSON ON CACHE BOOL "")
set(OGR_ENABLE_GEORSS ON CACHE BOOL "")
set(OGR_ENABLE_GEOMEDIA ON CACHE BOOL "")
set(OGR_ENABLE_GFT ON CACHE BOOL "")
set(OGR_ENABLE_GMLAS ON CACHE BOOL "")
set(OGR_ENABLE_GMT ON CACHE BOOL "")
set(OGR_ENABLE_GPSBABEL ON CACHE BOOL "")
set(OGR_ENABLE_GTM ON CACHE BOOL "")
set(OGR_ENABLE_HTF ON CACHE BOOL "")
set(OGR_ENABLE_IDRISI ON CACHE BOOL "")
set(OGR_ENABLE_ILI ON CACHE BOOL "")
set(OGR_ENABLE_JML ON CACHE BOOL "")
set(OGR_ENABLE_LIBKML ON CACHE BOOL "")
set(OGR_ENABLE_MITAB ON CACHE BOOL "")
set(OGR_ENABLE_MONGODB OFF CACHE BOOL "")
set(OGR_ENABLE_MYSQL ON CACHE BOOL "")
set(OGR_ENABLE_MVT ON CACHE BOOL "")
set(OGR_ENABLE_NAS ON CACHE BOOL "")
set(OGR_ENABLE_OGDI ON CACHE BOOL "")
set(OGR_ENABLE_ODS ON CACHE BOOL "")
set(OGR_ENABLE_OPENAIR ON CACHE BOOL "")
set(OGR_ENABLE_OSM ON CACHE BOOL "")
set(OGR_ENABLE_OPENFILEGDB ON CACHE BOOL "")
set(OGR_ENABLE_PDS ON CACHE BOOL "")
set(OGR_ENABLE_PG ON CACHE BOOL "")
set(OGR_ENABLE_PGDUMP ON CACHE BOOL "")
set(OGR_ENABLE_PLSCENES ON CACHE BOOL "")
set(OGR_ENABLE_REC ON CACHE BOOL "")
set(OGR_ENABLE_S57 ON CACHE BOOL "")
set(OGR_ENABLE_SEGUK00A ON CACHE BOOL "")
set(OGR_ENABLE_SEGY ON CACHE BOOL "")
set(OGR_ENABLE_SELAFIN ON CACHE BOOL "")
set(OGR_ENABLE_SOSI ON CACHE BOOL "")
set(OGR_ENABLE_SHAPE ON CACHE BOOL "")
set(OGR_ENABLE_SQLITE ON CACHE BOOL "")
set(OGR_ENABLE_SUA ON CACHE BOOL "")
set(OGR_ENABLE_SVG ON CACHE BOOL "")
set(OGR_ENABLE_SXF ON CACHE BOOL "")
set(OGR_ENABLE_TIGER ON CACHE BOOL "")
set(OGR_ENABLE_VDV ON CACHE BOOL "")
set(OGR_ENABLE_VFK ON CACHE BOOL "")
set(OGR_ENABLE_WFS ON CACHE BOOL "")
set(OGR_ENABLE_WASP ON CACHE BOOL "")
set(OGR_ENABLE_XLSX ON CACHE BOOL "")
set(OGR_ENABLE_XPLANE ON CACHE BOOL "")

SET(GDAL_ENABLE_QHULL ON CACHE BOOL "")

# Proprietary drivers
SET(GDAL_ENABLE_FRMT_GEORASTER OFF CACHE BOOL "")
SET(GDAL_ENABLE_FRMT_SDE OFF CACHE BOOL "")
SET(GDAL_ENABLE_FRMT_RASDAMAN OFF CACHE BOOL "")
SET(OGR_ENABLE_SDE OFF CACHE BOOL "")
SET(OGR_ENABLE_FME OFF CACHE BOOL "")
SET(OGR_ENABLE_OCI OFF CACHE BOOL "")
SET(OGR_ENABLE_DB2 OFF CACHE BOOL "")
SET(OGR_ENABLE_DWG OFF CACHE BOOL "")
SET(OGR_ENABLE_MSSQLSPATIAL ON CACHE BOOL "")

# GRASS drivers
SET(GDAL_ENABLE_FRMT_GRASS OFF CACHE BOOL "")
SET(OGR_ENABLE_GRASS OFF CACHE BOOL "")

# BUNDLED LIBRARIES
SET(GDAL_USE_QHULL_INTERNAL ON CACHE BOOL "")
SET(GDAL_USE_LIBPCIDSK_INTERNAL ON CACHE BOOL "")
SET(GDAL_USE_LIBCSF_INTERNAL ON CACHE BOOL "")
SET(GDAL_USE_OPENCAD_INTERNAL ON CACHE BOOL "")
SET(GDAL_USE_LIBLERC_INTERNAL ON CACHE BOOL "")
set(GDAL_USE_LIBGEOTIFF_INTERNAL ON CACHE BOOL "")
