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')
files = [
"BPMemory.cpp",
"CPMemory.cpp",
"LookUpTables.cpp",
'BPMemory.cpp',
'CPMemory.cpp',
'memcpy_amd.cpp',
'LookUpTables.cpp',
'OpcodeDecoding.cpp',
"TextureDecoder.cpp",
"XFMemory.cpp",
"XFBConvert.cpp",
"PixelShader.cpp",
"PixelShaderManager.cpp",
"VertexShader.cpp",
"VertexShaderManager.cpp",
"ImageWrite.cpp",
"NativeVertexWriter.cpp",
"Statistics.cpp",
"Fifo.cpp",
"VideoState.cpp",
"Profiler.cpp",
'TextureDecoder.cpp',
'XFMemory.cpp',
'XFBConvert.cpp',
'PixelShader.cpp',
'PixelShaderManager.cpp',
'VertexShader.cpp',
'VertexShaderManager.cpp',
'VertexLoader.cpp',
'VertexLoader_Color.cpp',
'VertexLoader_Normal.cpp',
'VertexLoader_Position.cpp',
'VertexLoader_TextCoord.cpp',
'ImageWrite.cpp',
'NativeVertexWriter.cpp',
'Statistics.cpp',
'Fifo.cpp',
'VideoState.cpp',
'Profiler.cpp',
]
env_common = env.Clone()

View File

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

View File

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