Changed WIN32 to _WIN32 to support gnu c++11

Signed-off-by: martell <martellmalone@gmail.com>
fix warning because of extra comma's

Signed-off-by: martell <martellmalone@gmail.com>
added support for static and shared builds on windows

Signed-off-by: martell <martellmalone@gmail.com>
added support for static and shared builds with ui

Signed-off-by: martell <martellmalone@gmail.com>
added support for static and shared builds with audio and studio

Signed-off-by: martell <martellmalone@gmail.com>
added support for static and shared builds with extensions

Signed-off-by: martell <martellmalone@gmail.com>
added flags for shared windows build

Signed-off-by: martell <martellmalone@gmail.com>
Enable Static and Shared support in CMakeLists

Signed-off-by: martell <martellmalone@gmail.com>
Multi platform cmake support

Signed-off-by: martell <martellmalone@gmail.com>
Fixed up some more cmake errors

Signed-off-by: martell <martellmalone@gmail.com>
Finalise Windows cmake support for mingw-w64

Signed-off-by: martell <martellmalone@gmail.com>
Finalise Mac Support for cmake

Signed-off-by: martell <martellmalone@gmail.com>
Added CC_STATIC support for 3d, all these commits will be squashed and renamed, structured and signed at the end

Signed-off-by: martell <martellmalone@gmail.com>
Android: added support for building libcocos2d

Signed-off-by: martell <martellmalone@gmail.com>
linux: fixed include dirs

Signed-off-by: martell <martellmalone@gmail.com>
IOS: Added initial cmake toolchain

Signed-off-by: martell <martellmalone@gmail.com>
Merge pull request #8558 from ricardoquesada/more_samples_using_node_lambda

more samples using node::schedule(labmda)
Merge pull request #7876 from martell/cmakewin

CMake support for Windows, Mac, Linux, and initial support for IOS and Android