理解 makefile 标志
输入:不指向 C# 解决方案的 makefile
输出:新的 makefile、解决方案和项目 (.csproj) -> makefile 指向一个解决方案,该解决方案指向一个项目
Makefile 有很多标志,例如:
# sample.makefile
# author: me
LIBRARY_A = YES
LIBRARY_B = YES
LIBRARY_C = YES
这些标志,我相信,指向 .def 或 .dll的。我的脚本将读取 makefile 标志,然后在 csproj 文件中添加正确的 XML 标记以捕获项目引用。我恳请您帮助解决两个问题:
1)我如何弄清楚这些标志指向什么?
2) 是否可以只包含所有库,即跳过确定需要包含哪些库的工作?
Input: makefile that doesn't point to a C# solution
Output: new makefile, solution and project (.csproj)
-> the makefile points to a solution, which points to a project
There are many makefile flags, such as:
# sample.makefile
# author: me
LIBRARY_A = YES
LIBRARY_B = YES
LIBRARY_C = YES
These flags, I believe, point to .def's or .dll's. My script will read a makefile flag, then add the correct XML tags within the csproj file to capture the project references. Two questions that I kindly request your help with:
1) how do I figure out what these flags point to?
2) is it OK to just include all of the libraries, i.e. skip the work of figuring out which libraries need to be included?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
1.
这些不仅仅是一些标志,它们是变量。例如,每当使用
${LIBRARY_A}
时,该值都会扩展到其关联值。2.
要回答这个问题,应该查阅该项目的文档。
1.
Those are not just some flags, those are variables. Whenever
${LIBRARY_A}
for example is used, the value is expanded to its associated value.2.
To answer that, the documentation of the project should be consulted.