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.

136 lines
3.5 KiB

  1. //-----------------------------------------------------------------------------
  2. // VPHYSICS.VPC
  3. //
  4. // Project Script
  5. //-----------------------------------------------------------------------------
  6. $macro SRCDIR ".."
  7. $Macro OUTBINDIR "$SRCDIR\..\game\bin"
  8. $include "$SRCDIR\vpc_scripts\source_dll_base.vpc"
  9. $Configuration
  10. {
  11. $Compiler
  12. {
  13. $AdditionalIncludeDirectories "$BASE;$SRCDIR\ivp\ivp_intern;$SRCDIR\ivp\ivp_collision;$SRCDIR\ivp\ivp_physics;$SRCDIR\ivp\ivp_surface_manager;$SRCDIR\ivp\ivp_utility;$SRCDIR\ivp\ivp_controller;$SRCDIR\ivp\ivp_compact_builder;$SRCDIR\ivp\havana\havok;$SRCDIR\ivp\havana"
  14. $PreprocessorDefinitions "$BASE;VPHYSICS_EXPORTS;HAVANA_CONSTRAINTS;HAVOK_MOPP"
  15. $Create/UsePrecompiledHeader "Use Precompiled Header (/Yu)"
  16. $Create/UsePCHThroughFile "cbase.h"
  17. $PrecompiledHeaderFile "$(IntDir)\vphysics.pch"
  18. // Language
  19. $EnableRunTimeTypeInfo "No (/GR-)"
  20. }
  21. $Compiler [$WIN32]
  22. {
  23. $EnableEnhancedInstructionSet "Streaming SIMD Extensions (/arch:SSE)"
  24. }
  25. $Linker
  26. {
  27. $AdditionalDependencies "$BASE odbc32.lib odbccp32.lib" [$WIN32]
  28. $SystemLibraries "iconv" [$OSXALL]
  29. }
  30. }
  31. $Project "vphysics"
  32. {
  33. $Folder "Source Files"
  34. {
  35. $File "stdafx.cpp"
  36. {
  37. $Configuration
  38. {
  39. $Compiler
  40. {
  41. $Create/UsePrecompiledHeader "Create Precompiled Header (/Yc)"
  42. }
  43. }
  44. }
  45. $File "convert.cpp" \
  46. "$SRCDIR\public\filesystem_helpers.cpp"
  47. {
  48. $Configuration
  49. {
  50. $Compiler
  51. {
  52. $Create/UsePrecompiledHeader "Not Using Precompiled Headers"
  53. }
  54. }
  55. }
  56. $File "ledgewriter.cpp"
  57. $File "main.cpp"
  58. $File "physics_airboat.cpp"
  59. $File "physics_collide.cpp"
  60. $File "physics_constraint.cpp"
  61. $File "physics_controller_raycast_vehicle.cpp"
  62. $File "physics_environment.cpp"
  63. $File "physics_fluid.cpp"
  64. $File "physics_friction.cpp"
  65. $File "physics_material.cpp"
  66. $File "physics_motioncontroller.cpp"
  67. $File "physics_object.cpp"
  68. $File "physics_shadow.cpp"
  69. $File "physics_spring.cpp"
  70. $File "physics_vehicle.cpp"
  71. $File "physics_virtualmesh.cpp"
  72. $File "trace.cpp"
  73. $File "vcollide_parse.cpp"
  74. $File "vphysics_saverestore.cpp"
  75. }
  76. $Folder "Header Files"
  77. {
  78. $File "cbase.h"
  79. $File "convert.h"
  80. $File "linear_solver.h"
  81. $File "physics_airboat.h"
  82. $File "physics_constraint.h"
  83. $File "physics_controller_raycast_vehicle.h"
  84. $File "physics_environment.h"
  85. $File "physics_fluid.h"
  86. $File "physics_friction.h"
  87. $File "physics_material.h"
  88. $File "physics_motioncontroller.h"
  89. $File "physics_object.h"
  90. $File "physics_shadow.h"
  91. $File "physics_spring.h"
  92. $File "physics_trace.h"
  93. $File "physics_vehicle.h"
  94. $File "vcollide_parse_private.h"
  95. $File "vphysics_internal.h"
  96. $File "vphysics_saverestore.h"
  97. }
  98. $Folder "Public Header Files"
  99. {
  100. $File "$SRCDIR\public\vphysics\collision_set.h"
  101. $File "$SRCDIR\public\vphysics\constraints.h"
  102. $File "$SRCDIR\public\datamap.h"
  103. $File "$SRCDIR\public\filesystem_helpers.h"
  104. $File "$SRCDIR\public\vphysics\friction.h"
  105. $File "$SRCDIR\public\vphysics\object_hash.h"
  106. $File "$SRCDIR\public\vphysics\performance.h"
  107. $File "$SRCDIR\public\vphysics\player_controller.h"
  108. $File "$SRCDIR\public\vphysics\stats.h"
  109. $File "$SRCDIR\public\vcollide.h"
  110. $File "$SRCDIR\public\vcollide_parse.h"
  111. $File "$SRCDIR\public\vphysics\vehicles.h"
  112. $File "$SRCDIR\public\vphysics_interface.h"
  113. $File "$SRCDIR\public\vphysics_interfaceV30.h"
  114. }
  115. $Folder "Link Libraries"
  116. {
  117. $Lib "$LIBCOMMON/havana_constraints"
  118. $Lib "$LIBCOMMON/hk_base"
  119. $Lib "$LIBCOMMON/hk_math"
  120. $Lib "$LIBCOMMON/ivp_compactbuilder"
  121. $Lib "$LIBCOMMON/ivp_physics"
  122. $Lib mathlib
  123. $Lib tier2
  124. }
  125. }