[PATCH] Adds a CMake package configuration file for libclang

Damien Buhl damien.buhl at lecbna.org
Sun Mar 10 06:22:02 PDT 2013



On 03/08/2013 01:14 AM, Argyrios Kyrtzidis wrote:

>
> How about defining ${LIBCLANG_LIBRARY_VERSION} as concatenation of
> ${CINDEX_VERSION_MAJOR}.${CINDEX_VERSION_MINOR}.${CLANG_VERSION_MAJOR}.${CLANG_VERSION_MINOR},
> for example: libclang 0.12.3.3
>
> 0.12 is the important one for linking/using the libclang API, but it is
> also good to know the clang version it was built with.
>

Thanks this is a nice idea.

I will do it this way then, and check compatibility in version file 
against the CINDEX_* ones.

I'll send an updated patch on Wednesday, I should have time to rework it 
until there.

Cheers and Thank you,
--
Damien Buhl
alias daminetreg



More information about the cfe-commits mailing list