From: asl Date: Fri, 7 Oct 2016 11:20:19 +0000 (+0300) Subject: patch for generated files creation X-Git-Tag: v1.6~61 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=33139c97835b86023cd9c4b506d0caa69b2bbf70;p=modules%2Fhydro.git patch for generated files creation --- diff --git a/src/HYDROPy/CMakeLists.txt b/src/HYDROPy/CMakeLists.txt index 51954d54..18ceff0c 100644 --- a/src/HYDROPy/CMakeLists.txt +++ b/src/HYDROPy/CMakeLists.txt @@ -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