There weren't any test related stuff to comment out, at least, anything I could see...
There's something in your build setup that's causing the CMakeLists.txt in GG/test to be used, which is added a bunch of files to compile including AdamTestParser.cpp. There's probably a setting to turn this off. If not, there's probably something in the main GG CMakeLists.txt that could be commented out. My guess is the "add_subdirectory(test)" line.
...I'm seeing that boost must be 1.49 or greater
CMakeLists.txt for GG says:
so I don't think 1.49 is needed. On Windows, FO and GG build find with 1.47.