make Doxygen generation dynamic (cmake)