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.

34 lines
1.1 KiB

  1. //===================== Copyright (c) Valve Corporation. All Rights Reserved. ======================
  2. //
  3. //
  4. //
  5. //==================================================================================================
  6. #ifndef CRCCHECK_SHARED_H
  7. #define CRCCHECK_SHARED_H
  8. #ifdef _WIN32
  9. #pragma once
  10. #endif
  11. #ifdef STEAM
  12. #define VPCCRCCHECK_EXE_FILENAME "vpc.exe"
  13. #else
  14. #define VPCCRCCHECK_EXE_FILENAME "vpccrccheck.exe"
  15. #endif
  16. // The file extension for the file that contains the CRCs that a vcproj depends on.
  17. #define VPCCRCCHECK_FILE_EXTENSION "vpc_crc"
  18. #define VPCCRCCHECK_FILE_VERSION_STRING "[vpc crc file version 1]"
  19. void Sys_Error( const char *format, ... );
  20. int Sys_LoadTextFileWithIncludes( const char* filename, char** bufferptr );
  21. bool VPC_CheckProjectDependencyCRCs( const char *pProjectFilename, const char *pReferenceSupplementalString, char *pErrorString, int nErrorStringLength );
  22. // Used by vpccrccheck.exe or by vpc.exe to do the CRC check that's initiated in the pre-build steps.
  23. int VPC_CommandLineCRCChecks( int argc, char **argv );
  24. #endif // CRCCHECK_SHARED_H