'APPLICATION.products.ParaView' : {tag: '5.11.0', base: 'no', section : 'version_5_11_0_win_dbg' }
'APPLICATION.products.zlib' : {tag: '1.2.5', base: 'no', section : 'version_1_2_5_win_dbg' }
'APPLICATION.products.gmsh' : {tag: '4.10.3', base: 'no', section : 'version_4_10_3_win_dbg' }
+ 'APPLICATION.products.cmake' : '3.0.12' # until CMP0078 and - cmake 3.24 fixed shows a serious issue about import which needs to be addressed
}
{
__condition__ : "APPLICATION.debug == 'yes' and APPLICATION.pyver == '3.6'"
'APPLICATION.products.ParaView' : {tag: '5.11.0', base: 'no', section : 'version_5_11_0_win_dbg' }
'APPLICATION.products.zlib' : {tag: '1.2.5', base: 'no', section : 'version_1_2_5_win_dbg' }
'APPLICATION.products.gmsh' : {tag: '4.10.3', base: 'no', section : 'version_4_10_3_win_dbg' }
+ 'APPLICATION.products.cmake' : '3.0.12' # until CMP0078 and - cmake 3.24 fixed shows a serious issue about import which needs to be addressed
}
]
cd %SOURCE_DIR%
xcopy * %BUILD_DIR%\ /E /I /Q
cd %BUILD_DIR%
-del /Q /S %BUILD_DIR%\src\pyfmi\*.c
+
+if NOT %PYTHON_VERSION% == 3.6 (
+ del /Q /S %BUILD_DIR%\src\pyfmi\*.c
+)
+
+if %PYTHON_VERSION% == 3.6 (
+ COPY /Y %BUILD_DIR%\src\pyfmi\fmi.pyx.3.6.5 %BUILD_DIR%\src\pyfmi\fmi.pyx
+)
+
set INSTALL_LIB=%PRODUCT_INSTALL%\lib\python%PYTHON_VERSION%\site-packages
if NOT exist "%INSTALL_LIB%" mkdir %INSTALL_LIB%
set PYTHONPATH=%INSTALL_LIB%;%PYTHONPATH%