[PATCH] Adds a CMake package configuration file for libclang

Brad King brad.king at kitware.com
Thu Mar 14 07:45:05 PDT 2013


On 03/13/2013 05:33 PM, Damien Buhl wrote:
> @Brad King : What do you think about LIBCLANG_LIBRARY_VERSION as a 
> concatenation of : 
> CINDEX_VERSION_MAJOR.CINDEX_VERSION_MINOR.CLANG_VERSION_MAJOR.CLANG_VERSION_MINOR 
> ? Isn't it a problem that patch and tweak version of the lib are the 
> major, minor of clang ?

This is a decision for Clang/libclang folks to make, not me.

The goal is to provide a version number that applications can use
to ensure the libclang they find will meet their needs.  The
number is for the interface of libclang, so CINDEX_VERSION_*
makes sense there IIRC.

I'm not familiar enough with the relative versioning of Clang to
libclang to make a specific recommendation on CLANG_VERSION_*
components.

-Brad



More information about the cfe-commits mailing list