Counter Strike : Global Offensive Source Code
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.

45 lines
1.9 KiB

  1. //-----------------------------------------------------------------------------
  2. // AVI_BASE.VPC
  3. //
  4. // Controls selection (and compilation) of various video subsystems
  5. //
  6. // Defines to add or remove to the preprocessor definitions:
  7. //
  8. // AVI_VIDEO - controls availability of IAvi interface, playing of AVI Video files in Engine
  9. // BINK_VIDEO - controls availability of IBik interface
  10. // QUICKTIME_VIDEO - controls availability of IQuickTime interface
  11. // WMV_VIDEO - controls availability of playing WMV MPEG video files in Engine
  12. //
  13. // FORCE_QUICKTIME - causes engine to force change ".bik" ".wmv" ".avi" extensions to ".mov" and
  14. // look for Quicktime playback *IF* the same file exists in .mov form
  15. //
  16. //-----------------------------------------------------------------------------
  17. // We use Quicktime exclusively (and only quicktime) on the Mac
  18. //
  19. // We have two configurations for Win32.
  20. //
  21. // 1) Comment out the following $macro line out to enable BINK (and AVI and WMV) playback of videos
  22. // 2) Uncomment the following $macro line out to enable Quicktime (and AVI and WMV) playback of videos and
  23. // - the Quicktime file override ( the Quicktime .mov is played if present even if a .bnk, .avi or .wmv file was specified )
  24. // $macro QUICKTIME_WINDOWS 1 [ $WINDOWS ]
  25. $Conditional SDL "1" [ $GL && !$OSX32 ]
  26. $Configuration
  27. {
  28. $Compiler
  29. {
  30. $PreprocessorDefinitions "$BASE" [$OSXALL]
  31. $PreprocessorDefinitions "$BASE;AVI_VIDEO;WMV_VIDEO" [ ( $WINDOWS && !$QUICKTIME_WINDOWS ) || $X360 || $PS3 ]
  32. $PreprocessorDefinitions "$BASE;AVI_VIDEO;WMV_VIDEO;QUICKTIME_VIDEO;FORCE_QUICKTIME" [ $WINDOWS && $QUICKTIME_WINDOWS ]
  33. $PreprocessorDefinitions "$BASE;GL_GLEXT_PROTOTYPES;DX_TO_GL_ABSTRACTION" [$GL]
  34. $PreprocessorDefinitions "$BASE;USE_SDL" [$SDL]
  35. $AdditionalIncludeDirectories "$BASE;$SRCDIR\thirdparty\SDL2" [$SDL]
  36. }
  37. }