File: CMakeLists.txt

package info (click to toggle)
qgis 1.7.4%2B1.7.5~20120320-1.1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 143,016 kB
  • sloc: cpp: 251,078; ansic: 241,021; python: 19,098; sh: 1,709; xml: 1,066; perl: 841; yacc: 269; lex: 188; makefile: 133; sql: 129
file content (11 lines) | stat: -rw-r--r-- 467 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
FILE(GLOB PY_FILES *.py)
FILE(GLOB UI_FILES *.ui)
FILE(GLOB COLOR_CONFIG_FILES terrain.txt)

PYQT4_WRAP_UI(PYUI_FILES ${UI_FILES})

ADD_CUSTOM_TARGET(gdaltools_tools ALL DEPENDS ${PYUI_FILES})

INSTALL(FILES ${PY_FILES} DESTINATION ${QGIS_DATA_DIR}/python/plugins/GdalTools/tools)
INSTALL(FILES ${PYUI_FILES} DESTINATION ${QGIS_DATA_DIR}/python/plugins/GdalTools/tools)
INSTALL(FILES ${COLOR_CONFIG_FILES} DESTINATION ${QGIS_DATA_DIR}/python/plugins/GdalTools/tools)