Consider using CMakeRC to package up the headers? https://github.com/vector-of-bool/cmrc Specifically we want this standalone header implementation of libcxx https://github.com/lefticus/libcxx