The cmake variable GEANT4_USE_SYSTEM_EXPAT is not documented. It must be set to ON in order to build with the Coin3D visualization (and coin's similar --enable-system-expat must be given to its configure script). Both Geant4 and Coin3D use the expat library, both contain a local version, and those local versions are incompatible, so it is necessary to supply a system expat library. Please describe all cmake variables in the installation guide, no matter how esoteric. Until I found this I was greatly perplexed. Also, please document the ability to add flags to the C++ compiler: CXXFLAGS="-DCOIN_NOT_DLL -DSOWIN_NOT_DLL" cmake .... (Those specific flags are necessary to build the OpenInventor driver using Coin3D and static libraries; omit the "_NOT" for shared libraries.)
ON =>NO
My mistake. It should be ON.
Expat option(s) documented, added section on use of various C/CXX/CFLAGS/CXXFLAGS variables and associated CMake command line options, added section on use of initial cache file to encode build settings. Committed in revision:4002 of documentation repository, will be in 9.6 Release.