Programming‎ > ‎VisualStudio‎ > ‎

VC2005 Project Setting

VC++2005 Project Properties

I had enough real pains in trying to set my project correct.

Configuration Properties

Choices
General

GeneralOutput Directory


Intermediate Directory


Extension to Delete on Clean


Build Log File$(IntDir)\BuildLog.htm


Inherited Project Property Sheets

Project DefaultsConfiguration TypeMakefile, Application(.exe), Dynamic Library(.dll),Static Library(.lib), Utility


Use of MFCUse Standard Windows Libraries, Use MFC in a StaticLibrary, Use MFC in a Shared Library


Use of ATLNot Using ATL, Static Link to ATL, Dynamic Link To ATL


Minimize CRT Use in ATLYes, No


Character SetNot Set, Use Multi-Byte Character Set, Use UnicodeCharacter Set


Common Language-Runtime supportNo Common Language-Runtime support,  CommonLanguage-Runtime support(/clr), Pure MSIL Common Language-Runtimesupport(/clr:pure), Safe MSIL Common Language-Runtime Support(/clr:safe), Common Language-Runtime Support, Old Syntax(/clr:oldSyntax)


Whole Program OptimizationNo Whole Program Optimization,  Use Link TimeCodeGeneration,  Profile Guided Optimization-Instrument, ProfileGuided Optimzation - Optimize, Profile Guided Optimization - Update
Debugging

Debuggerto launch
Local Window Debugger, Remote Window Debugger, WebService Debugger, MPI Cluster Debugger

Local Window  Debugger



Command$(TargetPath), Default Web Browser,  ActiveXControl Container, Regsvr32, Browse..., Edit ...


Command Arguments


Working Directory


AttachNo, Yes


Debugger TypeNative Only, Managed Only, Mixed, Auto


Environment


Merge EnvironmentYes, No


SQL DebuggingYes, No

Remote Window Debugger



Remote Command


Command Arguments


Working Directory


Remote Server Name


ConnectionRemote with Windows Authentication, Remote with NoWindows Authentication (Native Only)


Debugger TypeNative Only, Managed Only, Mixed, Auto


AttachYes, No


SQL DebuggingYes, No

Web Service Debugger



HTTP URL


Debugger TypeNative Only, Managed Only, Mixed, Auto


SQL DebuggingYes, No

MPI Cluster Debugger



MPIRun Command


MPIRun Arguments


MPIRun Working Directory


Application Command


MPIShim Location


MPI network security modeAccept connections from a local subnet only, Acceptconnections from a specified range of addresses, Accept connectionsfrom any address


MPI network filter
C++

GeneralAdditional Include Directories


Resolve #using References


DebugInformation FormatDisabled, C7 Compatible (/Z7), Line Number Only (/Zd),Program Database (/Zi)


Suppress Startup BannerYes(/nologo), No


Warning LevelOff(/W0), Level1(/W1), Level2(/W2), Level3(/W3),Level4(/W4)


Detect 64-bit Portability IssueNo, Yes(/Wp64)


Treat Warnings As ErrorsNo, Yes(/Wx)


Use UNICODE Response FilesYes, No

OptimizationOptimizationDisabled(/Od), Minimize Size(/O1), Maximize Speed(/O2),Full Optimization(/Ox), Custom


Inline Function ExpansionDefault, Only __inline(/Ob1), Any Suitable (/Ob2)


Enable Intrinsic FunctionsNo, Yes(/Oi)


Favor Size or SpeedNeither, Favor Fast Code(/Ot), Favor Small Code(/Os)


Omit Frame PointersNo, Yes(/Ov)


Enable Fiber-safe OptimizationNo, Yes(/GT)


Whole Program OptimizationNo, Enable link-time code generation (/GL)

PreprocessorPreprocessor Definitions


Ignore Standard Include PathNo, Yes(/X)


Generate Preprocessed FileNo, With Line Numbers(/P), Without Line Numbers(/EP /P)


Keep CommentsNo, Yes(/C)

Code GenerationEnable String PoolingNo, Yes(/GF)


Enable Minimal RebuildNo, Yes(/Gm)


Enable C++ ExceptionNo, Yes(/EHsc)


Smaller Type CheckNo, Yes(/RTCc)


Basic Runtime CheckDefault, Stack Frames(/RTCs), Uninitialized Variable(/RTCu), Both(/RTC1 or /RTCsu)


Runtime LibraryMulti-threaded(/MT), Multi-threaded Debug (/MTd),Multi-threaded DLL(/MD), Multi-threaded Debug DLL(/MDd),Single-threaded (/ML), Single-threaded Debug (/MLd)


Struct Member AlignmentDefault, 1 Byte(/Zp1), 2 Bytes(/Zp2), 4 Bytes(/Zp4), 8Bytes(/Zp8), 16 Bytes(/Zp16)


Buffer Security CheckYes(/GS), No


Enable Function-Level LinkingYes(/Gv), No


Enable Enhanced Instruction SetNot Set, Streaming SIMD Extensions(/arch:SSE),Streaming SIMD Extensions 2 (/arch:SSE2)


Floating Point ModelPrecise(/fp:precise), Strict (/fp:strict), Fast (/fp:fast)


Enable floating Point ExceptionsNo,  Yes(/fp:except)

LanguageDisable Language ExtensionsNo, Yes(/Za)


Default Char UnsignedNo, Yes(/J)


Treat wchar_t as Built-in TypeNo, Yes(/Zc:wchar_t)


Force Conformance In For Loop ScopeNo, Yes(/Zc:forScope)


Enable Run-Time Type InfoNo, Yes(/GR)


OpenMP SupportNo, Yes(/openmp)

Precompiled HeaderCreate/Use Precompiled HeaderNot Using Precompiled Header, Create PrecompiledHeader(/Yc), Automatically Generate(/YX), Use Precompiled Header(/Yu)


Create/Use PCH Through FileStdAfx.h


Precompiled Header File$(IntDir)\$(TargetName).pch

Output FilesExpand Attributed SourceNo, Yes(/Fx)


Assembler OutputNo Listing, Assembly Only Listing(/FA), Assembly,Machine Code and Listing(/FAcs),Assembly with Machine Code (/FAc), Assembly with Source Code (/FAs)


ASM List Location


Object File Name$(IntDir)\


Program Database File Name$(IntDir)\vc80.pdb


Generate XML Documentation FileNo,  Yes(/doc)


XML Documentation File Name$(IntDir)\

Browse InformationEnable Browse InformationNone, Include Alll Browse Information(/FR), No LocalSymbols (/Fr)


Browse File

AdvancedCalling Convention__cdecl(/Gd), __fastcall (/Gr), __stdcall(/Gz)


Compile AsDefault, Compile as C code (/TC), Compile as C++(/TP)


Disable Specific Warnings


Force Includes


Force #using


Show IncludesNo, Show Includes(/showIncludes)


Underline Preprocessor Definistions


Undefine All Preprocessor DefinitionsNo, Yes(/u)


Use Full PathsNo, Yes(/FC)


Omit Default Library NamesNo,  Yes(/Zl)


Error ReportingDefault, Prompt Immediately (/errorReporting:prompt),Queue for next login (/errorReporting:queue)

Command Line


All Options


Additional Option
Linker

GeneralOutput File


Show ProgressNot Set, Display All Progress Messages(/VERBOSE),Display Some Progress Messages(/VERBOSE:LIB)


Version


Enable Incremental LinkingDefault, No(/INCREMENTAL:NO), Yes(/INCREMENTAL)


Suppress Startup BannerNo, Yes(/NOLOGO)


Ignore Import LibraryNo, Yes


Register OutputNo, Yes


Additional Library Directories


Link Libraries DependenciesYes, No


Use Library Dependency InputsNo, Yes


Use UNICODE Response FilesYes, No

InputAdditional Dependencies


Ignore All Defualt LibrariesNo, Yes(/NODEFAULTLIB)


Ignore Specific Library(/NODEFAULTLIB:[name1, name2, ...])


Module Definition File(/DEF:name)


Add Module to Assembly(/ASSEMBLYMODULE:file)


Embed Managed Resource File(/ASSEMBLYRESOURCE:file)


Force Symbol References(/INCLUDE:[symbol])


Delay Loaded DLLs(/DELAYLOAD:[dll_name])


Assembly Link Resource(/ASSEMBLYLINKRESOURCE)

Manifest FileGenerate ManifestYes, No


Manifest File$(IntDir)\$(TargetFileName).intermediate.manifest


Additional Manifest Dependencies(/MANIFESTDEPENDENCY:[dependecy])


Allow IsolationYes, Don't allow side-by-side isolation(/ALLOWISOLATION:NO)

DebuggingGenerate Debug InfoNo, Yes(/DEBUG)


Generate Program Database File(*.pdb)


Strip Private Symbols(/PDBSTRIPPED:file)


Generate Map FileNo, Yes(/MAP)


Map File Name(/MAP:[filename])


Map ExportsNo, Yes(/MAPINFO:EXPORTS)


Debuggable AssemblyNo Debuggable attribute emitted, Runtime tracking anddisable optimization (/ASSEMBLYDEBUG),No runtime tracking and enable optimization(/ASSEMBLYDEBUG:DISABLE)

SystemSubsystemNot Set, Console(/SUBSYSTEM:CONSOLE),Windows(/SUBSYSTEM:WINDOWS), Native (/SUBSYSTEM:NATIVE),EFI_Application (/SUBSYSTEM:EFI_APPLICATION), EFI_Boot Service Driver(/SUBSYSTEM_BOOT_SERVICE_DRIVER), EFI_ROM(/SYBSYSTEM:EFI_ROM), EFI Runtime (/SUBSYSTEM:EFI_RUNTIME),  Posix(/SYUBSYSTEM:POSIX),  WindowsCE (/SUBSYSTEM:WINDOWSCE),<inherit from parent or project defaults>


Heap Reserve Size0 (/HEAP: reserve)


Heap Commit Size0 (/HEAP: reserve, commit)


Stack Reserve Size0 (/STACK: reserve)


Stack Commit Size0 (/STACK: reserve, commit)


Enable Large AddressesDefault, Do Not Support Larger Than 2 Gbytes(/LARGEADDRESSAWARE:NO), Support Larger Than 2 Gbyte Addresses(/LARGEADDRESSAWARE)


Terminal ServerDefault, Not Terminal Server Aware (/TSAWARE:NO),Server Aware (/TSAWARE)


Swap Run From CDNo, Yes(/SWAPRUN:CD)


Swap Run From NetworkNo, Yes(/SWAPRUN:NET)


DriverNot Set, (/DRIVER:[type])

OptimizationReferencesDefault, Keep Unreferenced Data(/OPT:NOREF), EliminateUnreferenced Data(/OPT:REF)


Enable COMDAT FoldingDefault, Do Not Remove Redundant COMDATS(/OPT:NOICF),Remove Redundant COMDATS(/OPT:ICF)


Optimize for Windows98Default, No (/OPT:NOWIN98), Yes(/OPT:WIN98)


Function Order(/ORDER:[file])


Profile Guided Database$(TargetDir)$(TargetName).pgd


Link Time Code GenerationDefault, Use Link Time Code generation (/ltcg), ProfileGuided Optimization - Instrument (/ltcg:pginstrument), Profile GuidedOptimzation - Optimize (/ltcg:pgoptimize),  Profile GuidedOptimization - Update (/ltcg:pgupdate)

Embedded IDLMIDL Commands


Ignore Embedded IDLNo, Yes(/IGNOREIDL)


Merged IDL Base File Name(/IDLOUT:[file])


Type Library(/TLBOUT:[file])


TypeLib Resource ID1 (/TLBID:[id])

AdvancedEntry Point(/ENTRY:[symbol])


No Entry PointNo, Yes(/NOENTRY)


Set ChecksumNo, Yes(/RELEASE)


Base Address(/BASE:[address[filename,key])


Fixed Base AddressDefault, Generate Relocation Section(/FIXED:NO), MustBe Loaded AT FIXED Address(/FIXED)


Turn Off Assembly GenerationNo, Yes(/NOASSEMBLY)


Delay Loaded DLLDon't Support Unload, Support Unload(/DELAY:UNLOAD)


Import Library(/IMPLIB:[name, ...])


Merge Sections(/MERGE:[from=to])


Target MachineNot Set, MachineX86(/MACHINE:X86),MachineX64(/MACHINE:X64)


ProfileNo,  Enabling Profile Information (/PROFILE)


CLR Thread AttributeNo threading attribute set, STA threading attribute(/CLRTHREADATTRIBUTE:STA), MTA threading attribute(/CLRTHREADATTRIBUTE:MTA)


CLR Image TypeDefault image type, Force IJW Image(/CLRIMAGETYPE:IJW),Force pure IL image (/CLRIMAGETYPE:PURE), Force save IL image(/CLRIMAGETYPE:SAFE)


Key File(/KEYFILE:[file])


Key Container(/KEYCONTAINER:[name])


Delay SignNo, Yes (/DELAYSIGN)


Error ReportingDefault, Prompt immediately(/ERRORREPORT:PROMPT),  Queue for next login(/ERRORREPORT:QUEUE)


CLR Unmanaged Code CheckNo, Apply unmanaged code check (/CLRUNMANAGEDCODECHECK)

Command LineAll Options


Additional Options
ManifestTool

GeneralSuppress Startup BannerYes (/nologo), No


Verbose OutputNo, Yes (/verbose)


Assembly Identity(/identity:[attributes])


Use UNICODE Response FilesYes, No


Use FAT32 Work-aroundNo,  Yes

Input and OutputAdditional Manifest Files(/manifest)


Input Resource Manifests(/inputresource:[file];#[id])


Embed ManifestYes, No


Output Manifest File$(IntDir)\$(TargetFileName).embed.manifest (/out:[file])


Manifest Resource File$(IntDir)\$(TargetFileName).embed.manifest.res


Generate Category Files(/makecdfs)


Dependency Information File$(IntDir)\mt.dep

Isolated COMType Library File(/tlb:[file])


Register Script File(/rgs:[file])


Component File Name(/dll:[name])


Replacement File(/replacements:[file])

AdvancedUpdate File HashesNo, Yes (/hashupdate)


Update File Hashes Search Path(/hashupdate:[path])

Command LineAll Options


Additional options
XMLDocument Generator

GeneralSuppress Startup BannerYes(/nolog), No


Validate IntellisenseNo, Yes (/validate)


Additional Document Files(/Fs:[file..XDC)])


Output Document File$(TargetDir)$(TargetName).xml (/Fo:[file])


Document Library DependenciesYes, No


Use UNICODE Response FilesYes, No

Command LineAll options


Additional options
Browse Information

GeneralSuppress Startup BannerYes(/nologo), No


Output File$(OutDir)/$(ProjectName.bsc) (/o[file])

Command LineAll Options


Additional Options
Build Events

Pre-Build EventCommand Line


Description


Excluded From BuildNo, Yes

Pre-Link EventCommand Line


Description


Excluded From BuildNo, Yes

Post-Build EventCommand Line


Description


Excluded From BuildNo, Yes
Custom Build Step

GeneralCommand Line


Description


Outputs


Additional Dependencies
Web Deployment

GeneralExcluded From BuildYes, No


Relative Pathbin


Additional Files

Server Side ActionsUnload Before CopyNo, Yes


Register OutputNo, Yes

Web ApplicationVirtual Directory Name$(ProjectName)


Application Mappings


Application ProtectionLow(IIS Process), Medium (Pooled), High (Isolated)

Build: Dec. 25th, 2007 by Y. Tosa (tosa.yasunari@gmail.com)


Home