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
955 B

  1. //-----------------------------------------------------------------------------
  2. // UNITLIB.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. $PreprocessorDefinitions "$BASE;UNITLIB_DLL_EXPORT"
  14. }
  15. $PreLinkEvent [!$POSIX]
  16. {
  17. $CommandLine "call $SRCDIR\vpc_scripts\valve_p4_edit.cmd $SRCDIR\lib\public\$(TargetName).lib $SRCDIR" "\n" \
  18. "call $SRCDIR\vpc_scripts\valve_p4_edit.cmd $SRCDIR\lib\public\$(TargetName).exp $SRCDIR" "\n" \
  19. "$BASE"
  20. }
  21. $Linker [!$POSIX]
  22. {
  23. $AdditionalDependencies "odbc32.lib odbccp32.lib"
  24. $ImportLibrary "$SRCDIR\lib\public\$(TargetName).lib"
  25. }
  26. }
  27. $Project "Unitlib"
  28. {
  29. $Folder "Source Files"
  30. {
  31. $File "unitlib.cpp"
  32. }
  33. $Folder "Header Files"
  34. {
  35. $File "$SRCDIR\public\unitlib\unitlib.h"
  36. }
  37. }