64位移植: 显示详细的build信息
来源:互联网 发布:数据库发展趋势 编辑:程序博客网 时间:2024/06/03 19:48
VS 的编译过程对程序员来说是透明的。我们不能看到编译的选项和链接的过程。如果想看到和makefile 一样的编译过程,请使用MSBUILD 命令。VS2010 -> VS tools -> VS x64 Win64 Command Prompt 执行MSBUILD命令。 一般常用的就是3种命令:
>msbuild.exe [project file]/t:build >build.txt
>msbuild.exe [project file]/t:clean>build.txt
>msbuild.exe [project file] /t:rebuild >build.txt
D:\Projects\DLL>msbuild dll.sln /t:rebuildMicrosoft (R) Build Engine Version 4.0.30319.1
[Microsoft .NET Framework, Version 4.0.30319.237]
Copyright (C) Microsoft Corporation 2007. All rights reserved.
Build started 11/2/2012 3:58:36 PM.
Project "D:\Projects\DLL\dll.sln" on node 1 (rebuild target(s)).
ValidateSolutionConfiguration:
Building solution configuration "Debug|X64".
ValidateProjects:
The project "GetProcAddress" is not selected for building in solution configuration "Debug|x64".
Project "D:\Projects\DLL\dll.sln" (1) is building "D:\Projects\DLL\DLLTest\DLLTest.vcxproj" (2) on node 1 (Rebuild target(s)).
_PrepareForClean:
Deleting file "x64\Debug\DLLTest.lastbuildstate".
InitializeBuildStatus:
Creating "x64\Debug\DLLTest.unsuccessfulbuild" because "AlwaysCreate" was specified.
ClCompile:
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\AMD64\CL.exe /c /Zi /nologo /W3 /WX- /Od /D WIN32 /D _DEBUG /D _WINDOWS /D _USRDLL /D DLLTEST_EXPORTS /D _WINDLL /D _UNICODE /D UNICODE /Gm /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Yc"StdAfx.h" /Fp"x64\Debug\DLLTest.pch" /Fo"x64\Debug\\" /Fd"x64\Debug\vc100.pdb" /Gd /TP /errorReport:queue stdafx.cpp
stdafx.cpp
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\AMD64\CL.exe /c /Zi /nologo /W3 /WX- /Od /D WIN32 /D _DEBUG /D _WINDOWS /D _USRDLL /D DLLTEST_EXPORTS /D _WINDLL /D _UNICODE /D UNICODE /Gm /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Fo"x64\Debug\\" /Fd"x64\Debug\vc100.pdb" /Gd /TP /errorReport:queue dllmain.cpp
dllmain.cpp
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\AMD64\CL.exe /c /Zi /nologo /W3 /WX- /Od /D WIN32 /D _DEBUG /D _WINDOWS /D _USRDLL /D DLLTEST_EXPORTS /D _WINDLL /D _UNICODE /D UNICODE /Gm /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Yu"StdAfx.h" /Fp"x64\Debug\DLLTest.pch" /Fo"x64\Debug\\" /Fd"x64\Debug\vc100.pdb" /Gd /TP /errorReport:queue DLLTest.cpp
DLLTest.cpp
ManifestResourceCompile:
C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\bin\x64\rc.exe /nologo /fo"x64\Debug\DLLTest.dll.embed.manifest.res" x64\Debug\DLLTest_manifest.rc
Link:
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\AMD64\link.exe /ERRORREPORT:QUEUE /OUT:"D:\Projects\DLL\x64\Debug\DLLTest.dll" /INCREMENTAL /NOLOGO kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /MANIFEST /ManifestFile:"x64\Debug\DLLTest.dll.intermediate.manifest" /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /DEBUG /PDB:"D:\Projects\DLL\x64\Debug\DLLTest.pdb" /SUBSYSTEM:WINDOWS /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"D:\Projects\DLL\x64\Debug\DLLTest.lib" /MACHINE:X64 /DLL x64\Debug\DLLTest.dll.embed.manifest.res
x64\Debug\dllmain.obj
x64\Debug\DLLTest.obj
x64\Debug\stdafx.obj
Creating library D:\Projects\DLL\x64\Debug\DLLTest.lib and object D:\Projects\DLL\x64\Debug\DLLTest.exp
DLLTest.vcxproj -> D:\Projects\DLL\x64\Debug\DLLTest.dll
Manifest:
Deleting file "x64\Debug\DLLTest.dll.embed.manifest".
C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\bin\x64\mt.exe /nologo /verbose /out:"x64\Debug\DLLTest.dll.embed.manifest" /manifest x64\Debug\DLLTest.dll.intermediate.manifest
C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\bin\x64\rc.exe /nologo /fo"x64\Debug\DLLTest.dll.embed.manifest.res" x64\Debug\DLLTest_manifest.rc
LinkEmbedManifest:
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\AMD64\link.exe /ERRORREPORT:QUEUE /OUT:"D:\Projects\DLL\x64\Debug\DLLTest.dll" /INCREMENTAL /NOLOGO kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /MANIFEST /ManifestFile:"x64\Debug\DLLTest.dll.intermediate.manifest" /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /DEBUG /PDB:"D:\Projects\DLL\x64\Debug\DLLTest.pdb" /SUBSYSTEM:WINDOWS /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"D:\Projects\DLL\x64\Debug\DLLTest.lib" /MACHINE:X64 /DLL x64\Debug\DLLTest.dll.embed.manifest.res
x64\Debug\dllmain.obj
x64\Debug\DLLTest.obj
x64\Debug\stdafx.obj
Creating library D:\Projects\DLL\x64\Debug\DLLTest.lib and object D:\Projects\DLL\x64\Debug\DLLTest.exp
DLLTest.vcxproj -> D:\Projects\DLL\x64\Debug\DLLTest.dll
FinalizeBuildStatus:
Deleting file "x64\Debug\DLLTest.unsuccessfulbuild".
Touching "x64\Debug\DLLTest.lastbuildstate".
Done Building Project "D:\Projects\DLL\DLLTest\DLLTest.vcxproj" (Rebuild target(s)).
Done Building Project "D:\Projects\DLL\dll.sln" (rebuild target(s)).
Build succeeded.
0 Warning(s)
0 Error(s)
Time Elapsed 00:00:01.21
参考链接:
MSBuild Command-Line Reference
- 64位移植: 显示详细的build信息
- 64位移植: rebuild != clean + build
- 显示详细的ADO出错信息
- 让Ubuntu显示详细的开机信息
- 显示详细调试信息
- 显示详细显卡信息
- 对64位的多平台移植
- 创建可移植的64位代码
- 64位移植:非常好的学习资料
- 32位 移植 64 位
- windows 64位技术--C/C++的64位移植
- windows 64位技术--C/C++的64位移植
- linux 32位向64位的移植常见问题
- linux 32位向64位的移植常见问题
- 驱动程序从32位到64位的移植
- linux 32位向64位的移植常见问题
- 32位程序移植到64位机器的注意事项
- 32位程序向64位平台移植的注意事项
- Android Thread
- Spring 3.1.2 + Quartz 1.8.6 scheduler example
- 【工具类】Android数据存储sharedpreferences加密
- Android ProGuard使用要点!
- 电子邮件安全,你注意过吗?
- 64位移植: 显示详细的build信息
- Ubuntu下安装latex (支持中文CJK环境)
- 屏蔽返回键,home键以及其他实体按键
- 为什么很多看起来不是很复杂的网站比如 Facebook、淘宝,需要大量顶尖高手来开发?
- alloca()与malloc的区别
- LBS应用开发
- java中的compareto方法
- Android编译系统
- .h头文件 .lib动态链接库文件 .dll 动态链接库