我如何制作视觉工作室项目? [英] How can I make visual studio project?

查看:65
本文介绍了我如何制作视觉工作室项目?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨。



我想制作Mozilla开源视觉工作室项目。所以我在google上搜索了很多文章并跟着它。



http://gregoryszorc.com/blog/2012/08/15/build-firefox-faster-with-build-splendid/ [ ^ ]

http:// gregoryszorc。 com / blog / 2012/08/28 / visual-studio-project-generation-for-mozilla-central / [ ^ ]



但是制作的解决方案没有正常工作,我不能使用它。

有谁知道如何制作Mozilla opensource的visual studio项目?



请帮帮我。



※我是我认为这个问题在C ++标签上不合适,但是没有关于此的标签。原谅我。

解决方案

代码打击来自TCPG.vcxproj内部它是XML格式。仔细检查一下。删除对我的文件和资源的引用,逐行插入,替换变量和类型等等,并用Mozilla头文件,源代码和资源以及库等中的相应信息替换。



 <?  xml  < span class =code-summarycomment>   version   =  1.0    encoding   =   utf-8  >  
< 项目 DefaultTargets = 构建 ToolsVersion = 12.0 xmlns = http://schemas.microsoft.com/developer/msbuild/2003 >
< ItemGroup 标签 = ProjectConfigurations >
< ProjectConfiguration 包含 = Debug | Win32 >
< 配置 > 调试< / Configuration >
< 平台 > Win32 < / Platform >
< / ProjectConfiguration >
< ProjectConfiguration 包含 = 发布| Win32 >
< 配置 > 发​​布< / Configuration >
< 平台 > Win32 < / Platform >
< / ProjectConfiguration >
< / ItemGroup >
< PropertyGroup 标签 = Globals < span class =code-keyword>>
< ProjectGuid > {D84382EC-447A-44E4-B6C3-A6B2D4A9B299} < / ProjectGuid >
< RootNamespace > TCPG < / RootNamespace >
< 关键字 > MFCProj < / Keyword >
< / PropertyGroup >
< 导入 项目 =


(VCTargetsPath)\ Microsoft.Cpp.Default.props / >
< PropertyGroup 条件 = '

(配置)|

Hi.

I wanna make visual studio projects of Mozilla open source. So I've searched many articles on google and follow that.

http://gregoryszorc.com/blog/2012/08/15/build-firefox-faster-with-build-splendid/[^]
http://gregoryszorc.com/blog/2012/08/28/visual-studio-project-generation-for-mozilla-central/[^]

But solutions made from is not properly worked and I can't use that.
Is anybody know how to make visual studio project of Mozilla opensource?

Please help me.

※I also think this question is not proper at C++ tag, but there is no tags exists about this. Forgive me.

解决方案

The code blow is from the inside of TCPG.vcxproj It is in XML. Go through it carefully. Remove references to my files and resources and insert yours, line by line, replace the variables and types and whatever, and replace with the proper information from you Mozilla headers and sources and resources, and libraries, etc.

<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <ItemGroup Label="ProjectConfigurations">
    <ProjectConfiguration Include="Debug|Win32">
      <Configuration>Debug</Configuration>
      <Platform>Win32</Platform>
    </ProjectConfiguration>
    <ProjectConfiguration Include="Release|Win32">
      <Configuration>Release</Configuration>
      <Platform>Win32</Platform>
    </ProjectConfiguration>
  </ItemGroup>
  <PropertyGroup Label="Globals">
    <ProjectGuid>{D84382EC-447A-44E4-B6C3-A6B2D4A9B299}</ProjectGuid>
    <RootNamespace>TCPG</RootNamespace>
    <Keyword>MFCProj</Keyword>
  </PropertyGroup>
  <Import Project="


(VCTargetsPath)\Microsoft.Cpp.Default.props" /> <PropertyGroup Condition="'


(Configuration)|


这篇关于我如何制作视觉工作室项目?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆