Skip to content
Permalink
Browse files

[cmake] remove of redundant includes (#40993)

  • Loading branch information
3nids committed Jan 13, 2021
1 parent 837db50 commit 23b50ab264fbde2778351e1997dbd708bd72fccd
Showing with 0 additions and 99 deletions.
  1. +0 −3 python/CMakeLists.txt
  2. +0 −2 src/3d/CMakeLists.txt
  3. +0 −2 src/app/CMakeLists.txt
  4. +0 −1 src/core/CMakeLists.txt
  5. +0 −1 src/crssync/CMakeLists.txt
  6. +0 −2 src/customwidgets/CMakeLists.txt
  7. +0 −2 src/plugins/geometry_checker/CMakeLists.txt
  8. +0 −2 src/plugins/gps_importer/CMakeLists.txt
  9. +0 −2 src/plugins/grass/CMakeLists.txt
  10. +0 −2 src/plugins/offline_editing/CMakeLists.txt
  11. +0 −2 src/plugins/topology/CMakeLists.txt
  12. +0 −2 src/process/CMakeLists.txt
  13. +0 −2 src/providers/arcgisrest/CMakeLists.txt
  14. +0 −2 src/providers/db2/CMakeLists.txt
  15. +0 −2 src/providers/delimitedtext/CMakeLists.txt
  16. +0 −2 src/providers/geonode/CMakeLists.txt
  17. +0 −2 src/providers/gpx/CMakeLists.txt
  18. +0 −2 src/providers/grass/CMakeLists.txt
  19. +0 −2 src/providers/hana/CMakeLists.txt
  20. +0 −2 src/providers/mdal/CMakeLists.txt
  21. +0 −2 src/providers/mssql/CMakeLists.txt
  22. +0 −2 src/providers/oracle/CMakeLists.txt
  23. +0 −2 src/providers/ows/CMakeLists.txt
  24. +0 −2 src/providers/pdal/CMakeLists.txt
  25. +0 −2 src/providers/postgres/CMakeLists.txt
  26. +0 −3 src/providers/spatialite/CMakeLists.txt
  27. +0 −2 src/providers/virtual/CMakeLists.txt
  28. +0 −2 src/providers/wcs/CMakeLists.txt
  29. +0 −2 src/providers/wfs/CMakeLists.txt
  30. +0 −2 src/quickgui/CMakeLists.txt
  31. +0 −1 src/server/CMakeLists.txt
  32. +0 −2 src/server/services/DummyService/CMakeLists.txt
  33. +0 −2 src/server/services/landingpage/CMakeLists.txt
  34. +0 −2 src/server/services/wcs/CMakeLists.txt
  35. +0 −2 src/server/services/wfs/CMakeLists.txt
  36. +0 −2 src/server/services/wfs3/CMakeLists.txt
  37. +0 −2 src/server/services/wms/CMakeLists.txt
  38. +0 −2 src/server/services/wmts/CMakeLists.txt
  39. +0 −2 tests/bench/CMakeLists.txt
  40. +0 −2 tests/src/3d/CMakeLists.txt
  41. +0 −2 tests/src/3d/sandbox/CMakeLists.txt
  42. +0 −2 tests/src/analysis/CMakeLists.txt
  43. +0 −2 tests/src/app/CMakeLists.txt
  44. +0 −2 tests/src/core/CMakeLists.txt
  45. +0 −2 tests/src/geometry_checker/CMakeLists.txt
  46. +0 −2 tests/src/gui/CMakeLists.txt
  47. +0 −2 tests/src/providers/CMakeLists.txt
  48. +0 −2 tests/src/quickgui/CMakeLists.txt
  49. +0 −2 tests/src/server/CMakeLists.txt
  50. +0 −2 tests/src/server/wms/CMakeLists.txt
@@ -99,8 +99,6 @@ endif()

include_directories(
${CMAKE_SOURCE_DIR}/src/plugins
${CMAKE_SOURCE_DIR}/external
${CMAKE_SOURCE_DIR}/external/nlohmann

${CMAKE_BINARY_DIR} # qgsconfig.h, qgsversion.h
${CMAKE_BINARY_DIR}/src/core
@@ -234,7 +232,6 @@ if (WITH_SERVER AND WITH_SERVER_PLUGINS)
include_directories(
../src/server
${CMAKE_BINARY_DIR}/src/server
${CMAKE_SOURCE_DIR}/external
)

set(PY_MODULES ${PY_MODULES} server)
@@ -193,8 +193,6 @@ include_directories(
${CMAKE_CURRENT_SOURCE_DIR}/mesh
${CMAKE_CURRENT_SOURCE_DIR}/symbols
${CMAKE_CURRENT_SOURCE_DIR}/terrain
${CMAKE_SOURCE_DIR}/external
${CMAKE_SOURCE_DIR}/external/nlohmann

${CMAKE_BINARY_DIR}/src/core
${CMAKE_BINARY_DIR}/src/3d
@@ -415,7 +415,6 @@ endif()
include_directories(
${CMAKE_SOURCE_DIR}/external/libdxfrw
${CMAKE_SOURCE_DIR}/external/nmea
${CMAKE_SOURCE_DIR}/external

${CMAKE_SOURCE_DIR}/src/app
${CMAKE_SOURCE_DIR}/src/app/decorations
@@ -500,7 +499,6 @@ include_directories(
gps
dwg
${CMAKE_SOURCE_DIR}/external/libdxfrw
${CMAKE_SOURCE_DIR}/external/nlohmann
${CMAKE_SOURCE_DIR}/src/native

${CMAKE_BINARY_DIR}/src/native
@@ -1673,7 +1673,6 @@ if (WITH_EPT)
else()
# Use embedded laz-perf from external/laz-perf
include_directories(SYSTEM
${CMAKE_SOURCE_DIR}/external
)
endif()

@@ -3,7 +3,6 @@ add_executable(crssync main.cpp)
include_directories(
../core
../core/geometry
${CMAKE_SOURCE_DIR}/external
${CMAKE_BINARY_DIR}/src/core
)
include_directories(SYSTEM
@@ -92,8 +92,6 @@ endif()

include_directories(
${CMAKE_BINARY_DIR}/src/customwidgets
${CMAKE_SOURCE_DIR}/external
${CMAKE_SOURCE_DIR}/external/nlohmann
${CMAKE_CURRENT_BINARY_DIR}/../ui
)
include_directories(SYSTEM
@@ -36,8 +36,6 @@ add_library (geometrycheckerplugin MODULE ${geometrychecker_HDRS} ${geometrych

include_directories(
${CMAKE_SOURCE_DIR}/src/plugins
${CMAKE_SOURCE_DIR}/external
${CMAKE_SOURCE_DIR}/external/nlohmann

${CMAKE_BINARY_DIR}/src/core
${CMAKE_BINARY_DIR}/src/gui
@@ -26,8 +26,6 @@ add_library (gpsimporterplugin MODULE ${GPS_SRCS} ${GPS_RCCS} ${GPS_UIS_H})

include_directories(
${CMAKE_SOURCE_DIR}/src/plugins
${CMAKE_SOURCE_DIR}/external
${CMAKE_SOURCE_DIR}/external/nlohmann

${CMAKE_BINARY_DIR}/src/core
${CMAKE_BINARY_DIR}/src/gui
@@ -151,8 +151,6 @@ include_directories(
${CMAKE_SOURCE_DIR}/src/plugins
${CMAKE_SOURCE_DIR}/src/app
${CMAKE_SOURCE_DIR}/src/providers/grass
${CMAKE_SOURCE_DIR}/external
${CMAKE_SOURCE_DIR}/external/nlohmann

${CMAKE_BINARY_DIR}/src/core
${CMAKE_BINARY_DIR}/src/gui
@@ -39,8 +39,6 @@ include_directories(SYSTEM

include_directories(
${CMAKE_SOURCE_DIR}/src/plugins
${CMAKE_SOURCE_DIR}/external
${CMAKE_SOURCE_DIR}/external/nlohmann

${CMAKE_BINARY_DIR}/src/core
${CMAKE_BINARY_DIR}/src/gui
@@ -31,8 +31,6 @@ include_directories(SYSTEM

include_directories(
${CMAKE_SOURCE_DIR}/src/plugins
${CMAKE_SOURCE_DIR}/external
${CMAKE_SOURCE_DIR}/external/nlohmann

${CMAKE_BINARY_DIR}/src/core
${CMAKE_BINARY_DIR}/src/gui
@@ -37,8 +37,6 @@ endif()

include_directories(
${CMAKE_SOURCE_DIR}/src/python
${CMAKE_SOURCE_DIR}/external/nlohmann
${CMAKE_SOURCE_DIR}/external

${CMAKE_BINARY_DIR}/src/core
${CMAKE_BINARY_DIR}/src/python
@@ -1,6 +1,4 @@
include_directories(
${CMAKE_SOURCE_DIR}/external
${CMAKE_SOURCE_DIR}/external/nlohmann

${CMAKE_BINARY_DIR}/src/ui
${CMAKE_BINARY_DIR}/src/core
@@ -35,8 +35,6 @@ endif()

include_directories(
${CMAKE_SOURCE_DIR}/src/ui
${CMAKE_SOURCE_DIR}/external
${CMAKE_SOURCE_DIR}/external/nlohmann

${CMAKE_BINARY_DIR}/src/gui
${CMAKE_BINARY_DIR}/src/ui
@@ -19,8 +19,6 @@ endif()
# Build

include_directories(
${CMAKE_SOURCE_DIR}/external
${CMAKE_SOURCE_DIR}/external/nlohmann

${CMAKE_BINARY_DIR}/src/gui
${CMAKE_BINARY_DIR}/src/ui
@@ -17,8 +17,6 @@ endif()
# Build

include_directories(
${CMAKE_SOURCE_DIR}/external
${CMAKE_SOURCE_DIR}/external/nlohmann

${CMAKE_BINARY_DIR}/src/gui
${CMAKE_BINARY_DIR}/src/ui
@@ -12,8 +12,6 @@ set (GPX_SRCS
# Build

include_directories(
${CMAKE_SOURCE_DIR}/external
${CMAKE_SOURCE_DIR}/external/nlohmann

${CMAKE_BINARY_DIR}/src/core
${CMAKE_BINARY_DIR}/src/gui
@@ -3,8 +3,6 @@
# Build

include_directories(
${CMAKE_SOURCE_DIR}/external
${CMAKE_SOURCE_DIR}/external/nlohmann

${CMAKE_BINARY_DIR}/src/core
${CMAKE_BINARY_DIR}/src/gui
@@ -61,8 +61,6 @@ ENDIF ()
# Build

INCLUDE_DIRECTORIES(
${CMAKE_SOURCE_DIR}/external
${CMAKE_SOURCE_DIR}/external/nlohmann
${CMAKE_SOURCE_DIR}/external/odbccpp/src

${CMAKE_BINARY_DIR}/src/core
@@ -169,8 +169,6 @@ endif()
########################################################

include_directories (
${CMAKE_SOURCE_DIR}/external
${CMAKE_SOURCE_DIR}/external/nlohmann

${CMAKE_BINARY_DIR}/src/gui
${CMAKE_BINARY_DIR}/src/ui
@@ -27,8 +27,6 @@ set(MSSQL_HDRS
# Build

include_directories(
${CMAKE_SOURCE_DIR}/external
${CMAKE_SOURCE_DIR}/external/nlohmann

${CMAKE_BINARY_DIR}/src/core
${CMAKE_BINARY_DIR}/src/gui
@@ -32,8 +32,6 @@ set(ORACLE_HDRS
# Build

include_directories(
${CMAKE_SOURCE_DIR}/external
${CMAKE_SOURCE_DIR}/external/nlohmann

${CMAKE_BINARY_DIR}/src/core
${CMAKE_BINARY_DIR}/src/gui
@@ -4,8 +4,6 @@ set(OWS_SRCS
)

include_directories (
${CMAKE_SOURCE_DIR}/external
${CMAKE_SOURCE_DIR}/external/nlohmann

${CMAKE_BINARY_DIR}/src/gui
${CMAKE_BINARY_DIR}/src/ui
@@ -95,8 +95,6 @@ set(UNTWINE_INCLUDE_DIRS
# Build

include_directories(
${CMAKE_SOURCE_DIR}/external
${CMAKE_SOURCE_DIR}/external/nlohmann
${CMAKE_SOURCE_DIR}/external/untwine/api

${CMAKE_BINARY_DIR}/src/core
@@ -35,8 +35,6 @@ set(PG_HDRS
# Build

include_directories(
${CMAKE_SOURCE_DIR}/external
${CMAKE_SOURCE_DIR}/external/nlohmann

${CMAKE_BINARY_DIR}/src/core
${CMAKE_BINARY_DIR}/src/gui
@@ -35,9 +35,6 @@ if (WITH_GUI)
endif()

include_directories(
${CMAKE_SOURCE_DIR}/external
${CMAKE_SOURCE_DIR}/external
${CMAKE_SOURCE_DIR}/external/nlohmann

${CMAKE_BINARY_DIR}/src/gui
${CMAKE_BINARY_DIR}/src/ui
@@ -32,8 +32,6 @@ endif()
QT5_WRAP_UI(vlayer_provider_UI_H qgsvirtuallayersourceselectbase.ui qgsembeddedlayerselect.ui)

include_directories(
${CMAKE_SOURCE_DIR}/external
${CMAKE_SOURCE_DIR}/external/nlohmann

${CMAKE_BINARY_DIR}/src/core
${CMAKE_BINARY_DIR}/src/gui
@@ -15,8 +15,6 @@ if (WITH_GUI)
endif()

include_directories(
${CMAKE_SOURCE_DIR}/external
${CMAKE_SOURCE_DIR}/external/nlohmann

${CMAKE_BINARY_DIR}/src/gui
${CMAKE_BINARY_DIR}/src/ui
@@ -43,8 +43,6 @@ endif()
# Build

include_directories (
${CMAKE_SOURCE_DIR}/external
${CMAKE_SOURCE_DIR}/external/nlohmann

${CMAKE_BINARY_DIR}/src/gui
${CMAKE_BINARY_DIR}/src/ui
@@ -52,8 +52,6 @@ include_directories(
${CMAKE_CURRENT_SOURCE_DIR}/attributes
${CMAKE_CURRENT_BINARY_DIR}

${CMAKE_SOURCE_DIR}/external
${CMAKE_SOURCE_DIR}/external/nlohmann

${CMAKE_BINARY_DIR}/src/core
)
@@ -84,7 +84,6 @@ endif()


include_directories(
${CMAKE_SOURCE_DIR}/external
)

add_library(qgis_server SHARED ${QGIS_SERVER_SRCS} ${QGIS_SERVER_HDRS})
@@ -13,8 +13,6 @@ add_library (dummy MODULE ${dummy_SRCS})


include_directories(
${CMAKE_SOURCE_DIR}/external
${CMAKE_SOURCE_DIR}/external/nlohmann
${CMAKE_SOURCE_DIR}/src/server
${CMAKE_SOURCE_DIR}/src/server/services
${CMAKE_SOURCE_DIR}/src/server/services/DummeyService
@@ -18,8 +18,6 @@ include_directories(SYSTEM
)

include_directories(
${CMAKE_SOURCE_DIR}/external
${CMAKE_SOURCE_DIR}/external/nlohmann

${CMAKE_SOURCE_DIR}/src/server
${CMAKE_SOURCE_DIR}/src/server/services
@@ -22,8 +22,6 @@ include_directories(SYSTEM
)

include_directories(
${CMAKE_SOURCE_DIR}/external
${CMAKE_SOURCE_DIR}/external/nlohmann
${CMAKE_SOURCE_DIR}/src/server
${CMAKE_SOURCE_DIR}/src/server/services
${CMAKE_SOURCE_DIR}/src/server/services/wcs
@@ -30,8 +30,6 @@ include_directories(SYSTEM
)

include_directories(
${CMAKE_SOURCE_DIR}/external
${CMAKE_SOURCE_DIR}/external/nlohmann
${CMAKE_SOURCE_DIR}/src/server
${CMAKE_SOURCE_DIR}/src/server/services
${CMAKE_SOURCE_DIR}/src/server/services/wfs
@@ -19,8 +19,6 @@ include_directories(SYSTEM
)

include_directories(
${CMAKE_SOURCE_DIR}/external
${CMAKE_SOURCE_DIR}/external/nlohmann

${CMAKE_SOURCE_DIR}/src/server
${CMAKE_SOURCE_DIR}/src/server/services
@@ -40,8 +40,6 @@ include_directories(SYSTEM
)

include_directories(
${CMAKE_SOURCE_DIR}/external
${CMAKE_SOURCE_DIR}/external/nlohmann
${CMAKE_SOURCE_DIR}/src/server
${CMAKE_SOURCE_DIR}/src/server/services
${CMAKE_SOURCE_DIR}/src/server/services/wms
@@ -27,8 +27,6 @@ include_directories(SYSTEM
)

include_directories(
${CMAKE_SOURCE_DIR}/external
${CMAKE_SOURCE_DIR}/external/nlohmann

${CMAKE_SOURCE_DIR}/src/server/
${CMAKE_SOURCE_DIR}/src/server/services
@@ -12,8 +12,6 @@ set (BENCH_SRCS
add_executable (qgis_bench MACOSX_BUNDLE WIN32 ${BENCH_SRCS} )

include_directories(
${CMAKE_SOURCE_DIR}/external
${CMAKE_SOURCE_DIR}/external/nlohmann


${CMAKE_BINARY_DIR}
@@ -6,8 +6,6 @@ set (util_SRCS)
# Don't forget to include output directory, otherwise
# the UI file won't be wrapped!
include_directories(${CMAKE_CURRENT_SOURCE_DIR}
${CMAKE_SOURCE_DIR}/external
${CMAKE_SOURCE_DIR}/external/nlohmann
${CMAKE_SOURCE_DIR}/tests/core #for render checker class
${CMAKE_SOURCE_DIR}/src/3d
${CMAKE_SOURCE_DIR}/src/3d/chunks
@@ -3,8 +3,6 @@ if(WIN32)
endif()

include_directories(${CMAKE_CURRENT_SOURCE_DIR}
${CMAKE_SOURCE_DIR}/external
${CMAKE_SOURCE_DIR}/external/nlohmann
${CMAKE_SOURCE_DIR}/tests/core #for render checker class
${CMAKE_SOURCE_DIR}/src/3d
${CMAKE_SOURCE_DIR}/src/3d/chunks
@@ -8,8 +8,6 @@ set (util_SRCS)
include_directories(${CMAKE_CURRENT_SOURCE_DIR}
${CMAKE_CURRENT_BINARY_DIR}
${CMAKE_SOURCE_DIR}/src/test
${CMAKE_SOURCE_DIR}/external
${CMAKE_SOURCE_DIR}/external/nlohmann

${CMAKE_BINARY_DIR}/src/analysis
)
@@ -11,8 +11,6 @@ include_directories(
${CMAKE_SOURCE_DIR}/src/app/mesh
${CMAKE_SOURCE_DIR}/src/app/pluginmanager
${CMAKE_SOURCE_DIR}/src/test
${CMAKE_SOURCE_DIR}/external
${CMAKE_SOURCE_DIR}/external/nlohmann
${CMAKE_SOURCE_DIR}/external/nmea

${CMAKE_BINARY_DIR}/src/analysis

0 comments on commit 23b50ab

Please sign in to comment.
You can’t perform that action at this time.