cmake: added a few settings for building on Xbox 360.

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

git-svn-id: svn://scm.gforge.inria.fr/svnroot/sofa/trunk@9369 b7f1a160-662a-0410-a6d8-bea165342f16
cmake: Added an option to choose if we want to build Sofa applications or just the libraries, fixed the build of some samples on windows and of SofaPhysicsAPI, fixed some compiler defines added in a previous changelist.

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

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