]> SALOME platform Git repositories - modules/hydro.git/commitdiff
Salome HOME
patch for generated files creation
authorasl <asl@opencascade.com>
Fri, 7 Oct 2016 11:20:19 +0000 (14:20 +0300)
committerasl <asl@opencascade.com>
Fri, 7 Oct 2016 11:20:19 +0000 (14:20 +0300)
src/HYDROPy/CMakeLists.txt

index 51954d5496b1705e98c7a25e70e78fcbf7493ddf..18ceff0c11aaa67adf02fdc717723561233d25ab 100644 (file)
@@ -88,6 +88,12 @@ SET(_add_SOURCES
   ${CMAKE_CURRENT_BINARY_DIR}/sipHYDROPyHYDROData_BathymetryAltitudePoint.cc
 )
 
+foreach( add_file ${_add_SOURCES})
+  if(NOT EXISTS ${add_file})
+    file(WRITE ${add_file} "")
+  endif()
+endforeach()
+
 # --- sources ---
 
 # sources / sip wrappings