About NDEBUG and default flag for building :
+ I think NDEBUG must be also added in plugins flags (both codeblock and cmake). Be aware that you will get another bunch of inline problem. In file common/include/PS2Eext.h and /plugins/zerogs/opengl/zerogs.cpp and probably in others plugins that are not yet in cmake (however can be check with codeblock).
+ I think it will also a good idea to clear flags in plugins like we done in pcsx2 cmake file to avoid bad surprise.
I was trying to look into spu2-x. I look into the codeblock xml. It is normal there is no optimization (code is new I thinks), maybe the reason that it was working on codeblock and not autotools ? There is a linking on libUtilities.a and libx86emitter.a is it an intended behavior ? For consistence, the moving of plugins/spu2-x/src/3rdparty/liba52 into the main 3rdparty directory would be a good idea.
+ I think NDEBUG must be also added in plugins flags (both codeblock and cmake). Be aware that you will get another bunch of inline problem. In file common/include/PS2Eext.h and /plugins/zerogs/opengl/zerogs.cpp and probably in others plugins that are not yet in cmake (however can be check with codeblock).
+ I think it will also a good idea to clear flags in plugins like we done in pcsx2 cmake file to avoid bad surprise.
I was trying to look into spu2-x. I look into the codeblock xml. It is normal there is no optimization (code is new I thinks), maybe the reason that it was working on codeblock and not autotools ? There is a linking on libUtilities.a and libx86emitter.a is it an intended behavior ? For consistence, the moving of plugins/spu2-x/src/3rdparty/liba52 into the main 3rdparty directory would be a good idea.