diff options
Diffstat (limited to 'external/vpc/utils/vpccrccheck/crccheck_shared.h')
| -rw-r--r-- | external/vpc/utils/vpccrccheck/crccheck_shared.h | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/external/vpc/utils/vpccrccheck/crccheck_shared.h b/external/vpc/utils/vpccrccheck/crccheck_shared.h new file mode 100644 index 0000000..ce177d0 --- /dev/null +++ b/external/vpc/utils/vpccrccheck/crccheck_shared.h @@ -0,0 +1,34 @@ +//===================== Copyright (c) Valve Corporation. All Rights Reserved. ====================== +// +// +// +//================================================================================================== + +#ifndef CRCCHECK_SHARED_H +#define CRCCHECK_SHARED_H +#ifdef _WIN32 +#pragma once +#endif + + +#ifdef STANDALONE_VPC +#define VPCCRCCHECK_EXE_FILENAME "vpc.exe" +#else +#define VPCCRCCHECK_EXE_FILENAME "vpccrccheck.exe" +#endif + +// The file extension for the file that contains the CRCs that a vcproj depends on. +#define VPCCRCCHECK_FILE_EXTENSION "vpc_crc" +#define VPCCRCCHECK_FILE_VERSION_STRING "[vpc crc file version 2]" + + +void Sys_Error( const char *format, ... ); +int Sys_LoadTextFileWithIncludes( const char* filename, char** bufferptr, bool bInsertFileMacroExpansion ); + +bool VPC_CheckProjectDependencyCRCs( const char *pProjectFilename, const char *pReferenceSupplementalString, char *pErrorString, int nErrorStringLength ); + +// Used by vpccrccheck.exe or by vpc.exe to do the CRC check that's initiated in the pre-build steps. +int VPC_CommandLineCRCChecks( int argc, char **argv ); + + +#endif // CRCCHECK_SHARED_H |