visual-studio-2010 - 将 .rules 文件转换为 Visual Studio 2010 .targets 文件

标签 visual-studio-2010 custom-build-step

我正在尝试在 Visual Studio 2010 中设置 flex 和 bison。我在网上找到了一个 .rules 文件,但它只能在 vs2k5/2k8 中使用。如何将其转换为较新的“.targets”格式?

这是文件:

http://pastebin.com/Xxt6hGdb

有什么工具可以做到这一点吗?

谢谢!

伊万

最佳答案

我使用以下链接中提供的 TinyMath 项目进行测试。
http://msdn.microsoft.com/en-us/library/aa730877%28vs.80%29.aspx
VS2010 会自动将其转换为 .targets 格式。

关于visual-studio-2010 - 将 .rules 文件转换为 Visual Studio 2010 .targets 文件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5663344/

相关文章:

c++ - C++中的模板成员函数重载和多重继承

c++ - 应用程序无法正确启动 (0xc0000013)。单击确定关闭应用程序

visual-studio - 自定义构建步骤和构建后事件之间有什么区别?

visual-studio - Visual Studio 中的自定义构建规则,具有多个输出

c++ - lambda 及其捕获的值

c# - 从 VS 2010 扩展在代码编辑器中打开无文件源代码文档

c++ - x86 和 x64 之间浮点运算的差异

c++ - 如何解决错误 MSB6006 : "cmd.exe" exited with code 3?

c++ - VS 2015 "Build Dependencies -> Build Customization"总是触发 PreBuild 和 PostBuild

MSBuild自定义任务 "Hello World"演练