<div dir="ltr">This seems to be a CMake issue that I just can't figure out. The only reason I'm sending an email to llvmdev is in hope of getting the attention of more CMake ninjas (I'm not subscribed to this list so please reply to all).<div>
<br></div><div>By "out of source" I mean llvm at c:/llvm and clang at c:/clang and both are configured separately so that I get two solutions.</div><div><br></div><div>Basically ClangDriverOptions and ClangCC1AsOptions will fail saying: 'C:\llvm-build\bin\\llvm-tblgen.exe' is not recognized as an internal or external command</div>
<div><br></div><div>This is correct, because the actual path to tblgen has Debug in it (bin\Debug\llvm-tblgen), it should go right between those two backlashes (bin\\). Only these two project call llvm-tblgen, other clang project seem to be using clang-tblgen which works fine. I've added some tracing to llvm/cmake/modules/tablegen.cmake where tablegen CMake macro is defined but haven't had much success in figuring out where the wrong path is coming from.</div>
</div>