Replies: 2 comments 5 replies
-
add_files("src/.c++", {rules = "c++"}) 或者 target:add("files", "src/.c++", {rules = "c++"}) |
Beta Was this translation helpful? Give feedback.
0 replies
-
试了下没成功,这里有个工程例子,麻烦看一下,能怎么解决。 改名也可以,不过不知道在哪个时机改不会报文件找不到的错误 |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
请问:
用了自己仿照protobuf.cpp的rule写的capnp.cpp,生成的文件后缀是".c++“。
暂时不考虑生成后做改名的话,怎么让它被识别为cxx?
(如果在buildcmds:vrunv(capnp...)后去重命名,在第一次运行时会报错说要被重命名的文件找不到)
Beta Was this translation helpful? Give feedback.
All reactions