summaryrefslogtreecommitdiff
path: root/materialsystem/stdshaders/stdshader_dx7.vpc
diff options
context:
space:
mode:
authorFluorescentCIAAfricanAmerican <[email protected]>2020-04-22 12:56:21 -0400
committerFluorescentCIAAfricanAmerican <[email protected]>2020-04-22 12:56:21 -0400
commit3bf9df6b2785fa6d951086978a3e66f49427166a (patch)
tree2c0f1f0c63c4832882bc93814ebd2c2b1c6224e5 /materialsystem/stdshaders/stdshader_dx7.vpc
downloadarchived-source-engine-2018-hl2-src-master.tar.xz
archived-source-engine-2018-hl2-src-master.zip
Diffstat (limited to 'materialsystem/stdshaders/stdshader_dx7.vpc')
-rw-r--r--materialsystem/stdshaders/stdshader_dx7.vpc74
1 files changed, 74 insertions, 0 deletions
diff --git a/materialsystem/stdshaders/stdshader_dx7.vpc b/materialsystem/stdshaders/stdshader_dx7.vpc
new file mode 100644
index 0000000..30bb028
--- /dev/null
+++ b/materialsystem/stdshaders/stdshader_dx7.vpc
@@ -0,0 +1,74 @@
+//-----------------------------------------------------------------------------
+// STDSHADER_DX7.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_dx7"
+ $IntermediateDirectory "Debug_dx7"
+ }
+}
+
+$Configuration "Release"
+{
+ $General
+ {
+ $OutputDirectory "Release_dx7"
+ $IntermediateDirectory "Release_dx7"
+ }
+}
+
+// Common Configuration
+$Configuration
+{
+ $Compiler
+ {
+ $PreprocessorDefinitions "$BASE;STDSHADER_DX7_DLL_EXPORT;FAST_MATERIALVAR_ACCESS"
+ $AdditionalIncludeDirectories "$BASE;..\..\dx9sdk\include"
+ }
+
+ $Linker
+ {
+ $AdditionalDependencies "$BASE odbc32.lib odbccp32.lib"
+ }
+}
+
+$Project "Stdshader_dx7"
+{
+ $Folder "Source Files"
+ {
+ $File "core_dx7.cpp"
+ $File "filmdust_dx7.cpp"
+ $File "filmgrain_dx7.cpp"
+ $File "shatteredglass_dx7.cpp"
+ $File "vertexlitgeneric_dx7.cpp"
+ $File "vortwarp_dx7.cpp"
+
+ $Folder "remove me when VAC2 is out"
+ {
+ $File "$SRCDIR\tier1\checksum_crc.cpp"
+ $File "$SRCDIR\tier1\checksum_md5.cpp"
+ $File "..\shader_dll_verify.cpp"
+ $File "..\shader_dll_verify.h"
+ }
+ }
+
+ $Folder "Link Libraries"
+ {
+ $Lib mathlib
+ $Lib shaderlib
+ }
+}