Switched LuaJIT to source build on Windows#280
Merged
Causeless merged 1 commit intoMay 28, 2026
Merged
Conversation
Wires libluajit.vcxproj into RTEA.sln + adds a ProjectReference from RTEA so MSBuild source-builds LuaJIT every build, matching the Linux/macOS Meson flow. The committed _Bin/luajit-*.lib prebuilts (unknown vintage + build flags) go away. RTEA -> libluajit config mapping: Debug Full -> Debug, Debug Minimal / Debug Release / Profiling -> RelWithDebInfo, Final -> Release. Also drops the prebuilt-fallback branch in LuaJIT's meson.build, removes the now-vestigial use_prebuilt_libraries option, prepends '.' to PATH in msvc-pre/postbuild.bat (so minilua + buildvm work under NoDefaultCurrentDirectoryInExePath=1), and adds _Bin/luajit-* to .gitignore (was only catching _Bin/libluajit*). Verified: Windows MSBuild Final/Debug Full/Debug Minimal/Debug Release all x64 build clean; LuaJIT subproject Meson source-build on Linux clean; vanilla CC launches + reaches main menu with full mod stack.
Causeless
approved these changes
May 28, 2026
Merged
via the queue into
cortex-command-community:development
with commit May 28, 2026
20dfb3e
4 checks passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Follow-up to #279 (the LuaJIT WohlSoft fork switch).
Drops the committed
_Bin/luajit-*.libprebuilts (unknown vintage + build flags) and wiresexternal/sources/LuaJIT-2.1/libluajit.vcxprojintoRTEA.slnvia aProjectReference, so MSBuild source-builds LuaJIT every build (same path Linux + macOS already use through Meson).RTEA → libluajit config mapping:
Debug Full→Debug,Debug Minimal/Debug Release/Profiling→RelWithDebInfo,Final→Release.Also drops the now-dead prebuilt-fallback branch from LuaJIT's
meson.build, removes the vestigialuse_prebuilt_librariesoption, and prepends.toPATHinmsvc-prebuild.bat+msvc-postbuild.batsominiluaandbuildvmwork underNoDefaultCurrentDirectoryInExePath=1..gitignorewidened from_Bin/libluajit*to also catch_Bin/luajit-*.Built clean on Windows MSBuild (Final / Debug Full / Debug Minimal / Debug Release, x64) and Linux Meson via WSL2. Vanilla game launches and reaches the main menu with the full mod stack.