You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you run xmake build on a file which has already been compiled, then the linking.release step is skipped. Therefore, the new binary is not created. This results in the previous binary being used during xmake run.
jteppinette
changed the title
Build Ignores Changes After Closing GUI Application
Linking.Release Skipped When Building Previously Cached Files
Aug 7, 2022
Version
v2.6.9+202207181016
Operating System Version and Architecture
macOS 12.4 M1
Describe Bug
If you run
xmake build
on a file which has already been compiled, then thelinking.release
step is skipped. Therefore, the new binary is not created. This results in the previous binary being used duringxmake run
.main.cpp - v1
xmake.lua
build - v1
main.cpp - v2
build - v2
main.cpp - v1
build - v1
Notice, above, the
linking.release
stage was skipped and the resulting binary wrote2
instead of1
to the console.Temporary Resolution
I was able to remediate this issue by disabling the build cache:
xmake.lua
The text was updated successfully, but these errors were encountered: