[Greater-commits] r358 - trunk/GREAT-ER-DB

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Wed Jul 6 17:12:08 CEST 2011


Author: bricks
Date: 2011-07-06 17:12:08 +0200 (Wed, 06 Jul 2011)
New Revision: 358

Modified:
   trunk/GREAT-ER-DB/CMakeLists.txt
Log:
Generation of dagrater python wrapper depends on all generator python files


Modified: trunk/GREAT-ER-DB/CMakeLists.txt
===================================================================
--- trunk/GREAT-ER-DB/CMakeLists.txt	2011-07-06 15:10:48 UTC (rev 357)
+++ trunk/GREAT-ER-DB/CMakeLists.txt	2011-07-06 15:12:08 UTC (rev 358)
@@ -85,6 +85,17 @@
     ${CMAKE_SOURCE_DIR}/GreaterDB/interface.pyc
     )
 
+set(PYDAGREATER_GENERATOR_FILES
+    ${CMAKE_SOURCE_DIR}/generator/WrapperGenerator/typesystem.py
+    ${CMAKE_SOURCE_DIR}/generator/WrapperGenerator/cmodule.py
+    ${CMAKE_SOURCE_DIR}/generator/WrapperGenerator/functions.py
+    ${CMAKE_SOURCE_DIR}/generator/GreaterAPIGenerator/cfiles.py
+    ${CMAKE_SOURCE_DIR}/generator/GreaterAPIGenerator/dbfunctions.py
+    ${CMAKE_SOURCE_DIR}/generator/GreaterAPIGenerator/greatertypes.py
+    ${CMAKE_SOURCE_DIR}/generator/GreaterAPIGenerator/main.py
+    ${CMAKE_SOURCE_DIR}/generator/GreaterAPIGenerator/pyfiles.py
+    )
+
 install(FILES
     ${CMAKE_CURRENT_BINARY_DIR}/dagreater/pydagreater.py
     ${PYDAGREATER_FILES}
@@ -98,6 +109,7 @@
             -o ${CMAKE_CURRENT_BINARY_DIR}/dagreater
             -i ${CMAKE_SOURCE_DIR}/dagreater
             DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/dagreater/apispec.py ${CMAKE_SOURCE_DIR}/generatewrapper.py
+            ${PYDAGREATER_GENERATOR_FILES}
 )
 
 macro(python_compile PYTHON_FILE)



More information about the Greater-commits mailing list