This creates versioned executables for clang and clang++ files: clang-16 and clang++-16 respectively. Is there a way to define the version in premake5 via CLI. Currently, I am setting the toolset using --cc flag:
premake5 --cc=clang gmake
and manually creating a link for clang that points to the default version:
But I would rather use premake for this without modifying executable paths. Is there any way to set these values? I tried ot use --cc=clang-16 but it says the value is invalid.
What's your question?
I am installing LLVM using the llvm.sh file:
This creates versioned executables for clang and clang++ files:
clang-16
andclang++-16
respectively. Is there a way to define the version in premake5 via CLI. Currently, I am setting the toolset using--cc
flag:and manually creating a link for clang that points to the default version:
But I would rather use premake for this without modifying executable paths. Is there any way to set these values? I tried ot use
--cc=clang-16
but it says the value is invalid.