using cmake build system
Merge branch 'cmake' into dev
port from qmake to cmake.