make cmake command list copyable