option功能怎么通入编译输入参数添加指定文件夹的xmake脚本 #2980
Answered
by
lucas-wu-wakakak
lucas-wu-wakakak
asked this question in
Q&A
-
有多个项目共用一套代码,现在需要根据xmake --var=dir 来添加指定dir下的子脚本进行分项目编译。 |
Beta Was this translation helpful? Give feedback.
Answered by
lucas-wu-wakakak
Oct 26, 2022
Replies: 2 comments 17 replies
-
干嘛要这么折腾, 然后 也可以将 target 通过 set_group 分组设置,按 |
Beta Was this translation helpful? Give feedback.
17 replies
-
我可能偏离重点了,有没有编译传入的option参数变成环境宏的方法,这个环境宏可以用来配置路径,在string中能够替换生效?目前暂时没有更完美解决此问题的方法 |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
lucas-wu-wakakak
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
我可能偏离重点了,有没有编译传入的option参数变成环境宏的方法,这个环境宏可以用来配置路径,在string中能够替换生效?
目前暂时没有更完美解决此问题的方法