diff options
Diffstat (limited to 'source/luametatex/build.sh')
-rw-r--r-- | source/luametatex/build.sh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/source/luametatex/build.sh b/source/luametatex/build.sh index 2f5514316..a8a834a7c 100644 --- a/source/luametatex/build.sh +++ b/source/luametatex/build.sh @@ -15,6 +15,9 @@ # mtxrun.lua (latest version) # context.lua (latest version) +# This test is not yet okay but I have no time (or motivation) to look into it now, so for now we don't +# use ninja (not that critical). + #NINJA=$(which ninja); #if (NINJA) then # NINJA="-G Ninja"
@@ -49,6 +52,15 @@ then cd build/mingw-64-ucrt cmake $NINJA -DCMAKE_TOOLCHAIN_FILE=./cmake/mingw-64-ucrt.cmake ../.. + +elif [ "$1" = "cygwin" ] || [ "$1" = "--cygwin" ] +then + PLATFORM="cygwin" + SUFFIX=".exe" + mkdir -p build/cygwin + cd build/cygwin + cmake $NINJA ../.. + else PLATFORM="native" |