Re: [CMake] 3rd party cmake files

2006-06-07 Thread Brad King
Alexander Neundorf wrote: In this solution FindFoo.cmake contains only a few lines like find_path(QtDBUS_DIR FindQtDBUS.cmake PATHS ...) if(EXISTS ${QtDBUS_DIR}/QtDBUSConfig.cmake) include(${QtDBUS_DIR}/QtDBUSConfig.cmake) else(EXISTS ${QtDBUS_DIR}/QtDBUSConfig.cmake) # ...report not found..

Re: Re: [CMake] 3rd party cmake files

2006-06-07 Thread Alexander Neundorf
Hi, > Von: Brad King <[EMAIL PROTECTED]> >  > Alexander Neundorf wrote: > > Ok, we need a solution here. > > Now that cmake is going to enter the "center stage" :-) things are going > to change in this regard. > > Until now cmake comes with FindFoo.cmake modules for all other software > packages.

Re: [CMake] 3rd party cmake files

2006-06-07 Thread Brad King
Alexander Neundorf wrote: Ok, we need a solution here. Now that cmake is going to enter the "center stage" :-) things are going to change in this regard. Until now cmake comes with FindFoo.cmake modules for all other software packages. Once other software packages will also use cmake as their n

Re: Re: Re: [CMake] 3rd party cmake files

2006-06-07 Thread Alexander Neundorf
Hi, > Von: Alexander Neundorf <[EMAIL PROTECTED]> >  > > Von: Brad King <[EMAIL PROTECTED]> > >  > > Jan Woetzel wrote: ... > > > Extending cmake would be much easier and more "open" > > > with an easy way to extend teh search path for FIND_PACKAGE. > > > > What we really need is a way to make FI

Re: Re: [CMake] 3rd party cmake files

2006-06-06 Thread Alexander Neundorf
>  Original-Nachricht > Datum: Mon, 05 Jun 2006 17:01:16 -0400 > Von: Brad King <[EMAIL PROTECTED]> > An: Jan Woetzel <[EMAIL PROTECTED]> > Betreff: Re: [CMake] 3rd party cmake files >  > Jan Woetzel wrote: > > Brad King wrote: > >

Re: [CMake] 3rd party cmake files

2006-06-05 Thread Brad King
Jan Woetzel wrote: Brad King wrote: If it has found this file then why does it need a find script to find QtDBUS since it has just found something from the package? Brad, I do not agree if multiple packages/find scripts come into play because each client project has to take care of cmakes

Re: [CMake] 3rd party cmake files

2006-06-05 Thread Jan Woetzel
Brad King wrote: If it has found this file then why does it need a find script to find QtDBUS since it has just found something from the package? Brad, I do not agree if multiple packages/find scripts come into play because each client project has to take care of cmakes internal structure.

Re: [CMake] 3rd party cmake files

2006-06-05 Thread Brad King
Alexander Neundorf wrote: what's the preferred way to distribute cmake files for 3rd party projects ? Currently cmake looks for files in ${CMAKE_ROOT}/Modules and in CMAKE_MODULE_PATH. Now (e.g. the QtDBUS package) builds with cmake and actually should come with its own cmake files. One way i

Re: [CMake] 3rd party cmake files

2006-06-05 Thread Jan Woetzel
Alexander Neundorf wrote: what's the preferred way to distribute cmake files for 3rd party projects ? installs ...into ${CMAKE_ROOT}/Modules . This won't work if the user doesn't have root access. And user find script can't have the same name as standard find scripts. We "override" so

[CMake] 3rd party cmake files

2006-06-05 Thread Alexander Neundorf
Hi, what's the preferred way to distribute cmake files for 3rd party projects ? Currently cmake looks for files in ${CMAKE_ROOT}/Modules and in CMAKE_MODULE_PATH. Now (e.g. the QtDBUS package) builds with cmake and actually should come with its own cmake files. One way is to contribute these f