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
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: Config.cmake. and Find.cmake
A package (eg. library) provides Config.cmake. The
Config.cmake
advertises pac
This is my understanding. Everybody,
please correct me if I am wrong.
There are two types of modules:
Config.cmake. and Find.cmake
A package (eg. library)
provides Config.cmake. The
Config.cmake
advertises package's locations (where were its
headers and libraries installed), ve
Tristan Carel wrote:
> now the RC2
That looks good. Thanks for making the changes.
Please open a feature request here:
http://www.cmake.org/Bug
and attach the lateset revision of the file. Send me the bug number
please. Then I'll do the final testing and integration into CMake upstream.
Tha
Maik Beckmann wrote:
> If I put the >>add_custom_command<< into
> Project_dir/mydir/CMakeLists.txt everything works fine. Is this a
> limitation of cmake?
Yes. Custom commands are considered on a per-directory basis when
looking for source files.
Also note that your example command modifies the
Tristan Carel wrote:
> To extract the list of headers in a set of source files contained in a
> variable, I don't see other solution than iterate on each element and
> check that the items match the regular expression:
You can submit a feature request for LIST(FILTER) here:
http://www.cmake.org/B
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 projec
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
Tristan Carel wrote:
> Hi,
>
> Does CMake performs arithmetic expansion?
> Do we have to use an external tool? (like bc, or expr)
>
> I don't find anything about it on the bug tracker.
>
> I would be fantastic to be able to write something like this:
> SET(Foo 2)
> SET(Bar $EVAL{0x101000 + ${Foo
Hi,
Does CMake performs arithmetic expansion?
Do we have to use an external tool? (like bc, or expr)
I don't find anything about it on the bug tracker.
I would be fantastic to be able to write something like this:
SET(Foo 2)
SET(Bar $EVAL{0x101000 + ${Foo}})
To avoid complexity growth of the p
Hi,
To extract the list of headers in a set of source files contained in a
variable, I don't see other solution than iterate on each element and
check that the items match the regular expression:
FILE(GLOB My_Sources "*.*")
# [...]
FOREACH(item ${My_Sources})
STRING(REGEX MATCH ".+\\.h?h$" item
11 matches
Mail list logo