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
It's a bit different from my case. I created a directory thirdparty to store dependencies, and called add_packagedirs("thirdparty") in the project's xmake.lua.
In one of the denpendencies:
-- In xmake.lua
option("xxx")
-- ...
-- This line doesn't work.
add_includedirs("xxxxx")
-- ...
and in the project's xmake.lua:
-- ...
add_packagedirs("thirdparty")
-- ...
target("xxx")
-- ...
-- This line doesn't make include directories from "xxx" visible to `nvcc` compiler.
add_packages("xxx")
-- ...
Per the title, when compiling
*.cu
files withnvcc
, include directories set by external packages are not added as-Ixxx
to the compiler flags.The text was updated successfully, but these errors were encountered: