I'm trying to follow this thread because it seems like it might be important to me, but I'm not sure I understand the root problem. The problem isn't finding zlib? The problem isn't using custom modules? I guess there is something special about the custom zlib module that cmake's module doesn't
Alan W. Irwin wrote:
I think the real problem here is the documentation of FIND_PACKAGE needs
updating.
[snip]
The meaning of the phrase another project built by CMake is not clear. I
cannot believe that is some arbitrary project somewhere on the net.
Even if
it is is another project built
around it.
--Artur Kedzierski
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Doug HenrySent:
Friday, October 27, 2006 5:34To: Alan W. IrwinCc:
Kedzierski, Artur CIV NAVSURFWARCENDIV CORONA; Brad King; CMake Mailing
ListSubject: Re: [CMake] Telling CMake to use zlibConfig.cmake
On 2006-10-27 08:50-0700 Kedzierski, Artur CIV NAVSURFWARCENDIV CORONA wrote:
This is my understanding. Everybody, please correct me if I am wrong.
There are two types of modules: nameConfig.cmake. and Findname.cmake
A package (eg. library) provides nameConfig.cmake. The
Alan W. Irwin wrote:
A module that gives header and library information for a package does sound
most useful, and, in fact, we could use that kind of module for the PLplot
project (especially if the module is automatically generated from the
install information that CMake already has access
I have not seen a repo for cmake files like that, but I have a feeling there are cmake build files for zlib, png, etc in the VTK source (vtk.org).On 10/25/06,
Luigi Calori [EMAIL PROTECTED] wrote:
Kedzierski, Artur CIV NAVSURFWARCENDIV CORONA wrote: Hi, On Windows side, I built a zlib library and
Doug Henry wrote:
I have not seen a repo for cmake files like that, but I have a feeling
there are cmake build files for zlib, png, etc in the VTK source
(vtk.org http://vtk.org).
Another thing for people to do, is to request that the maintainers of
zlib, png, etc, add CMakeLists.txt files to
Kedzierski, Artur CIV NAVSURFWARCENDIV CORONA wrote:
Sounds like CMAKE_MODULE_PATH suggested by Alan
wouldn't do the trick.
Will this change make it for CMake 2.4.4?
I'm not sure about 2.4.4. You can check the documentation of the
FIND_PACKAGE command when it comes out. It will
Sounds like CMAKE_MODULE_PATH suggested by Alan
wouldn't do the trick.
An obvious interpretation of your question (which I have just re-read) is
how could I use a private module designed for one project in another
project? If that interpretation of your question is correct, then simply
zlibConfig.cmake.
--
Artur Kedzierski
-Original Message-
From: Alan W. Irwin [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 26, 2006 13:52
To: Kedzierski, Artur CIV NAVSURFWARCENDIV CORONA
Cc: Brad King; CMake Mailing List
Subject: RE: [CMake] Telling CMake to use zlibConfig.cmake instead
Now, in another project that uses zlib, FIND_PACKAGE(zlib)
uses Findzlib.cmake that comes with CMake. How can
I force it to use my zlibConfig.cmake instead?
SET CMAKE_MODULE_PATH. That variable is documented in
http://www.cmake.org/HTML/Documentation.html and also
11 matches
Mail list logo