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

//====== Copyright © 1996-2005, Valve Corporation, All rights reserved. =======
//
// Purpose:
//
//=============================================================================
#ifndef PROJECTGENERATOR_XCODE_H
#define PROJECTGENERATOR_XCODE_H
#ifdef _WIN32
#pragma once
#endif
#include "baseprojectdatacollector.h"
class CProjectGenerator_XCode
{
public:
void GenerateXCodeProject( CBaseProjectDataCollector *pCollector, const char *pOutFilename, const char *pMakefileFilename );
private:
void Write( const char *pMsg, ... );
void WriteHeader();
void WriteFileReferences();
void WriteProject( const char *pchMakefileName );
void WriteBuildFiles();
void WriteBuildConfigurations();
void WriteLegacyTargets( const char *pchMakefileName );
void WriteTrailer();
void WriteConfig( CSpecificConfig *pConfig );
void WriteTarget_Build( CSpecificConfig *pConfig );
void WriteTarget_Compile( CSpecificConfig *pConfig );
void WriteTarget_Rebuild( CSpecificConfig *pConfig );
void WriteTarget_Link( CSpecificConfig *pConfig );
void WriteTarget_Debug( CSpecificConfig *pConfig );
void WriteIncludes( CSpecificConfig *pConfig );
void WriteFilesFolder( const char *pFolderName, const char *pExtensions );
void WriteFiles();
private:
CBaseProjectDataCollector *m_pCollector;
FILE *m_fp;
const char *m_pMakefileFilename;
int m_nIndent;
};
#endif // PROJECTGENERATOR_XCODE_H