将基于凤凰的编译器部署到Visual Studio? [英] deploy a phoenix-based compiler to Visual Studio?
本文介绍了将基于凤凰的编译器部署到Visual Studio?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
您好,有没有人知道将基于Phoenix框架的编译器部署到Visual Studio是多么困难,以便可以使用凤凰衍生编译器编写和编译程序C#等等?小心,左
如果你想用C ++编译器编译,那很简单。
方法1:启动一个凤凰命令窗口,然后输入"devenv / useenv"。
方法2:将合适的目录添加到"工具"|选项|项目和解决方案| VC ++目录"。
左右,您可以使用项目的自定义命令行对话框将选项传递给phoenix。
如果您有自己的语言和自己的编译器,您需要探索如何扩展Visual Studio。 这可能是一个很好的起点。
Hi there,
Does anyone know how hard it is do deploy a compiler based on the Phoenix framework to Visual Studio such that one may write and compile programs using the phoenix-derived compiler as one would C#, etc?
Take care,
John
解决方案
If you want to compile with the C++ compiler, it's pretty easy.
Method 1: Start up a phoenix command window, then type "devenv /useenv".
Method 2: Add suitable directories to "Tools | Options | Projects and Solutions | VC++ Directories".
Either way you, can pass options to phoenix by using the custom command line dialog for a project.
If you have your own language and your own compiler, you need to explore how to extend Visual Studio. This might be a good starting point.
这篇关于将基于凤凰的编译器部署到Visual Studio?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文