diff options
| author | Simon Rettberg | 2016-03-30 12:06:00 +0200 |
|---|---|---|
| committer | Simon Rettberg | 2016-03-30 12:06:00 +0200 |
| commit | d27c3de74a40b0544ecbc51cddd02f1277feb28f (patch) | |
| tree | bb381f2a02c4b76032c2eb8a031221e9d03e4b2c /remote/modules/run-virt/winres/compile | |
| parent | [vmchooser2] Pass --no-vtx to vmchooser if applicable (diff) | |
| download | tm-scripts-d27c3de74a40b0544ecbc51cddd02f1277feb28f.tar.gz tm-scripts-d27c3de74a40b0544ecbc51cddd02f1277feb28f.tar.xz tm-scripts-d27c3de74a40b0544ecbc51cddd02f1277feb28f.zip | |
[run-virt] Better support for win10 folder remapping
Diffstat (limited to 'remote/modules/run-virt/winres/compile')
| -rwxr-xr-x | remote/modules/run-virt/winres/compile | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/remote/modules/run-virt/winres/compile b/remote/modules/run-virt/winres/compile new file mode 100755 index 00000000..772571fb --- /dev/null +++ b/remote/modules/run-virt/winres/compile @@ -0,0 +1,13 @@ +#!/bin/sh + +rm -- winres.exe +i686-w64-mingw32-windres -i winres.rc -o resource.res -O coff +i686-w64-mingw32-gcc -Wall -Wextra -pedantic -Wno-unused-parameter -std=c99 -Os -Wl,--subsystem,windows -o winres.exe winres.c resource.res -lole32 -luuid -lgdi32 -lws2_32 -lshell32 -lmpr +rm -- resource.res +if strip winres.exe; then + echo "Successfully created winres.exe" + echo "It has NOT been moved to data/.../openslx.exe" +else + echo "FAIL FAIL FAIL no EXE generated!" +fi + |
