mirror of
https://github.com/fortressforever/fortressforever-2013.git
synced 2024-11-25 05:41:13 +00:00
use FF Specific VPC group file
might make use of this later to build external libs + add some notes so i dont forget how this works
This commit is contained in:
parent
ec2dcd13f8
commit
a55a85df87
3 changed files with 90 additions and 3 deletions
|
@ -17,8 +17,10 @@ $Games
|
|||
// Makes the VPC scripts work in the SDK's context
|
||||
$Conditional "SOURCESDK" "1"
|
||||
|
||||
// valve default
|
||||
// valve defaults
|
||||
//$Include "vpc_scripts\projects.vgc"
|
||||
$include "vpc_scripts\projects_ff.vgc"
|
||||
$Include "vpc_scripts\groups.vgc"
|
||||
//$Include "vpc_scripts\groups.vgc"
|
||||
|
||||
$include "vpc_scripts\projects_ff.vgc"
|
||||
$Include "vpc_scripts\groups_ff.vgc"
|
||||
|
||||
|
|
66
mp/src/vpc_scripts/groups_ff.vgc
Normal file
66
mp/src/vpc_scripts/groups_ff.vgc
Normal file
|
@ -0,0 +1,66 @@
|
|||
//-----------------------------------------------------------------------------
|
||||
// GROUPS.VGC
|
||||
//
|
||||
// Group Configurations for all Source(TM) Projects
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
///////////////////////
|
||||
// Group definitions //
|
||||
///////////////////////
|
||||
|
||||
$Group "gamedlls"
|
||||
{
|
||||
"client"
|
||||
"server"
|
||||
}
|
||||
|
||||
$Group "game"
|
||||
{
|
||||
"client"
|
||||
"mathlib"
|
||||
"raytrace"
|
||||
"server"
|
||||
"tier1"
|
||||
"vgui_controls"
|
||||
}
|
||||
|
||||
$Group "shaders"
|
||||
{
|
||||
"game_shader_dx9"
|
||||
}
|
||||
|
||||
$Group "everything"
|
||||
{
|
||||
"captioncompiler"
|
||||
"client"
|
||||
"fgdlib"
|
||||
"game_shader_dx9"
|
||||
"glview"
|
||||
"height2normal"
|
||||
"mathlib"
|
||||
"motionmapper"
|
||||
"phonemeextractor"
|
||||
"raytrace"
|
||||
"qc_eyes"
|
||||
"server"
|
||||
"serverplugin_empty"
|
||||
"tgadiff"
|
||||
"tier1"
|
||||
"vbsp"
|
||||
"vgui_controls"
|
||||
"vice"
|
||||
"vrad_dll"
|
||||
"vrad_launcher"
|
||||
"vtf2tga"
|
||||
"vtfdiff"
|
||||
"vvis_dll"
|
||||
"vvis_launcher"
|
||||
}
|
||||
|
||||
$Group "dedicated"
|
||||
{
|
||||
"mathlib"
|
||||
"server"
|
||||
"tier1"
|
||||
}
|
||||
|
19
vpc-notes.md
Normal file
19
vpc-notes.md
Normal file
|
@ -0,0 +1,19 @@
|
|||
# VPC notes
|
||||
|
||||
## loading order
|
||||
default.vgc is always loaded first. this sucks and isnt super ideal
|
||||
but its easy to change.
|
||||
|
||||
default.vgc defines game strings you can pass to vpc 'vpc /gamestr' to
|
||||
pick which conditional gets set.
|
||||
default.vgc loads groups and projects (all)
|
||||
|
||||
gotcha: VPC seems to ignore VPCs not in a group (thus no sln),
|
||||
even when in a project unless you force generate them..
|
||||
|
||||
## adding new junk that you want to generate projects for
|
||||
1. create your custom vpc
|
||||
2. (Optional) add the vpc $Project to a group in your group file (see default.vgc)
|
||||
3. run 'vpc +ProjectName' to make it spit out vcxprojs. if it cant find your
|
||||
'ProjectName', you may need to add the vpc to your project file in default.vgc.
|
||||
4. if you want to create a solution for a group (or single project for some wacky reason) pass '/mksln <sln name>' to vpc
|
Loading…
Reference in a new issue