[Kde-bindings] KDE/kdebindings/cmake/modules

Helio Chissini de Castro helio at kde.org
Wed Jul 2 19:32:30 UTC 2008


On Wednesday 02 July 2008 14:48:09 you wrote:
> On Wednesday 02 July 2008 16:47:55 Allen Winter wrote:
> > SVN commit 827314 by winterz:
> >
> > handle the case where cecil isn't found.
> > CCMAIL: helio at kde.org,Richard_Dale at tipitina.demon.co.uk
> >
> >
> >  M  +5 -3      CSharpMacros.cmake
> >
> >
> > --- trunk/KDE/kdebindings/cmake/modules/CSharpMacros.cmake #827313:827314
> > @@ -96,9 +96,11 @@
> >  	IF(NOT WIN32)
> >  		INCLUDE(FindPkgConfig)
> >  		PKG_SEARCH_MODULE(CECIL cecil)
> > -		EXECUTE_PROCESS(COMMAND ${PKG_CONFIG_EXECUTABLE} cecil
> > --variable=assemblies_dir OUTPUT_VARIABLE GAC_ASSEMBLY_DIR
> > OUTPUT_STRIP_TRAILING_WHITESPACE) -		INSTALL(CODE
> > "EXECUTE_PROCESS(COMMAND ${GACUTIL_EXECUTABLE} -i
> > ${CS_LIBRARY_TARGET_DIR}/${target}.dll -package 2.0 -root
> > ${CMAKE_CURRENT_BINARY_DIR})") -		INSTALL(DIRECTORY
> > ${CMAKE_CURRENT_BINARY_DIR}/mono/ DESTINATION ${GAC_ASSEMBLY_DIR} ) +
> >          if(CECIL_FOUND)
> > +			EXECUTE_PROCESS(COMMAND ${PKG_CONFIG_EXECUTABLE} cecil
> > --variable=assemblies_dir OUTPUT_VARIABLE GAC_ASSEMBLY_DIR
> > OUTPUT_STRIP_TRAILING_WHITESPACE) +			INSTALL(CODE
> > "EXECUTE_PROCESS(COMMAND ${GACUTIL_EXECUTABLE} -i
> > ${CS_LIBRARY_TARGET_DIR}/${target}.dll -package 2.0 -root
> > ${CMAKE_CURRENT_BINARY_DIR})") +			INSTALL(DIRECTORY
> > ${CMAKE_CURRENT_BINARY_DIR}/mono/ DESTINATION ${GAC_ASSEMBLY_DIR} )
> > +		endif(CECIL_FOUND)
> >  	ELSE(NOT WIN32)
> >  		INSTALL(CODE "EXECUTE_PROCESS(COMMAND ${GACUTIL_EXECUTABLE} -i
> > ${CS_LIBRARY_TARGET_DIR}/${target}.dll -package 2.0)") ENDIF(NOT WIN32)
>
> Great - thanks! It works for me again. These are the Mono related .pc files
> I have installed from Kubuntu Gutsy packages:
>
> mardigras rdale 548% ls /usr/lib/pkgconfig/*mono*
> /usr/lib/pkgconfig/mono-addins-gui.pc    /usr/lib/pkgconfig/mono-cecil.pc
> /usr/lib/pkgconfig/mono-addins.pc        /usr/lib/pkgconfig/monodevelop.pc
> /usr/lib/pkgconfig/mono-addins-setup.pc  /usr/lib/pkgconfig/monodoc.pc
> /usr/lib/pkgconfig/mono-cairo.pc         /usr/lib/pkgconfig/mono.pc
>
> I don't know if it is incomplete or why the cecil.pc one was missing as I
> have the cicil dev library installed.
>
> -- Richard

I tried to reach rdale yesterday to get a list of pkgconfig modules on 
Kubuntu, and strangely i saw that cecil.pc is named mono-cecil.pc just right 
now.

Thanks for fix this Allen

-- 
Helio Chissini de Castro
KDE Project
Brasil and South America Primary Contact



More information about the Kde-bindings mailing list