I work on LLVM, which is a federation of CMake projects. For example, cmake -S /path/to/llvm-project/llvm configures a build directory for building all of LLVM, while cmake -S /path/to/llvm-project/runtimes will only configure a directory for building the runtimes subproject (similarly for cmake -S /path/to/llvm-project/clang, cmake -S /path/to/llvm-project/lldb, etc.). It would be nice to specify the source directory per kit, so that I don't risk forgetting to change it when swapping from subproject to subproject.
Similarly, it would be good for each kit to specify its own build directory. This will make A/B tests and profile-guided optimisation builds less painful.
Brief Issue Summary
I work on LLVM, which is a federation of CMake projects. For example,
cmake -S /path/to/llvm-project/llvm
configures a build directory for building all of LLVM, whilecmake -S /path/to/llvm-project/runtimes
will only configure a directory for building the runtimes subproject (similarly forcmake -S /path/to/llvm-project/clang
,cmake -S /path/to/llvm-project/lldb
, etc.). It would be nice to specify the source directory per kit, so that I don't risk forgetting to change it when swapping from subproject to subproject.Similarly, it would be good for each kit to specify its own build directory. This will make A/B tests and profile-guided optimisation builds less painful.
CMake Tools Diagnostics
No response
Debug Log
No response
Additional Information
Here's what I'd like to see: