tweaking cmake compilation flags
add some cmake notes