]> gerrit.simantics Code Review - simantics/fmil.git/commitdiff
Missing changes to windows build scripts. 14/2214/1
authorReino Ruusu <reino.ruusu@semantum.fi>
Thu, 20 Sep 2018 13:10:03 +0000 (16:10 +0300)
committerReino Ruusu <reino.ruusu@semantum.fi>
Thu, 20 Sep 2018 13:10:03 +0000 (16:10 +0300)
gitlab #8

Change-Id: Ie4011e34017656db307bdc3edecb64ac763c9b9e

org.simantics.fmil.core/native/windowsbuild.bat
org.simantics.fmil.core/native/windowsbuildsim.bat [new file with mode: 0644]

index e644859e239111539869ecf53071d6365a0e04b9..5823b518000359b7d4907e68f6e9fb754df2e1ae 100644 (file)
@@ -1,6 +1,4 @@
-cd FMILibrary-2.0.3\r
-\r
-xcopy /y ..\FMUSimulator\fmi_util.c.txt .\src\Util\src\FMI\fmi_util.c\r
+cd FMILibrary\r
 \r
 mkdir build32\r
 cd build32\r
diff --git a/org.simantics.fmil.core/native/windowsbuildsim.bat b/org.simantics.fmil.core/native/windowsbuildsim.bat
new file mode 100644 (file)
index 0000000..6ff8cbb
--- /dev/null
@@ -0,0 +1,9 @@
+msbuild FMUSolution.sln /p:Configuration=Release /p:Platform=Win32\r
+msbuild FMUSolution.sln /p:Configuration=Debug /p:Platform=Win32\r
+\r
+xcopy /y Release\*.dll ..\..\org.simantics.fmil.win32\libraries\r
+\r
+msbuild FMUSolution.sln /p:Configuration=Release /p:Platform=x64\r
+msbuild FMUSolution.sln /p:Configuration=Debug /p:Platform=x64\r
+\r
+xcopy /y x64\Release\*.dll ..\..\org.simantics.fmil.win64\libraries\r