]> Creatis software - gdcm.git/commitdiff
ENH: Now gdcmVersion.py is automatically generated
authormalaterre <malaterre>
Sun, 2 May 2004 23:57:30 +0000 (23:57 +0000)
committermalaterre <malaterre>
Sun, 2 May 2004 23:57:30 +0000 (23:57 +0000)
gdcmPython/CMakeLists.txt

index 9a96db541983222e1dedaa3ba3098dba043484d1..eb5c1a19999f7de5d2aa7db341b6411797612240 100644 (file)
@@ -8,6 +8,12 @@ INCLUDE_DIRECTORIES(
   ${GDCM_BINARY_DIR}/
 )
 
+#-----------------------------------------------------------------------------
+# Create the gdcmVersion.py file:
+FILE(WRITE ${GDCM_BINARY_DIR}/gdcmVersion.py
+  "gdcmVERSION=\"${GDCM_VERSION_FULL}\""
+  )
+
 #-----------------------------------------------------------------------------
 # SWIG Wrapping
 #