improve cpack config, add doxygen config