Valve Project Creator: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
Killermonkey (talk | contribs) No edit summary |
||
| Line 4: | Line 4: | ||
===VPC Help Information=== | ===VPC Help Information=== | ||
VPC - Valve Project Creator For | VPC - Valve Project Creator For Visual Studio, Xbox 360, PlayStation 3, Xcode and Make (Build: Oct 29 2013 11:41:32) | ||
(C) Copyright 1996-2010, Valve Corporation, All rights reserved. | (C) Copyright 1996-2010, Valve Corporation, All rights reserved. | ||
Source Path: | Source Path: D:\Games\Steam\SteamApps\sourcemods\assets\code-2013 | ||
Target Platform: | Target Platform: win32 | ||
Generating for Visual Studio 2010. | |||
usage: vpc [options] <+/-/*project or group> | usage: vpc [options] <+/-/*project or group> | ||
| Line 29: | Line 30: | ||
Further details can be found on Valve Internal Wiki on VPC. | Further details can be found on Valve Internal Wiki on VPC. | ||
--- OPTIONS --- | --- OPTIONS --- | ||
[/q]: Quiet mode (quiet mode is automatically on if the VPC_QUIET environment variable is set) | [/q]: Quiet mode (quiet mode is automatically on if the VPC_QUIET environment variable is set) | ||
| Line 37: | Line 38: | ||
[/testmode]: Override output .vcproj file to be named 'test.vcproj' | [/testmode]: Override output .vcproj file to be named 'test.vcproj' | ||
[/srcctl]: Enable source control integration | [/srcctl]: Enable source control integration | ||
[/2013]: Generate projects and solutions for Visual Studio 2013 | |||
[/2012]: Generate projects and solutions for Visual Studio 2012 | |||
[/2010]: Generate projects and solutions for Visual Studio 2010 [default] | |||
[/2005]: Generate projects and solutions for Visual Studio 2005 | |||
[/nounity]: Disable unity file generation | |||
--- Help --- | --- Help --- | ||
| Line 52: | Line 58: | ||
[/callcap]: Set Reserved $CALLCAP=1 | [/callcap]: Set Reserved $CALLCAP=1 | ||
[/fastcap]: Set Reserved $FASTCAP=1 | [/fastcap]: Set Reserved $FASTCAP=1 | ||
[/nofpo]: Set Reserved $NOFPO=1 | [/nofpo]: Set Reserved $NOFPO=1 | ||
[/lv]: Set Reserved $LV=1 | [/lv]: Set Reserved $LV=1 | ||
| Line 59: | Line 63: | ||
[/no_steam]: Set Reserved $NO_STEAM=1 | [/no_steam]: Set Reserved $NO_STEAM=1 | ||
[/qtdebug]: Set Reserved $QTDEBUG=1 | [/qtdebug]: Set Reserved $QTDEBUG=1 | ||
[/no_ceg]: | [/no_ceg]: Set Reserved $NO_CEG=1 | ||
[/upload_ceg]: Set Reserved $UPLOAD_CEG=1 | [/upload_ceg]: Set Reserved $UPLOAD_CEG=1 | ||
| Line 65: | Line 69: | ||
[/mksln]: <.sln filename> - make a solution file | [/mksln]: <.sln filename> - make a solution file | ||
[/p4sln]: <.sln filename> <changelists...> - make a solution file based on | [/p4sln]: <.sln filename> <changelists...> - make a solution file based on | ||
the changelist. Changelists can be specific numbers, 0 or "default" | |||
for the default changelist, or "all" for all active changelists. | |||
[/nop4add]: Don't automatically add project files to Perforce | [/nop4add]: Don't automatically add project files to Perforce | ||
[/slnitems]: <filename> - adds all files listed in <filename> to generated | [/slnitems]: <filename> - adds all files listed in <filename> to generated | ||
solutions | |||
[/showdeps]: Show an example dependency chain for each project that depends | [/showdeps]: Show an example dependency chain for each project that depends | ||
on your p4 change list(s). Use with /p4sln. | |||
[/checkfiles]: Check for the existence of files in $file commands. For debugging vpc files. | [/checkfiles]: Check for the existence of files in $file commands. For debugging vpc files. | ||
Only works if the currrent directory is the project directory. | |||
[/define:xxx]: Enable a custom conditional $XXX to use for quick testing in VPC files. | [/define:xxx]: Enable a custom conditional $XXX to use for quick testing in VPC files. | ||
[[Category:Source SDK FAQ]] | [[Category:Source SDK FAQ]] | ||
[[Category:Modding]] | [[Category:Modding]] | ||
Revision as of 11:18, 25 January 2014
The Valve Project Creator generates project and makefiles for the Source SDK.
Fore more information about building the Source SDK, see Source SDK 2013.
VPC Help Information
VPC - Valve Project Creator For Visual Studio, Xbox 360, PlayStation 3, Xcode and Make (Build: Oct 29 2013 11:41:32)
(C) Copyright 1996-2010, Valve Corporation, All rights reserved.
Source Path: D:\Games\Steam\SteamApps\sourcemods\assets\code-2013
Target Platform: win32
Generating for Visual Studio 2010.
usage: vpc [options] <+/-/*project or group>
Examples:
Single .vcproj generation:
vpc +client /hl2 <-- Creates a Win32 .vcproj for the HL2 client.
vpc +shaderapi /x360 <-- Creates a Xbox360 .vcproj for the shaderapi.
Multiple .vcproj generation - Multiple Projects for Games and Platforms:
vpc +client /hl2 /tf <-- Creates ALL the Win32 .vcprojs for the HL2 and TF client.
vpc +gamedlls /allgames <-- Creates ALL the Win32 .vcprojs for client and server for all GAMES.
vpc +tools -tier0 /win32 /x360 <-- Creates ALL the Win32 and Xbox360 .vcprojs for the tool projects but not the tier0 project.
Use +/- to add or remove projects or groups.
Use * to add a project and all projects that depend on it.
Use @ to add a project and all projects that it depends on.
Use /h spew final target build set only (no .vcproj created).
Further details can be found on Valve Internal Wiki on VPC.
--- OPTIONS ---
[/q]: Quiet mode (quiet mode is automatically on if the VPC_QUIET environment variable is set)
[/v]: Verbose
[/f]: Force generate .vcproj, otherwise use crc checks
[/dp]: Decorate project names with platform
[/testmode]: Override output .vcproj file to be named 'test.vcproj'
[/srcctl]: Enable source control integration
[/2013]: Generate projects and solutions for Visual Studio 2013
[/2012]: Generate projects and solutions for Visual Studio 2012
[/2010]: Generate projects and solutions for Visual Studio 2010 [default]
[/2005]: Generate projects and solutions for Visual Studio 2005
[/nounity]: Disable unity file generation
--- Help ---
[/h]: Help
[/?]: Help
[/platforms]: Spew Platforms
[/games]: Spew Games
[/projects]: Spew Projects
[/groups]: Spew Groups
[/properties]: Spew VS2005 Properties
--- Conditionals ---
[/profile]: Set Reserved $PROFILE=1
[/retail]: Set Reserved $RETAIL=1
[/callcap]: Set Reserved $CALLCAP=1
[/fastcap]: Set Reserved $FASTCAP=1
[/nofpo]: Set Reserved $NOFPO=1
[/lv]: Set Reserved $LV=1
[/demo]: Set Reserved $DEMO=1
[/no_steam]: Set Reserved $NO_STEAM=1
[/qtdebug]: Set Reserved $QTDEBUG=1
[/no_ceg]: Set Reserved $NO_CEG=1
[/upload_ceg]: Set Reserved $UPLOAD_CEG=1
--- Other ---
[/mksln]: <.sln filename> - make a solution file
[/p4sln]: <.sln filename> <changelists...> - make a solution file based on
the changelist. Changelists can be specific numbers, 0 or "default"
for the default changelist, or "all" for all active changelists.
[/nop4add]: Don't automatically add project files to Perforce
[/slnitems]: <filename> - adds all files listed in <filename> to generated
solutions
[/showdeps]: Show an example dependency chain for each project that depends
on your p4 change list(s). Use with /p4sln.
[/checkfiles]: Check for the existence of files in $file commands. For debugging vpc files.
Only works if the currrent directory is the project directory.
[/define:xxx]: Enable a custom conditional $XXX to use for quick testing in VPC files.