Add CMake setup for generation of command list and headers