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.

72 lines
1.4 KiB

  1. //-----------------------------------------------------------------------------
  2. // SOURCEVR.VPC
  3. //
  4. // Wraps OpenVR and provides VR-related services to other bits of Source
  5. //-----------------------------------------------------------------------------
  6. $Macro SRCDIR ".."
  7. $Macro OUTBINDIR "..\..\game\bin"
  8. $Macro BINNAME "sourcevr"
  9. $Include "$SRCDIR\vpc_scripts\source_dll_base.vpc"
  10. $Configuration
  11. {
  12. $General
  13. {
  14. $AdditionalProjectDependencies "$BASE;filesystem_stdio"
  15. }
  16. $Compiler
  17. {
  18. $PreprocessorDefinitions "$BASE;SOURCEVR_DLL;VERSION_SAFE_STEAM_API_INTERFACES"
  19. $Create/UsePrecompiledHeader "Use Precompiled Header (/Yu)"
  20. $Create/UsePCHThroughFile "cbase.h"
  21. $PrecompiledHeaderFile "$(IntDir)/sourcevr.pch"
  22. }
  23. $Linker
  24. {
  25. $IgnoreImportLibrary "TRUE"
  26. }
  27. }
  28. $Project "SourceVR"
  29. {
  30. $Folder "Source Files"
  31. {
  32. $Folder "Precompiled Header"
  33. {
  34. $File "$SRCDIR\sourcevr\stdafx.cpp"
  35. {
  36. $Configuration
  37. {
  38. $Compiler
  39. {
  40. $Create/UsePrecompiledHeader "Create Precompiled Header (/Yc)"
  41. }
  42. }
  43. }
  44. $File "$SRCDIR\sourcevr\cbase.h"
  45. }
  46. $Folder "Public Headers"
  47. {
  48. $File "$SRCDIR\public\sourcevr\isourcevirtualreality.h"
  49. $File "$SRCDIR\public\openvr\openvr.h"
  50. }
  51. $File "$SRCDIR\sourcevr\sourcevirtualreality.h"
  52. $File "$SRCDIR\sourcevr\sourcevirtualreality.cpp"
  53. }
  54. $Folder "Link Libraries"
  55. {
  56. $ImpLibexternal openvr_api
  57. $Lib mathlib
  58. $Lib tier2
  59. $Lib tier3
  60. $Lib appframework
  61. $ImpLibexternal steam_api
  62. }
  63. }