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.

74 lines
2.2 KiB

  1. //-----------------------------------------------------------------------------
  2. // VALVE_AVI.VPC
  3. //
  4. // Project Script
  5. //
  6. // MGP 4/010 Updated to support Quicktime on OSX. Win32 builds can optionally
  7. // be enabled for cross platform work if quickTime is installed on the Win32
  8. // PC.
  9. //-----------------------------------------------------------------------------
  10. $Macro SRCDIR ".."
  11. $Macro OUTBINDIR "$SRCDIR\..\game\bin"
  12. $Include "$SRCDIR\vpc_scripts\source_dll_base.vpc"
  13. $include "$SRCDIR\vpc_scripts\source_video_base.vpc"
  14. $Configuration
  15. {
  16. $Compiler
  17. {
  18. // Win32 - need to point to Quicktime 7 for Win SDK directory so that dependant includes will work
  19. $AdditionalIncludeDirectories "$BASE,..\common\quicktime_win32\" [$QUICKTIME_WINDOWS]
  20. $AdditionalIncludeDirectories "$BASE;$SRCDIR\dx9sdk\include" [$WINDOWS]
  21. $AdditionalIncludeDirectories "$BASE;$SRCDIR\thirdparty\sdl\include;$SRCDIR\thirdparty\sdl_mixer" [$LINUXALL]
  22. }
  23. $Linker
  24. {
  25. $IgnoreImportLibrary "Yes" [$WINDOWS]
  26. $AdditionalDependencies "$BASE vfw32.lib" [$WINDOWS]
  27. $SystemLibraries "iconv" [$OSXALL]
  28. $SystemFrameworks "Quicktime;Carbon"
  29. $AdditionalLibraryDirectories "$BASE;$SRCDIR\dx9sdk\lib" [$WINDOWS]
  30. $GCC_ExtraLinkerFlags "-z muldefs -L$SRCDIR/thirdparty/sdl/build/.libs" [$LINUXALL]
  31. $SystemLibraries "SDL2" [$LINUXALL]
  32. }
  33. }
  34. $Project "valve_avi"
  35. {
  36. $Folder "Source Files"
  37. {
  38. $File "avi.cpp" [$WINDOWS]
  39. $File "avi_osx.cpp" [$OSXALL]
  40. $File "bink.cpp" [!$OSXALL]
  41. $file "quicktime.cpp" [$QUICKTIME_VIDEO||$QUICKTIME_WINDOWS]
  42. }
  43. $Folder "Header Files"
  44. {
  45. $File "avi.h"
  46. $file "quicktime.h"
  47. // $File "$SRCDIR\BinkSDK\bink.h"
  48. $File "$SRCDIR\public\pixelwriter.h"
  49. }
  50. $Folder "Interface"
  51. {
  52. $File "$SRCDIR\public\avi\iavi.h"
  53. $File "$SRCDIR\public\avi\ibik.h"
  54. $File "$SRCDIR\public\avi\iquicktime.h"
  55. }
  56. $Folder "Link Libraries" [$WINDOWS||$X360||$POSIX]
  57. {
  58. $Lib tier2
  59. $lib tier3
  60. $File "$SRCDIR\lib\common\quicktime\QTMLClient.lib" [$QUICKTIME_WINDOWS]
  61. $File "$SRCDIR\DX9SDK\lib\dsound.lib" [$QUICKTIME_WINDOWS]
  62. $File "$SRCDIR\DX9SDK\lib\dxguid.lib" [$QUICKTIME_WINDOWS]
  63. $File "$SRCDIR\lib\common\libSDL2_mixer.a" [$LINUXALL]
  64. }
  65. }