@waruqi thank you, this seems to work. However my next issue is now to correctly escape qoutes in cflags. I want to add a string to cflag like this:
-DBUILD_DATE='"08/01/2021 09.29"' , but have not been able to figure out the right syntax to escape quotes. Ie. target:add("cflags", "-DBUILD_DATE='\"" .. build_date .. "\"'") does not seem to be accepted: checking for flags (-DBUILD_DATE='"11-01-2021 09:35:29"') ... no
@waruqi It works and my project is now building successfully. However i have an dependency issue with specific group of files that are being build on every call to xmake even though there are no changes in them. Anyway to debug/log dependencies
Please open an issue on github and provide a reproducible demo example
I have supported this toolchain, you can try it again.
add_linkdirs("lib") target("bgfxminimal") -- not able to compile set_kind("binary") add_files("helloworld.cpp") add_includedirs("lib/inc") add_links("procu")
Hi, I need help. I'm compiling a C resource file in Windows. It need to be converted to a .res using MSVC 's rc, then to a .obj using MSVC 's cvtres so it an be compiled, is there a way for xmake to do this or I have to find compiler's folder and call these operations one by one?
Does JetBrains IDEs have an updated plugin? The one in the Store cannot be installed cuz does not support v2021.X. Should it work if only the version requirement changes?
Please use the xmake-vscode plugin. The latest idea is no longer compatible with this xmake-idea plugin, but I have no time to update and upgrade it recently, which requires a lot of work.