Open phreed opened 11 months ago
Thanks for working on this!
I think it would be useful to update the documentation to indicate that llvm v16 is required and which packages are needed.
I don't follow - that's already documented: https://github.com/banach-space/clang-tutor#platform-support-and-requirements. What am I missing?
I have not added a test to run the generated executable.
Please add a test. You could update https://github.com/banach-space/clang-tutor/blob/main/.github/workflows/x86-ubuntu.yml to build HelloWorld
with and without CMake presets.
You are right the Ubuntu documentation is correct. I do not know what I was thinking.
I will add the ctest.
Newer versions of
cmake
supportCMakePresets.json
which provide a convenient way of specifying platform and toolchain settings. This PR provides is a simple example which works with Ubuntu 20.04I think it would be useful to update the documentation to indicate that llvm v16 is required and which packages are needed.
https://apt.llvm.org/
Here is the
/etc/apt/sources.list.d/llvm.list
And, here the signatures.
Here are the packages I installed to get this to work.
Then to configure and build.
I have not added a test to run the generated executable.