I thought it was a good idea to just use libcom ;-)
and chose
# To build areaDetector so that it only depends on libCom and asyn set the following flag
EPICS_LIBCOM_ONLY=YES
Did this option make any sense at all in this "huge" project?
That option is intended to be used when building areaDetector for non-EPICS systems, so that you only get dependencies to libCom and asyn, which is the absolute minimum.
If you want to use areaDetector inside an EPICS IOC, you will always need to link against the libraries needed for the EPICS IOC.
Cheers,
~Ralph