linux/debug builds fix

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1693 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
nakeee 2008-12-26 13:19:27 +00:00
parent 95a341a4e9
commit acd0e0d8da
3 changed files with 30 additions and 26 deletions

View File

@ -3,23 +3,29 @@
Import('env') Import('env')
files = [ files = [
"BPMemory.cpp", 'BPMemory.cpp',
"CPMemory.cpp", 'CPMemory.cpp',
"LookUpTables.cpp", 'memcpy_amd.cpp',
'LookUpTables.cpp',
'OpcodeDecoding.cpp', 'OpcodeDecoding.cpp',
"TextureDecoder.cpp", 'TextureDecoder.cpp',
"XFMemory.cpp", 'XFMemory.cpp',
"XFBConvert.cpp", 'XFBConvert.cpp',
"PixelShader.cpp", 'PixelShader.cpp',
"PixelShaderManager.cpp", 'PixelShaderManager.cpp',
"VertexShader.cpp", 'VertexShader.cpp',
"VertexShaderManager.cpp", 'VertexShaderManager.cpp',
"ImageWrite.cpp", 'VertexLoader.cpp',
"NativeVertexWriter.cpp", 'VertexLoader_Color.cpp',
"Statistics.cpp", 'VertexLoader_Normal.cpp',
"Fifo.cpp", 'VertexLoader_Position.cpp',
"VideoState.cpp", 'VertexLoader_TextCoord.cpp',
"Profiler.cpp", 'ImageWrite.cpp',
'NativeVertexWriter.cpp',
'Statistics.cpp',
'Fifo.cpp',
'VideoState.cpp',
'Profiler.cpp',
] ]
env_common = env.Clone() env_common = env.Clone()

View File

@ -85,9 +85,13 @@ void HandleGLError();
#define ERROR_LOG __Log #define ERROR_LOG __Log
#if defined(_DEBUG) || defined(DEBUGFAST) #if defined(_DEBUG) || defined(DEBUGFAST)
#define INFO_LOG if( g_Config.iLog & CONF_LOG ) __Log // FIXME ugly hack for debug to build should use logmanager
#define PRIM_LOG if( g_Config.iLog & CONF_PRIMLOG ) __Log //#define INFO_LOG if( g_Config.iLog & CONF_LOG ) __Log
//#define PRIM_LOG if( g_Config.iLog & CONF_PRIMLOG ) __Log
#define INFO_LOG __Log
#define PRIM_LOG __Log
#define DEBUG_LOG __Log #define DEBUG_LOG __Log
#else #else
#define INFO_LOG(...) #define INFO_LOG(...)

View File

@ -13,21 +13,15 @@ files = [
'BPStructs.cpp', 'BPStructs.cpp',
'Globals.cpp', 'Globals.cpp',
'Config.cpp', 'Config.cpp',
'memcpy_amd.cpp',
'rasterfont.cpp', 'rasterfont.cpp',
'Render.cpp', 'Render.cpp',
'TextureMngr.cpp', 'TextureMngr.cpp',
'NativeVertexFormat.cpp', 'NativeVertexFormat.cpp',
'VertexManager.cpp',
'VertexLoader.cpp',
'VertexLoader_Color.cpp',
'VertexLoader_Normal.cpp',
'VertexLoader_Position.cpp',
'VertexLoader_TextCoord.cpp',
'VertexLoaderManager.cpp',
'PixelShaderCache.cpp', 'PixelShaderCache.cpp',
'VertexShaderCache.cpp', 'VertexShaderCache.cpp',
'TextureConverter.cpp', 'TextureConverter.cpp',
'VertexManager.cpp',
'VertexLoaderManager.cpp',
'XFB.cpp', 'XFB.cpp',
'XFStructs.cpp', 'XFStructs.cpp',
] ]