cmake script

cmake script for win32 and msvc