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.

47 lines
1.5 KiB

  1. //====== Copyright � 1996-2005, Valve Corporation, All rights reserved. =======
  2. //
  3. // Purpose:
  4. //
  5. //=============================================================================
  6. #ifndef PROJECTGENERATOR_PS3_H
  7. #define PROJECTGENERATOR_PS3_H
  8. #ifdef _WIN32
  9. #pragma once
  10. #endif
  11. #define PROPERTYNAME( X, Y ) X##_##Y,
  12. enum PS3Properties_e
  13. {
  14. #include "projectgenerator_ps3.inc"
  15. };
  16. class CProjectGenerator_PS3 : public IVCProjWriter
  17. {
  18. public:
  19. CProjectGenerator_PS3();
  20. IBaseProjectGenerator *GetProjectGenerator() { return m_pVCProjGenerator; }
  21. virtual bool Save( const char *pOutputFilename );
  22. private:
  23. bool WriteToXML();
  24. bool WriteFolder( CProjectFolder *pFolder );
  25. bool WriteFile( CProjectFile *pFile );
  26. bool WriteConfiguration( CProjectConfiguration *pConfig );
  27. bool WritePreBuildEventTool( CPreBuildEventTool *pPreBuildEventTool );
  28. bool WriteCustomBuildTool( CCustomBuildTool *pCustomBuildTool );
  29. bool WriteSNCCompilerTool( CCompilerTool *pCompilerTool );
  30. bool WriteGCCCompilerTool( CCompilerTool *pCompilerTool );
  31. bool WriteSNCLinkerTool( CLinkerTool *pLinkerTool );
  32. bool WriteGCCLinkerTool( CLinkerTool *pLinkerTool );
  33. bool WritePreLinkEventTool( CPreLinkEventTool *pPreLinkEventTool );
  34. bool WriteLibrarianTool( CLibrarianTool *pLibrarianTool );
  35. bool WritePostBuildEventTool( CPostBuildEventTool *pPostBuildEventTool );
  36. const char *BoolStringToTrueFalseString( const char *pValue );
  37. CXMLWriter m_XMLWriter;
  38. CVCProjGenerator *m_pVCProjGenerator;
  39. };
  40. #endif // PROJECTGENERATOR_PS3_H