UPDATE: [CMake] restore previous compilation flags in release mode for gcc. Actually O3 optimization fails to compile with gcc4.5.2 but maybe it is only me...

git-svn-id: svn://scm.gforge.inria.fr/svnroot/sofa/trunk@9325 b7f1a160-662a-0410-a6d8-bea165342f16
cmake: build lib/ and bin/ folders in the shadow-build folder (no impact for in-place build)

git-svn-id: svn://scm.gforge.inria.fr/svnroot/sofa/trunk@9326 b7f1a160-662a-0410-a6d8-bea165342f16
cmake: removed -march='native' g++ optimization (fails build on mac/gcc4.2 and ubuntu/gcc4.6)

git-svn-id: svn://scm.gforge.inria.fr/svnroot/sofa/trunk@9327 b7f1a160-662a-0410-a6d8-bea165342f16
cmake: FIX build on Mac

git-svn-id: svn://scm.gforge.inria.fr/svnroot/sofa/trunk@9328 b7f1a160-662a-0410-a6d8-bea165342f16
cmake: Resetting GLOBAL_COMPILER_DEFINES at the start of each generation, otherwise it accumulates the same defines each time.

git-svn-id: svn://scm.gforge.inria.fr/svnroot/sofa/trunk@9329 b7f1a160-662a-0410-a6d8-bea165342f16
cmake: add EXTERNAL_PNG_SPECIFIC_VERSION and EXTERNAL_PNG_VERSION options to fix mac dependency package libpng version conflict

git-svn-id: svn://scm.gforge.inria.fr/svnroot/sofa/trunk@9330 b7f1a160-662a-0410-a6d8-bea165342f16
cmake: NDEBUG macro in release mode

git-svn-id: svn://scm.gforge.inria.fr/svnroot/sofa/trunk@9331 b7f1a160-662a-0410-a6d8-bea165342f16
UPDATE: [CMake build] SOFA_DEBUG flag when building in debug or release with debug info.

git-svn-id: svn://scm.gforge.inria.fr/svnroot/sofa/trunk@9332 b7f1a160-662a-0410-a6d8-bea165342f16