remove CXX crud from CmakeLists.txt and add doc