You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
103 lines
2.3 KiB
103 lines
2.3 KiB
![]()
4 years ago
|
//-----------------------------------------------------------------------------
|
||
|
// STDSHADER_DBG.VPC
|
||
|
//
|
||
|
// Project Script
|
||
|
//-----------------------------------------------------------------------------
|
||
|
|
||
|
$macro SRCDIR "..\.."
|
||
|
$Macro OUTBINDIR "$SRCDIR\..\game\bin"
|
||
|
|
||
|
// shader_dll_verify.cpp defines a function called _ftol3. This means that we can't
|
||
|
// link with the bug-fixed ftol3.obj. It also means we can't convert float-to-unsigned.
|
||
|
$Macro DISABLE_FTOL3_OVERRIDE "1"
|
||
|
|
||
|
$include "$SRCDIR\vpc_scripts\source_dll_base.vpc"
|
||
|
|
||
|
$Configuration "Debug"
|
||
|
{
|
||
|
$General
|
||
|
{
|
||
|
$OutputDirectory "Debug_dbg" [$WINDOWS]
|
||
|
$IntermediateDirectory "Debug_dbg" [$WINDOWS]
|
||
|
|
||
|
$OutputDirectory "Debug_dbg_360" [$X360]
|
||
|
$IntermediateDirectory "Debug_dbg_360" [$X360]
|
||
|
}
|
||
|
}
|
||
|
|
||
|
$Configuration "Release"
|
||
|
{
|
||
|
$General
|
||
|
{
|
||
|
$OutputDirectory "Release_dbg" [$WINDOWS]
|
||
|
$IntermediateDirectory "Release_dbg" [$WINDOWS]
|
||
|
|
||
|
$OutputDirectory "Release_dbg_360" [$X360]
|
||
|
$IntermediateDirectory "Release_dbg_360" [$X360]
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// Common Configuration
|
||
|
$Configuration
|
||
|
{
|
||
|
$Compiler
|
||
|
{
|
||
|
$AdditionalIncludeDirectories "$BASE;fxctmp9;vshtmp9;..\..\dx9sdk\include" [$WIN32]
|
||
|
$AdditionalIncludeDirectories "$BASE;fxctmp9_360;vshtmp9_360" [$X360]
|
||
|
$PreprocessorDefinitions "$BASE;STDSHADER_DBG_DLL_EXPORT;FAST_MATERIALVAR_ACCESS"
|
||
|
}
|
||
|
|
||
|
$Linker
|
||
|
{
|
||
|
$AdditionalDependencies "$BASE version.lib winmm.lib" [$WIN32]
|
||
|
$ModuleDefinitionFile "xbox\xbox_dbg.def" [$X360]
|
||
|
}
|
||
|
}
|
||
|
|
||
|
$Project "stdshader_dbg"
|
||
|
{
|
||
|
$Folder "Source Files"
|
||
|
{
|
||
|
$File "BaseVSShader.cpp"
|
||
|
$File "debugdepth.cpp"
|
||
|
$File "DebugDrawEnvmapMask.cpp"
|
||
|
$File "debugluxel.cpp"
|
||
|
$File "debugnormalmap.cpp"
|
||
|
$File "debugtangentspace.cpp"
|
||
|
$File "fillrate.cpp"
|
||
|
|
||
|
$Folder "Remove me when VAC2 is out" [$WIN32]
|
||
|
{
|
||
|
$File "..\shader_dll_verify.cpp"
|
||
|
$File "..\shader_dll_verify.h"
|
||
|
}
|
||
|
}
|
||
|
|
||
|
$Folder "Xbox" [$X360]
|
||
|
{
|
||
|
-$File "xbox\xbox.def"
|
||
|
$File "xbox\xbox_dbg.def"
|
||
|
}
|
||
|
|
||
|
$Folder "Header Files"
|
||
|
{
|
||
|
$File "BaseVSShader.h"
|
||
|
}
|
||
|
|
||
|
$Folder "Link Libraries"
|
||
|
{
|
||
|
$File "$SRCDIR\dx9sdk\lib\d3dx9.lib" [$WIN32]
|
||
|
$Lib mathlib
|
||
|
$Lib shaderlib
|
||
|
}
|
||
|
|
||
|
$File "$SRCDIR\devtools\bin\vsh_prep.pl"
|
||
|
$File "$SRCDIR\devtools\bin\psh_prep.pl"
|
||
|
$File "$SRCDIR\devtools\bin\fxc_prep.pl"
|
||
|
$File "$SRCDIR\devtools\bin\updateshaders.pl"
|
||
|
|
||
|
$Shaders "stdshader_dx9_20b.txt"
|
||
|
$Shaders "stdshader_dx9_30.txt"
|
||
|
//$Shaders "stdshader_dx10.txt"
|
||
|
}
|