Always build LuaJIT amalgamated and with debug information.

Building LuaJIT with "debug" does not increase the size of the binary and
Visual Studio is able to pick correct source files even when LuaJIT is
compiled with amalgamated option.
This commit is contained in:
Miku AuahDark
2023-01-14 15:21:11 +08:00
parent 2ccf2ae9a4
commit 99b2757fc5
+1 -1
View File
@@ -316,7 +316,7 @@ if(MSVC AND NOT MEGA_ARM64)
call \"${MEGA_MSVC_VCVARSALL_BAT}\" ${MEGA_MSVC_VCVARSALL_BAT_ARG}
)
cd \"${MEGA_LUAJIT_SOURCE_DIR}/src\"
msvcbuild.bat
msvcbuild.bat debug amalg
")
file(WRITE ${MEGA_LUAJIT_SOURCE_DIR}/megabuild.bat ${MEGA_LUAJIT_BUILD_BAT})