From: Reino Ruusu Date: Thu, 20 Sep 2018 13:10:03 +0000 (+0300) Subject: Missing changes to windows build scripts. X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=commitdiff_plain;h=f5e59cf2a25d35424f2b85ea382f2db13bcadff7;p=simantics%2Ffmil.git Missing changes to windows build scripts. gitlab #8 Change-Id: Ie4011e34017656db307bdc3edecb64ac763c9b9e --- 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