ADD: CMAKE functions
AddCompilerDefinitions function to easily add compiler definitions instead of using COMPILER_DEFINES variable
AddCompilerFlags function to easily add compiler flags instead of using COMPILER_FLAGS variable
AddLinkerDependencies function to easily add linker dependencies instead of using LINKER_DEPENDENCIES variable
AddLinkerFlags function to easily add linker flags instead of using LINKER_FLAGS variable
CHANGE: cmake projects have been adapted to use these functions

git-svn-id: svn://scm.gforge.inria.fr/svnroot/sofa/trunk@9541 b7f1a160-662a-0410-a6d8-bea165342f16
fix minor bugs in CompressedRowSparseMatrix and CudaMatrix

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