From f5e59cf2a25d35424f2b85ea382f2db13bcadff7 Mon Sep 17 00:00:00 2001 From: Reino Ruusu Date: Thu, 20 Sep 2018 16:10:03 +0300 Subject: [PATCH] Missing changes to windows build scripts. gitlab #8 Change-Id: Ie4011e34017656db307bdc3edecb64ac763c9b9e --- org.simantics.fmil.core/native/windowsbuild.bat | 4 +--- org.simantics.fmil.core/native/windowsbuildsim.bat | 9 +++++++++ 2 files changed, 10 insertions(+), 3 deletions(-) create mode 100644 org.simantics.fmil.core/native/windowsbuildsim.bat diff --git a/org.simantics.fmil.core/native/windowsbuild.bat b/org.simantics.fmil.core/native/windowsbuild.bat index e644859..5823b51 100644 --- a/org.simantics.fmil.core/native/windowsbuild.bat +++ b/org.simantics.fmil.core/native/windowsbuild.bat @@ -1,6 +1,4 @@ -cd FMILibrary-2.0.3 - -xcopy /y ..\FMUSimulator\fmi_util.c.txt .\src\Util\src\FMI\fmi_util.c +cd FMILibrary mkdir build32 cd build32 diff --git a/org.simantics.fmil.core/native/windowsbuildsim.bat b/org.simantics.fmil.core/native/windowsbuildsim.bat new file mode 100644 index 0000000..6ff8cbb --- /dev/null +++ b/org.simantics.fmil.core/native/windowsbuildsim.bat @@ -0,0 +1,9 @@ +msbuild FMUSolution.sln /p:Configuration=Release /p:Platform=Win32 +msbuild FMUSolution.sln /p:Configuration=Debug /p:Platform=Win32 + +xcopy /y Release\*.dll ..\..\org.simantics.fmil.win32\libraries + +msbuild FMUSolution.sln /p:Configuration=Release /p:Platform=x64 +msbuild FMUSolution.sln /p:Configuration=Debug /p:Platform=x64 + +xcopy /y x64\Release\*.dll ..\..\org.simantics.fmil.win64\libraries -- 2.47.1