[llvm-commits] [PATCH] add LLVM_{MAJOR,MINOR}_VERSION defines
Duncan Sands
baldrick at free.fr
Sat Feb 4 00:53:15 PST 2012
Hi nobled,
> This is useful for clients that want to maintain compatibility
> across multiple releases of LLVM. Currently users like Klee and
> Mesa all have to roll their own 'parse llvm-config --version
> output and generate defines' solution.
+set(LLVM_VERSION_MAJOR 3)
+set(LLVM_VERSION_MINOR 1)
+
set(PACKAGE_VERSION "3.1svn")
Shouldn't the package version make use of LLVM_VERSION_MAJOR and
LLVM_VERSION_MINOR?
Ciao, Duncan.
More information about the llvm-commits
mailing list