I have tried to get Claude to compile arbitrary C++ projects with Emscripten, and its track record is about as good as mine.