I use CoolReader3 only as fb2 files viewer.
So, I don't want to include into it doc (antiword) and chm support.
Configure options array is:
mycmakeargs="-D GUI=QT -D CHM_SUPPORT_ENABLED=0 -D ENABLE_ANTIWORD=0"
To enshure they are skipped prior to build I remove proper subdirectories:
rm -r thirdparty/antiword || die
rm -r thirdparty/chmlib || die
In this case build failes with the following error message:
Will build patched LIBCHM library
CMake Error at CMakeLists.txt:222 (ADD_SUBDIRECTORY):
add_subdirectory given source "thirdparty/chmlib" which is not an existing
directory.Will build patched ANTIWORD library
CMake Error at CMakeLists.txt:232 (ADD_SUBDIRECTORY):
add_subdirectory given source "thirdparty/antiword" which is not an
existing directory.