mirror of
https://github.com/RandomityGuy/MBHaxe.git
synced 2026-02-25 15:41:01 +00:00
UWP: Add UWP hxml to generate static lib
This commit is contained in:
parent
54c7c6ecb1
commit
8301e577c5
1 changed files with 14 additions and 0 deletions
14
compile-uwp.hxml
Normal file
14
compile-uwp.hxml
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
-D uwp
|
||||
|
||||
--each
|
||||
--next
|
||||
|
||||
compile-c.hxml
|
||||
|
||||
# Note: I don't think hashlink supports exporting a lib project..
|
||||
# The following sed changes from Application exe to Static lib
|
||||
# After building the lib, you can build the final exe in a minimal uwp wrapper project (to be supplied later)
|
||||
-cmd sed -i "s/<ConfigurationType>Application<\/ConfigurationType>/<ConfigurationType>StaticLibrary<\/ConfigurationType>/g" native/marblegame.vcxproj
|
||||
-cmd sed -i "s/<TargetExt>.exe<\/TargetExt>/<TargetExt>.lib<\/TargetExt>/g" native/marblegame.vcxproj
|
||||
|
||||
-cmd MSBuild.exe -m -nologo -p:Configuration=Debug -p:Platform=x64 -p:PlatformToolset=v142 -v:minimal native/marblegame.sln
|
||||
Loading…
Add table
Reference in a new issue