diff options
| author | FluorescentCIAAfricanAmerican <[email protected]> | 2020-04-22 12:56:21 -0400 |
|---|---|---|
| committer | FluorescentCIAAfricanAmerican <[email protected]> | 2020-04-22 12:56:21 -0400 |
| commit | 3bf9df6b2785fa6d951086978a3e66f49427166a (patch) | |
| tree | 2c0f1f0c63c4832882bc93814ebd2c2b1c6224e5 /utils/simdtest/simdtest.vpc | |
| download | archived-source-engine-2018-hl2-src-3bf9df6b2785fa6d951086978a3e66f49427166a.tar.xz archived-source-engine-2018-hl2-src-3bf9df6b2785fa6d951086978a3e66f49427166a.zip | |
Diffstat (limited to 'utils/simdtest/simdtest.vpc')
| -rw-r--r-- | utils/simdtest/simdtest.vpc | 63 |
1 files changed, 63 insertions, 0 deletions
diff --git a/utils/simdtest/simdtest.vpc b/utils/simdtest/simdtest.vpc new file mode 100644 index 0000000..96d5e38 --- /dev/null +++ b/utils/simdtest/simdtest.vpc @@ -0,0 +1,63 @@ +//----------------------------------------------------------------------------- +// SIMDTEST.VPC +// +// Project Script +//----------------------------------------------------------------------------- + +$Macro SRCDIR "..\.." +$Macro OUTBINDIR "$SRCDIR\..\game\bin" + +$Include "$SRCDIR\vpc_scripts\source_exe_con_base.vpc" + +$Configuration "Debug" +{ + $Compiler + { + $AdditionalIncludeDirectories "$BASE,..\common" + } + + $Linker [$WIN32] + { + $DebuggableAssembly "Runtime tracking and disable optimizations (/ASSEMBLYDEBUG)" + } + + $PostBuildEvent [$X360] + { + // copy the XEX and all required DLLs into a simdtest folder + $CommandLine "call $SRCDIR\vpc_scripts\valve_xbcp_wrapper.cmd $OUTBINDIR\tier0_360.dll xE:\simdtest\tier0_360.dll" "\n" \ + "call $SRCDIR\vpc_scripts\valve_xbcp_wrapper.cmd $OUTBINDIR\vstdlib_360.dll xE:\simdtest\vstdlib_360.dll" "\n" \ + "call $SRCDIR\vpc_scripts\valve_xbcp_wrapper.cmd $(TargetDir)simdtest.xex xE:\simdtest\simdtest.xex" + } +} + +$Configuration "Release" +{ + $Compiler + { + $AdditionalIncludeDirectories "$BASE,..\common" + } + + $PostBuildEvent [$X360] + { + // copy the XEX and all required DLLs into a simdtest folder + $CommandLine "call $SRCDIR\vpc_scripts\valve_xbcp_wrapper.cmd $OUTBINDIR\tier0_360.dll xE:\simdtest\tier0_360.dll" "\n" \ + "call $SRCDIR\vpc_scripts\valve_xbcp_wrapper.cmd $OUTBINDIR\vstdlib_360.dll xE:\simdtest\vstdlib_360.dll" "\n" \ + "call $SRCDIR\vpc_scripts\valve_xbcp_wrapper.cmd $(TargetDir)simdtest.xex xE:\simdtest\simdtest.xex" + } +} + +$Project "Simdtest" +{ + $Folder "Source Files" + { + $File "simdtest.cpp" + } + + $Folder "Link Libraries" + { + $Lib mathlib + $Lib tier2 + $Implib tier0 [$POSIX] + $Lib tier1 [$POSIX] + } +} |