Replies: 1 comment 1 reply
-
you can write on_buildcmd_file in custom rule to override builtin build command, then use os.exec to call gcc to build it. xmake/xmake/rules/lex_yacc/yacc/xmake.lua Line 49 in 643719b |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
CMake offers this kind of command customization:
https://cmake.org/cmake/help/latest/variable/CMAKE_LANG_COMPILE_OBJECT.html
This allows to describe exactly how we want the command to look like (Very useful for the embedded world).
Is there any equivalent in XMake?
Beta Was this translation helpful? Give feedback.
All reactions