this removes submodules and external libraries in the code in favor of importing them as CPM packages. CPM_SOURCE_CACHE is recommended as codegen has to readd two of the same dependencies