-
Notifications
You must be signed in to change notification settings - Fork 166
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: custombuildtask multiple command calls not allowed in Ninja #420
Comments
See: https://milostosic.github.io/build/ It's set of GENie build scripts, that supports Qt too. |
mmm really interested, I will take a look at this auto project setup, but independently of this autogen with QT support, Does Ninja supports double command in a same file? I checked that VS can but with Ninja I´m not sure. |
mame appears to be affected too (you have to fix some $ escaping errors first): custombuildtask {
{ MAME_DIR .. "scripts/font/NotoSans-Bold.bdc", GEN_DIR .. "emu/uismall.fh", { MAME_DIR .. "scripts/build/file2str.py" }, { "@echo Converting NotoSans-Bold.bdc...", PYTHON .. " $(1) $(<) $(@) font_uismall uint8_t" } },
}
custombuildtask {
{ MAME_DIR .. "src/frontend/mame/ui/uicmd14.png", GEN_DIR .. "emu/ui/uicmd14.fh", { MAME_DIR.. "scripts/build/png2bdc.py", MAME_DIR .. "scripts/build/file2str.py" }, { "@echo Converting uicmd14.png...", PYTHON .. " $(1) $(<) temp_cmd.bdc", PYTHON .. " $(2) temp_cmd.bdc $(@) font_uicmd14 uint8_t" } }, |
Per this:
Per the ninja manual on
|
When I try to compile this with a second command (echo) and error occurs.
I tried if there is a MOC error, but if I use 2 echo commands the error output are the same, I dont know if is a Ninja or not....
ninja: error: ASDF.ninja:40: multiple rules generate ../../_input_file.cpp [-w dupbuild=err]
The text was updated successfully, but these errors were encountered: