mirror of
https://github.com/love2d/megasource.git
synced 2026-08-12 00:20:55 +02:00
Revert "Updated LuaJIT build command from AuahDark: pass in debug for debug builds, and amalg for release builds."
This reverts commit 915d5a1fb9.
This commit is contained in:
+2
-3
@@ -316,8 +316,7 @@ if(MSVC AND NOT MEGA_ARM64)
|
||||
call \"${MEGA_MSVC_VCVARSALL_BAT}\" ${MEGA_MSVC_VCVARSALL_BAT_ARG}
|
||||
)
|
||||
cd \"${MEGA_LUAJIT_SOURCE_DIR}/src\"
|
||||
if %1 == \"\" shift /1
|
||||
msvcbuild.bat %1 %2
|
||||
msvcbuild.bat
|
||||
")
|
||||
|
||||
file(WRITE ${MEGA_LUAJIT_SOURCE_DIR}/megabuild.bat ${MEGA_LUAJIT_BUILD_BAT})
|
||||
@@ -326,7 +325,7 @@ if(MSVC AND NOT MEGA_ARM64)
|
||||
SOURCE_DIR ${MEGA_LUAJIT_SOURCE_DIR}
|
||||
BUILD_IN_SOURCE 1
|
||||
CONFIGURE_COMMAND ""
|
||||
BUILD_COMMAND "${MEGA_LUAJIT_SOURCE_DIR}/megabuild.bat" $<$<OR:$<CONFIG:Debug>,$<CONFIG:RelWithDebInfo>>:debug> $<$<NOT:$<CONFIG:Debug>>:amalg>
|
||||
BUILD_COMMAND "${MEGA_LUAJIT_SOURCE_DIR}/megabuild.bat"
|
||||
INSTALL_COMMAND cmake -E make_directory ${CMAKE_BINARY_DIR}/bin
|
||||
COMMAND cmake -E copy ${MEGA_LUAJIT_SOURCE_DIR}/src/lua51.dll ${CMAKE_BINARY_DIR}/bin
|
||||
COMMAND cmake -E copy ${MEGA_LUAJIT_SOURCE_DIR}/src/lua51.lib ${CMAKE_BINARY_DIR}/bin)
|
||||
|
||||
Reference in New Issue
Block a user