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
47 lines
1.5 KiB
//====== Copyright © 1996-2005, Valve Corporation, All rights reserved. =======
|
|
//
|
|
// Purpose:
|
|
//
|
|
//=============================================================================
|
|
|
|
#ifndef PROJECTGENERATOR_PS3_H
|
|
#define PROJECTGENERATOR_PS3_H
|
|
#ifdef _WIN32
|
|
#pragma once
|
|
#endif
|
|
|
|
#define PROPERTYNAME( X, Y ) X##_##Y,
|
|
enum PS3Properties_e
|
|
{
|
|
#include "projectgenerator_ps3.inc"
|
|
};
|
|
|
|
class CProjectGenerator_PS3 : public IVCProjWriter
|
|
{
|
|
public:
|
|
CProjectGenerator_PS3();
|
|
IBaseProjectGenerator *GetProjectGenerator() { return m_pVCProjGenerator; }
|
|
|
|
virtual bool Save( const char *pOutputFilename );
|
|
|
|
private:
|
|
bool WriteToXML();
|
|
bool WriteFolder( CProjectFolder *pFolder );
|
|
bool WriteFile( CProjectFile *pFile );
|
|
bool WriteConfiguration( CProjectConfiguration *pConfig );
|
|
bool WritePreBuildEventTool( CPreBuildEventTool *pPreBuildEventTool );
|
|
bool WriteCustomBuildTool( CCustomBuildTool *pCustomBuildTool );
|
|
bool WriteSNCCompilerTool( CCompilerTool *pCompilerTool );
|
|
bool WriteGCCCompilerTool( CCompilerTool *pCompilerTool );
|
|
bool WriteSNCLinkerTool( CLinkerTool *pLinkerTool );
|
|
bool WriteGCCLinkerTool( CLinkerTool *pLinkerTool );
|
|
bool WritePreLinkEventTool( CPreLinkEventTool *pPreLinkEventTool );
|
|
bool WriteLibrarianTool( CLibrarianTool *pLibrarianTool );
|
|
bool WritePostBuildEventTool( CPostBuildEventTool *pPostBuildEventTool );
|
|
const char *BoolStringToTrueFalseString( const char *pValue );
|
|
|
|
CXMLWriter m_XMLWriter;
|
|
CVCProjGenerator *m_pVCProjGenerator;
|
|
};
|
|
|
|
#endif // PROJECTGENERATOR_PS3_H
|