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.

86 lines
2.1 KiB

  1. //-----------------------------------------------------------------------------
  2. // video_webm.vpc
  3. //
  4. // Project Script
  5. //
  6. // Description: WebM video sub-system (for video services system)
  7. //
  8. //-----------------------------------------------------------------------------
  9. $Macro SRCDIR ".."
  10. $Macro OUTBINDIR "$SRCDIR\..\game\bin"
  11. $Include "$SRCDIR\vpc_scripts\source_dll_base.vpc"
  12. $Configuration
  13. {
  14. $Compiler
  15. {
  16. $AdditionalIncludeDirectories "$BASE;$SRCDIR\dx9sdk\include" [$WIN32]
  17. $AdditionalIncludeDirectories "$BASE;$SRCDIR\thirdparty\libvpx-v1.1.0"
  18. $AdditionalIncludeDirectories "$BASE;$SRCDIR\thirdparty\libvorbis-1.3.2\include"
  19. $AdditionalIncludeDirectories "$BASE;$SRCDIR\thirdparty\libwebm"
  20. $AdditionalIncludeDirectories "$BASE;$SRCDIR\thirdparty\libogg-1.2.2\include"
  21. }
  22. $Linker
  23. {
  24. $IgnoreImportLibrary "Yes" [$WIN32]
  25. $AdditionalDependencies "$BASE vfw32.lib" [$WIN32]
  26. $SystemLibraries "iconv" [$OSXALL]
  27. $SystemFrameworks "Carbon" [$OSXALL]
  28. $AdditionalLibraryDirectories "$BASE;$SRCDIR\dx9sdk\lib" [$WIN32]
  29. }
  30. }
  31. $Configuration "Debug"
  32. {
  33. $General
  34. {
  35. $OutputDirectory "Debug_Video_WebM"
  36. $IntermediateDirectory "Debug_Video_WebM"
  37. }
  38. }
  39. $Configuration "Release"
  40. {
  41. $General
  42. {
  43. $OutputDirectory "Release_Video_WebM"
  44. $IntermediateDirectory "Release_Video_WebM"
  45. }
  46. }
  47. $Project "video_webm"
  48. {
  49. $Folder "Source Files" [$OSXALL||$WIN32||$LINUXALL]
  50. {
  51. $file "webm_video.cpp"
  52. // $file "webm_material.cpp"
  53. $file "webm_recorder.cpp"
  54. }
  55. $Folder "Header Files" [$OSXALL||$WIN32||$LINUXALL]
  56. {
  57. $file "videosubsystem.h"
  58. $file "video_macros.h"
  59. $file "webm_video.h"
  60. $file "webm_recorder.h"
  61. $file "webm_common.h"
  62. $file "$SRCDIR\public\pixelwriter.h"
  63. }
  64. $Folder "Link Libraries"
  65. {
  66. $Lib tier1
  67. $Lib tier2
  68. $Lib $LIBCOMMON/libvorbis
  69. $Lib $LIBCOMMON/libvpx
  70. $Lib $LIBCOMMON/libwebm
  71. $Lib $LIBCOMMON/libvorbisenc
  72. $Lib $LIBCOMMON/libogg
  73. }
  74. }