Re: [CMake] Question about find_library()

2009-03-27 Thread Alexander Neundorf
On Friday 27 March 2009, Philip Lowman wrote: On Thu, Mar 26, 2009 at 10:23 PM, Robert Dailey rcdai...@gmail.com wrote: I'm assuming that the macro in question will automatically mark all cache variables as advanced. Is this the case? @Mike Jackson Thank you for this info. I forgot

Re: [CMake] Question about find_library()

2009-03-27 Thread Robert Dailey
On Fri, Mar 27, 2009 at 12:29 PM, Alexander Neundorf a.neundorf-w...@gmx.net wrote: I think I have to object here. AFAIK the CMake devs prefer to basically use mark_as_advanced() by default for all results from find_library/program/path/file() in find-modules, and only keep those entries

Re: [CMake] Question about find_library()

2009-03-27 Thread Philip Lowman
On Fri, Mar 27, 2009 at 1:29 PM, Alexander Neundorf a.neundorf-w...@gmx.net wrote: On Friday 27 March 2009, Philip Lowman wrote: On Thu, Mar 26, 2009 at 10:23 PM, Robert Dailey rcdai...@gmail.com wrote: I'm assuming that the macro in question will automatically mark all cache

Re: [CMake] Question about find_library()

2009-03-26 Thread Mike Jackson
MARK_AS_ADVANCED(glFont2_LIBRARIES) MARK_AS_ADVANCED(glFont2_INCLUDE_DIRS) _ Mike Jackson mike.jack...@bluequartz.net BlueQuartz Softwarewww.bluequartz.net Principal Software Engineer

Re: [CMake] Question about find_library()

2009-03-26 Thread Robert Dailey
Thanks for the info Philip. I would like to make this as close to the accepted convention as possible so that this might potentially get accepted into the CMake distribution if I ever decide to submit it. My scripts are fairly simple and untested on multiple operating systems and build systems. I

Re: [CMake] Question about find_library()

2009-03-26 Thread Philip Lowman
On Thu, Mar 26, 2009 at 10:23 PM, Robert Dailey rcdai...@gmail.com wrote: I'm assuming that the macro in question will automatically mark all cache variables as advanced. Is this the case? @Mike Jackson Thank you for this info. I forgot about that function. There seems to be an

Re: [CMake] Question about FIND_LIBRARY

2008-04-14 Thread Ilya Shvetsov
Any one can help me with this problem? -- Ilya Shvetsov KranX Productions On Fri, 11 Apr 2008 17:53:29 +0300, Ilya Shvetsov [EMAIL PROTECTED] wrote: Hi, all. I use cmake 2.4.8 on Windows XP with MSVC 2005 and Cygwin installed. I have two versions of lib A. First one for

Re: [CMake] Question about FIND_LIBRARY

2008-04-14 Thread Alexander Neundorf
On Friday 11 April 2008, Ilya Shvetsov wrote: Hi, all. I use cmake 2.4.8 on Windows XP with MSVC 2005 and Cygwin installed. I have two versions of lib A. First one for MSVC - A.lib Second one for gcc - libA.a To find lib A I type this command FIND_LIB(LIB_A A PATHS

Re: [CMake] Question about FIND_LIBRARY

2008-04-14 Thread Bill Hoffman
Ilya Shvetsov wrote: Any one can help me with this problem? -- Ilya Shvetsov KranX Productions On Fri, 11 Apr 2008 17:53:29 +0300, Ilya Shvetsov [EMAIL PROTECTED] wrote: Hi, all. I use cmake 2.4.8 on Windows XP with MSVC 2005 and Cygwin installed. I have two versions of lib A.

[CMake] Question about FIND_LIBRARY

2008-04-11 Thread Ilya Shvetsov
Hi, all. I use cmake 2.4.8 on Windows XP with MSVC 2005 and Cygwin installed. I have two versions of lib A. First one for MSVC - A.lib Second one for gcc - libA.a To find lib A I type this command FIND_LIB(LIB_A A PATHS ${LIB_PATHS}) For NMake Generator all work fine. For Unix