Skip to content

Commit

Permalink
Move cubewerx_extra.wkt, ecw_cs.wkt, epsg.wkt, esri_StatePlane_extra.…
Browse files Browse the repository at this point in the history
…wkt, ozi_*.csv, pci_*.csv, sateplace.csv to ogr/data/
  • Loading branch information
rouault committed Jan 16, 2024
1 parent adc69df commit 7bfceb5
Show file tree
Hide file tree
Showing 11 changed files with 17 additions and 9 deletions.
9 changes: 0 additions & 9 deletions gdal.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -655,16 +655,7 @@ set(GDAL_DATA_FILES
data/GDALLogoBW.svg
data/GDALLogoColor.svg
data/GDALLogoGS.svg
data/cubewerx_extra.wkt
data/ecw_cs.wkt
data/epsg.wkt
data/esri_StatePlane_extra.wkt
data/gdalicon.png
data/ozi_datum.csv
data/ozi_ellips.csv
data/pci_datum.txt
data/pci_ellips.txt
data/stateplane.csv
data/template_tiles.mapml
data/tms_LINZAntarticaMapTileGrid.json
data/tms_MapML_APSTILE.json
Expand Down
17 changes: 17 additions & 0 deletions ogr/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,23 @@ add_library(
ogr_wkb.cpp)
add_dependencies(ogr generate_gdal_version_h)

set(GDAL_DATA_FILES
LICENSE.TXT
${CMAKE_CURRENT_SOURCE_DIR}/data/cubewerx_extra.wkt
${CMAKE_CURRENT_SOURCE_DIR}/data/ecw_cs.wkt
${CMAKE_CURRENT_SOURCE_DIR}/data/epsg.wkt
${CMAKE_CURRENT_SOURCE_DIR}/data/esri_StatePlane_extra.wkt
${CMAKE_CURRENT_SOURCE_DIR}/data/ozi_datum.csv
${CMAKE_CURRENT_SOURCE_DIR}/data/ozi_ellips.csv
${CMAKE_CURRENT_SOURCE_DIR}/data/pci_datum.txt
${CMAKE_CURRENT_SOURCE_DIR}/data/pci_ellips.txt
${CMAKE_CURRENT_SOURCE_DIR}/data/stateplane.csv
)
set_property(
TARGET ${GDAL_LIB_TARGET_NAME}
APPEND
PROPERTY RESOURCE "${GDAL_DATA_FILES}")

include(GdalStandardIncludes)
gdal_standard_includes(ogr)
target_compile_options(ogr PRIVATE ${GDAL_CXX_WARNING_FLAGS} ${WFLAG_OLD_STYLE_CAST} ${WFLAG_EFFCXX})
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 7bfceb5

Please sign in to comment.