Skip to content
Permalink
Browse files

add cmake stuff for SEXTANTE plugin

  • Loading branch information
alexbruy committed Sep 14, 2012
1 parent 5eb0111 commit e460dde786db4bed3c16cde2469bd8160a337b29
Showing with 162 additions and 1 deletion.
  1. +1 −1 python/plugins/CMakeLists.txt
  2. +28 −0 python/plugins/sextante/CMakeLists.txt
  3. +5 −0 python/plugins/sextante/about/CMakeLists.txt
  4. +3 −0 python/plugins/sextante/algs/CMakeLists.txt
  5. +3 −0 python/plugins/sextante/core/CMakeLists.txt
  6. +7 −0 python/plugins/sextante/ftools/CMakeLists.txt
  7. +7 −0 python/plugins/sextante/gdal/CMakeLists.txt
  8. +3 −0 python/plugins/sextante/gdal/scripts/CMakeLists.txt
  9. +7 −0 python/plugins/sextante/grass/CMakeLists.txt
  10. +5 −0 python/plugins/sextante/gui/CMakeLists.txt
  11. +9 −0 python/plugins/sextante/help/CMakeLists.txt
  12. +3 −0 python/plugins/sextante/images/CMakeLists.txt
  13. +6 −0 python/plugins/sextante/lidar/CMakeLists.txt
  14. +3 −0 python/plugins/sextante/lidar/fusion/CMakeLists.txt
  15. +3 −0 python/plugins/sextante/lidar/lastools/CMakeLists.txt
  16. +7 −0 python/plugins/sextante/mmqgisx/CMakeLists.txt
  17. +3 −0 python/plugins/sextante/modeler/CMakeLists.txt
  18. +7 −0 python/plugins/sextante/otb/CMakeLists.txt
  19. +3 −0 python/plugins/sextante/outputs/CMakeLists.txt
  20. +3 −0 python/plugins/sextante/parameters/CMakeLists.txt
  21. +8 −0 python/plugins/sextante/pymorph/CMakeLists.txt
  22. +5 −0 python/plugins/sextante/pymorph/html/CMakeLists.txt
  23. +15 −0 python/plugins/sextante/pymorph/html/morph/CMakeLists.txt
  24. +3 −0 python/plugins/sextante/pymorph/scripts/CMakeLists.txt
  25. +5 −0 python/plugins/sextante/r/CMakeLists.txt
  26. +7 −0 python/plugins/sextante/saga/CMakeLists.txt
  27. +3 −0 python/plugins/sextante/script/CMakeLists.txt
@@ -4,4 +4,4 @@ ADD_SUBDIRECTORY(fTools)
ADD_SUBDIRECTORY(GdalTools)
ADD_SUBDIRECTORY(osm)
ADD_SUBDIRECTORY(db_manager)
#ADD_SUBDIRECTORY(sextante)
ADD_SUBDIRECTORY(sextante)
@@ -0,0 +1,28 @@
SET (SEXTANTE_PLUGIN_DIR ${QGIS_DATA_DIR}/python/plugins/sextante)

ADD_SUBDIRECTORY(about)
ADD_SUBDIRECTORY(algs)
ADD_SUBDIRECTORY(core)
ADD_SUBDIRECTORY(ftools)
ADD_SUBDIRECTORY(gdal)
ADD_SUBDIRECTORY(grass)
ADD_SUBDIRECTORY(gui)
ADD_SUBDIRECTORY(help)
ADD_SUBDIRECTORY(images)
ADD_SUBDIRECTORY(lidar)
ADD_SUBDIRECTORY(mmqgisx)
ADD_SUBDIRECTORY(modeler)
ADD_SUBDIRECTORY(otb)
ADD_SUBDIRECTORY(outputs)
ADD_SUBDIRECTORY(parameters)
ADD_SUBDIRECTORY(pymorph)
ADD_SUBDIRECTORY(r)
ADD_SUBDIRECTORY(saga)
ADD_SUBDIRECTORY(script)
#ADD_SUBDIRECTORY(tests)

FILE(GLOB OTHER_FILES metadata.txt)
FILE(GLOB PY_FILES *.py)

INSTALL(FILES ${PY_FILES} DESTINATION ${SEXTANTE_PLUGIN_DIR})
INSTALL(FILES ${OTHER_FILES} DESTINATION ${SEXTANTE_PLUGIN_DIR})
@@ -0,0 +1,5 @@
FILE(GLOB PY_FILES *.py)
FILE(GLOB OTHER_FILES *.htm *.png)

INSTALL(FILES ${PY_FILES} DESTINATION ${SEXTANTE_PLUGIN_DIR}/about)
INSTALL(FILES ${OTHER_FILES} DESTINATION ${SEXTANTE_PLUGIN_DIR}/about)
@@ -0,0 +1,3 @@
FILE(GLOB PY_FILES *.py)

INSTALL(FILES ${PY_FILES} DESTINATION ${SEXTANTE_PLUGIN_DIR}/algs)
@@ -0,0 +1,3 @@
FILE(GLOB PY_FILES *.py)

INSTALL(FILES ${PY_FILES} DESTINATION ${SEXTANTE_PLUGIN_DIR}/core)
@@ -0,0 +1,7 @@
FILE(GLOB PY_FILES *.py)
FILE(GLOB OTHER_FILES copyright.txt)
FILE(GLOB ICON_FILES icons/*.png)

INSTALL(FILES ${PY_FILES} DESTINATION ${SEXTANTE_PLUGIN_DIR}/ftools)
INSTALL(FILES ${OTHER_FILES} DESTINATION ${SEXTANTE_PLUGIN_DIR}/ftools)
INSTALL(FILES ${ICON_FILES} DESTINATION ${SEXTANTE_PLUGIN_DIR}/ftools/icons)
@@ -0,0 +1,7 @@
FILE(GLOB PY_FILES *.py)
FILE(GLOB ICON_FILES icons/*.png)

ADD_SUBDIRECTORY(scripts)

INSTALL(FILES ${PY_FILES} DESTINATION ${SEXTANTE_PLUGIN_DIR}/gdal)
INSTALL(FILES ${ICON_FILES} DESTINATION ${SEXTANTE_PLUGIN_DIR}/gdal/icons)
@@ -0,0 +1,3 @@
FILE(GLOB PY_FILES *.py)

INSTALL(FILES ${PY_FILES} DESTINATION ${SEXTANTE_PLUGIN_DIR}/gdal/scripts)
@@ -0,0 +1,7 @@
FILE(GLOB PY_FILES *.py)
FILE(GLOB OTHER_FILES grass.txt)
FILE(GLOB DESCR_FILES description/*.txt)

INSTALL(FILES ${PY_FILES} DESTINATION ${SEXTANTE_PLUGIN_DIR}/grass)
INSTALL(FILES ${OTHER_FILES} DESTINATION ${SEXTANTE_PLUGIN_DIR}/grass)
INSTALL(FILES ${DESCR_FILES} DESTINATION ${SEXTANTE_PLUGIN_DIR}/grass/description)
@@ -0,0 +1,5 @@
FILE(GLOB PY_FILES *.py)
FILE(GLOB OTHER_FILES help/*.*)

INSTALL(FILES ${PY_FILES} DESTINATION ${SEXTANTE_PLUGIN_DIR}/gui)
INSTALL(FILES ${OTHER_FILES} DESTINATION ${SEXTANTE_PLUGIN_DIR}/gui/help)
@@ -0,0 +1,9 @@
FILE(GLOB HTML_FILES *.html)
FILE(GLOB OTHER_FILES *.js)
FILE(GLOB IMAGE_FILES _images/*.*)
FILE(GLOB STATIC_FILES _static/*.*)

INSTALL(FILES ${HTML_FILES} DESTINATION ${SEXTANTE_PLUGIN_DIR}/help)
INSTALL(FILES ${OTHER_FILES} DESTINATION ${SEXTANTE_PLUGIN_DIR}/help)
INSTALL(FILES ${IMAGE_FILES} DESTINATION ${SEXTANTE_PLUGIN_DIR}/help/_images)
INSTALL(FILES ${STATIC_FILES} DESTINATION ${SEXTANTE_PLUGIN_DIR}/help/_static)
@@ -0,0 +1,3 @@
FILE(GLOB IMAGE_FILES *.png)

INSTALL(FILES ${IMAGE_FILES} DESTINATION ${SEXTANTE_PLUGIN_DIR}/images)
@@ -0,0 +1,6 @@
FILE(GLOB PY_FILES *.py)

ADD_SUBDIRECTORY(fusion)
ADD_SUBDIRECTORY(lastools)

INSTALL(FILES ${PY_FILES} DESTINATION ${SEXTANTE_PLUGIN_DIR}/lidar)
@@ -0,0 +1,3 @@
FILE(GLOB PY_FILES *.py)

INSTALL(FILES ${PY_FILES} DESTINATION ${SEXTANTE_PLUGIN_DIR}/lidar/fusion)
@@ -0,0 +1,3 @@
FILE(GLOB PY_FILES *.py)

INSTALL(FILES ${PY_FILES} DESTINATION ${SEXTANTE_PLUGIN_DIR}/lidar/lastools)
@@ -0,0 +1,7 @@
FILE(GLOB PY_FILES *.py)
FILE(GLOB OTHER_FILES copyright.txt)
FILE(GLOB ICON_FILES icons/*.png)

INSTALL(FILES ${PY_FILES} DESTINATION ${SEXTANTE_PLUGIN_DIR}/mmqgisx)
INSTALL(FILES ${OTHER_FILES} DESTINATION ${SEXTANTE_PLUGIN_DIR}/mmqgisx)
INSTALL(FILES ${ICON_FILES} DESTINATION ${SEXTANTE_PLUGIN_DIR}/mmqgisx/icons)
@@ -0,0 +1,3 @@
FILE(GLOB PY_FILES *.py)

INSTALL(FILES ${PY_FILES} DESTINATION ${SEXTANTE_PLUGIN_DIR}/modeler)
@@ -0,0 +1,7 @@
FILE(GLOB PY_FILES *.py)
FILE(GLOB DESCR_FILES description/*.txt)
FILE(GLOB HELPER_FILES helper/*.py)

INSTALL(FILES ${PY_FILES} DESTINATION ${SEXTANTE_PLUGIN_DIR}/otb)
INSTALL(FILES ${DESCR_FILES} DESTINATION ${SEXTANTE_PLUGIN_DIR}/otb/description)
INSTALL(FILES ${HELPER_FILES} DESTINATION ${SEXTANTE_PLUGIN_DIR}/otb/helper)
@@ -0,0 +1,3 @@
FILE(GLOB PY_FILES *.py)

INSTALL(FILES ${PY_FILES} DESTINATION ${SEXTANTE_PLUGIN_DIR}/outputs)
@@ -0,0 +1,3 @@
FILE(GLOB PY_FILES *.py)

INSTALL(FILES ${PY_FILES} DESTINATION ${SEXTANTE_PLUGIN_DIR}/parameters)
@@ -0,0 +1,8 @@
FILE(GLOB PY_FILES *.py)
FILE(GLOB OTHER_FILES algnames.txt)

ADD_SUBDIRECTORY(html)
ADD_SUBDIRECTORY(scripts)

INSTALL(FILES ${PY_FILES} DESTINATION ${SEXTANTE_PLUGIN_DIR}/pymorph)
INSTALL(FILES ${OTHER_FILES} DESTINATION ${SEXTANTE_PLUGIN_DIR}/pymorph)
@@ -0,0 +1,5 @@
FILE(GLOB HTML_FILES *.html)

ADD_SUBDIRECTORY(morph)

INSTALL(FILES ${HTML_FILES} DESTINATION ${SEXTANTE_PLUGIN_DIR}/pymorph/html)
@@ -0,0 +1,15 @@
FILE(GLOB HTML_FILES *.html *.css)
FILE(GLOB GIF_FILES *.gif)
FILE(GLOB IMAGES_FILES images/*.*)
FILE(GLOB MMDEMOS_FILES mmdemos/*.*)
FILE(GLOB MMINFO_FILES mminfo/*.*)
FILE(GLOB MMTYPES_FILES mmtype/*.*)
FILE(GLOB MORPH_FILES morph/*.*)

INSTALL(FILES ${HTML_FILES} DESTINATION ${SEXTANTE_PLUGIN_DIR}/pymorph/html/morph)
INSTALL(FILES ${GIF_FILES} DESTINATION ${SEXTANTE_PLUGIN_DIR}/pymorph/html/morph)
INSTALL(FILES ${IMAGES_FILES} DESTINATION ${SEXTANTE_PLUGIN_DIR}/pymorph/html/morph/images)
INSTALL(FILES ${MMDEMOS_FILES} DESTINATION ${SEXTANTE_PLUGIN_DIR}/pymorph/html/morph/mmdemos)
INSTALL(FILES ${MMINFO_FILES} DESTINATION ${SEXTANTE_PLUGIN_DIR}/pymorph/html/morph/mminfo)
INSTALL(FILES ${MMTYPES_FILES} DESTINATION ${SEXTANTE_PLUGIN_DIR}/pymorph/html/morph/mmtypes)
INSTALL(FILES ${MORPH_FILES} DESTINATION ${SEXTANTE_PLUGIN_DIR}/pymorph/html/morph/morph)
@@ -0,0 +1,3 @@
FILE(GLOB PY_FILES *.py)

INSTALL(FILES ${PY_FILES} DESTINATION ${SEXTANTE_PLUGIN_DIR}/pymorph/scripts)
@@ -0,0 +1,5 @@
FILE(GLOB PY_FILES *.py)
FILE(GLOB SCRIPT_FILES scripts/*.rsx)

INSTALL(FILES ${PY_FILES} DESTINATION ${SEXTANTE_PLUGIN_DIR}/r)
INSTALL(FILES ${SCRIPT_FILES} DESTINATION ${SEXTANTE_PLUGIN_DIR}/r/scripts)
@@ -0,0 +1,7 @@
FILE(GLOB PY_FILES *.py)
FILE(GLOB DESCR_FILES description/*.txt)
FILE(GLOB HELP_FILES help/*.html)

INSTALL(FILES ${PY_FILES} DESTINATION ${SEXTANTE_PLUGIN_DIR}/saga)
INSTALL(FILES ${DESCR_FILES} DESTINATION ${SEXTANTE_PLUGIN_DIR}/saga/description)
INSTALL(FILES ${HELP_FILES} DESTINATION ${SEXTANTE_PLUGIN_DIR}/saga/help)
@@ -0,0 +1,3 @@
FILE(GLOB PY_FILES *.py)

INSTALL(FILES ${PY_FILES} DESTINATION ${SEXTANTE_PLUGIN_DIR}/script)

0 comments on commit e460dde

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