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.

51 lines
1.4 KiB

  1. //====== Copyright � 1996-2005, Valve Corporation, All rights reserved. =======
  2. //
  3. // Purpose:
  4. //
  5. //=============================================================================
  6. #ifndef PROJECTGENERATOR_XCODE_H
  7. #define PROJECTGENERATOR_XCODE_H
  8. #ifdef _WIN32
  9. #pragma once
  10. #endif
  11. #include "baseprojectdatacollector.h"
  12. class CProjectGenerator_XCode
  13. {
  14. public:
  15. void GenerateXCodeProject( CBaseProjectDataCollector *pCollector, const char *pOutFilename, const char *pMakefileFilename );
  16. private:
  17. void Write( const char *pMsg, ... );
  18. void WriteHeader();
  19. void WriteFileReferences();
  20. void WriteProject( const char *pchMakefileName );
  21. void WriteBuildFiles();
  22. void WriteBuildConfigurations();
  23. void WriteLegacyTargets( const char *pchMakefileName );
  24. void WriteTrailer();
  25. void WriteConfig( CSpecificConfig *pConfig );
  26. void WriteTarget_Build( CSpecificConfig *pConfig );
  27. void WriteTarget_Compile( CSpecificConfig *pConfig );
  28. void WriteTarget_Rebuild( CSpecificConfig *pConfig );
  29. void WriteTarget_Link( CSpecificConfig *pConfig );
  30. void WriteTarget_Debug( CSpecificConfig *pConfig );
  31. void WriteIncludes( CSpecificConfig *pConfig );
  32. void WriteFilesFolder( const char *pFolderName, const char *pExtensions );
  33. void WriteFiles();
  34. private:
  35. CBaseProjectDataCollector *m_pCollector;
  36. FILE *m_fp;
  37. const char *m_pMakefileFilename;
  38. int m_nIndent;
  39. };
  40. #endif // PROJECTGENERATOR_XCODE_H