2010年12月20日月曜日

「VC 2010 Expressでx64コンパイル」を見つけて嬉しかったのでメモ

VC 2010 Expressでx64コンパイル(How to compile x64 app with VC 2010 Express)
mnemotoさんありがとう
<?xml version=”1.0″ encoding=”utf-8″?>
<Project DefaultTargets=”Build” ToolsVersion=”4.0″ xmlns=”http://schemas.microsoft.com/developer/msbuild/2003“>
  <PropertyGroup>
    <SourcePath>$(SourcePath)</SourcePath>
    <IntDir>$(SolutionDir)$(Platform)\$(Configuration)\</IntDir>
    <IncludePath>C:\Program Files\Microsoft SDKs\Windows\v7.1\Include;C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include</IncludePath>
    <LibraryPath>C:\Program Files\Microsoft SDKs\Windows\v7.1\Lib\x64;C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\lib\amd64</LibraryPath>
   
    <TrackFileAccess>false</TrackFileAccess>
  </PropertyGroup>
</Project>
set “PATH=%PATH%;C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\amd64″
set “INCLUDE=C:\Program Files\Microsoft SDKs\Windows\v7.1\Include;C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include”
set “LIB=C:\Program Files\Microsoft SDKs\Windows\v7.1\Lib\x64;C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\lib\amd64″
bjam release debug threading=multi link=static runtime-link=static toolset=msvc address-model=64

0 件のコメント:

コメントを投稿