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.

38 lines
1.3 KiB

  1. //============ Copyright (c) Valve Corporation, All rights reserved. ==========
  2. //
  3. // In addition to fbx_base.vpc which defines the version, include path and
  4. // defines for compiling code that utilizes Autodesk FBX SDK, add the lib
  5. // for linking.
  6. //
  7. //=============================================================================
  8. $MacroRequired SRCDIR
  9. $Include "$SRCDIR\vpc_scripts\fbx_base.vpc"
  10. $Macro VSDIR "vs2010" [$VS2010]
  11. $Macro VSDIR "vs2012" [$VS2012]
  12. $Macro VSDIR "vs2012" [$VS2013] // !!NOTE!! INTENTIONALLY use the 2012 version to avoid a bug caused by the VS2013 compiler.
  13. $Macro VSDIR "vs2012" [$VS2015] // !!NOTE!! INTENTIONALLY use the 2012 version to avoid a bug caused by the VS2013 compiler.
  14. // Use the shared version of FBX lib to allow mixing DEBUG & RELEASE builds
  15. $Macro FBXLIB_RELEASE "$FBXDIR\lib\$VSDIR\x86\release\libfbxsdk.lib" [$WIN32]
  16. $Macro FBXLIB_RELEASE "$FBXDIR\lib\$VSDIR\x64\release\libfbxsdk.lib" [$WIN64]
  17. $Macro FBXLIB_DEBUG "$FBXDIR\lib\$VSDIR\x86\release\libfbxsdk.lib" [$WIN32]
  18. $Macro FBXLIB_DEBUG "$FBXDIR\lib\$VSDIR\x64\release\libfbxsdk.lib" [$WIN64]
  19. $Configuration "Release"
  20. {
  21. $Linker
  22. {
  23. $AdditionalDependencies "$BASE wininet.lib $FBXLIB_RELEASE" [$WIN32 || $WIN64]
  24. }
  25. }
  26. $Configuration "Debug"
  27. {
  28. $Linker
  29. {
  30. $AdditionalDependencies "$BASE wininet.lib $FBXLIB_DEBUG" [$WIN32 || $WIN64]
  31. }
  32. }