Team Fortress 2 Source Code as on 22/4/2020
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.

63 lines
1.7 KiB

  1. //-----------------------------------------------------------------------------
  2. // SIMDTEST.VPC
  3. //
  4. // Project Script
  5. //-----------------------------------------------------------------------------
  6. $Macro SRCDIR "..\.."
  7. $Macro OUTBINDIR "$SRCDIR\..\game\bin"
  8. $Include "$SRCDIR\vpc_scripts\source_exe_con_base.vpc"
  9. $Configuration "Debug"
  10. {
  11. $Compiler
  12. {
  13. $AdditionalIncludeDirectories "$BASE,..\common"
  14. }
  15. $Linker [$WIN32]
  16. {
  17. $DebuggableAssembly "Runtime tracking and disable optimizations (/ASSEMBLYDEBUG)"
  18. }
  19. $PostBuildEvent [$X360]
  20. {
  21. // copy the XEX and all required DLLs into a simdtest folder
  22. $CommandLine "call $SRCDIR\vpc_scripts\valve_xbcp_wrapper.cmd $OUTBINDIR\tier0_360.dll xE:\simdtest\tier0_360.dll" "\n" \
  23. "call $SRCDIR\vpc_scripts\valve_xbcp_wrapper.cmd $OUTBINDIR\vstdlib_360.dll xE:\simdtest\vstdlib_360.dll" "\n" \
  24. "call $SRCDIR\vpc_scripts\valve_xbcp_wrapper.cmd $(TargetDir)simdtest.xex xE:\simdtest\simdtest.xex"
  25. }
  26. }
  27. $Configuration "Release"
  28. {
  29. $Compiler
  30. {
  31. $AdditionalIncludeDirectories "$BASE,..\common"
  32. }
  33. $PostBuildEvent [$X360]
  34. {
  35. // copy the XEX and all required DLLs into a simdtest folder
  36. $CommandLine "call $SRCDIR\vpc_scripts\valve_xbcp_wrapper.cmd $OUTBINDIR\tier0_360.dll xE:\simdtest\tier0_360.dll" "\n" \
  37. "call $SRCDIR\vpc_scripts\valve_xbcp_wrapper.cmd $OUTBINDIR\vstdlib_360.dll xE:\simdtest\vstdlib_360.dll" "\n" \
  38. "call $SRCDIR\vpc_scripts\valve_xbcp_wrapper.cmd $(TargetDir)simdtest.xex xE:\simdtest\simdtest.xex"
  39. }
  40. }
  41. $Project "Simdtest"
  42. {
  43. $Folder "Source Files"
  44. {
  45. $File "simdtest.cpp"
  46. }
  47. $Folder "Link Libraries"
  48. {
  49. $Lib mathlib
  50. $Lib tier2
  51. $Implib tier0 [$POSIX]
  52. $Lib tier1 [$POSIX]
  53. }
  54. }