I am following the recommendations at
http://public.kitware.com/pipermail/cmake/2006-May/009060.html and
http://public.kitware.com/pipermail/cmake/2006-July/010002.html to create the
CMake equivalent of the autotools "make dist" command, but for a long time,
I could not get the CPACK_SOURCE_IGNORE
Hi CMates,
(1)
can I retrieve a list with all components listed after REQUIRED, e.g.
FIND_PACKAGE(Foo REQUIRED component1 component2 ... )
-->
component1; component2 ?
I want to use it in FindFoo.cmake with
Foo_FIND_REQUIRED_component1
to handle arbitrary components (unknown to teh Find script
Von: John Ellson <[EMAIL PROTECTED]>
> Brad King wrote:
> >
> > I've just added it to the FAQ:
> >
> >
> http://www.cmake.org/Wiki/CMake_FAQ#Does_CMake_support_.22convenience.22_libraries.3F
>
> >
> >
> > Note that KDE used to use convenience libraries and is doing just fine
> > without them.
The source and header files will not magically be found in other
directories. You have to tell CMake where to find them. Try this in the
top-level CMakeLists.txt file:
ADD_LIBRARY(mylib src/x.cpp incl/x.hpp)
SOURCE_GROUP("Include Files" FILES incl/x.hpp)
Basically source files have to be nam
Hi Andrew,
Subversion support was added in CMake 2.4.
You may want to run:
ctest -D ExperimentalUpdate -V
and see what the output is.
Andy
Andrew Maclean wrote:
We have a Windows XP client and we need to run nightly tests on it.
The repository is a subversion one on a linux box.
We
Steve Johns wrote:
ProjDir
src
incl
lib
into which directory's CMakelists.txt file should I put the
SOURCE_FILES( "Include Files" FILES x.hpp y.hpp )
command, and could this:
ADD_LIBRARY( MyLibProj x.cpp y.cpp x.hpp y.hpp )
The source and header files will not magically be
Richard Moreland wrote:
I have a problem when building an object that resides in a path with
spaces. I have the following source tree:
/test
CMakeLists.txt
two words/
CMakeLists.txt
main.cpp
Spaces in the path to the top-level source tree and/or top-level build
tree are suppor
Hi,
I have a problem when building an object that resides in a path with
spaces. I have the following source tree:
/test
CMakeLists.txt
two words/
CMakeLists.txt
main.cpp
When I attempt to build this (in or out of source, using the generated
Makefile), I get:
make[2]: Enteri
SOURCE_FILES( "Include Files" FILES afile.hpp bfile.hpp )
This just assigns a group to the source files, but they still have to be
explicitly added to the source list of a target.
So, with a source dir tree like this:
ProjDir
src
incl
lib
into which directory's CMakelists.txt fil
Hi,
just as a hint, I solved it the following way:
lib/a/a.cmake
lib/b/b.cmake
lib/c/c.cmake
lib/c/CMakeLists.txt
now the .cmake files just contain conveniently named
variables (a_SRC, b_SRC, c_SRC)
and in lib/c/CMakeLists.txt I use a macro like
MY_LIBRARY( c SHARED ../a/a.cmake ../b/b.cmake ../c
John Ellson wrote:
how do I reference a symbol defined
in CMakeLists.txt in another directory for a list of source files?
e.g. in lib/graph/CMakeLists.txt I have:
SET(graph_SRCS attribs.c agxbuf.c edge.c graph.c
graphio.c lexer.c node.c parser.c refstr.c trie.c
)
and I want
Brad King wrote:
I've just added it to the FAQ:
http://www.cmake.org/Wiki/CMake_FAQ#Does_CMake_support_.22convenience.22_libraries.3F
Note that KDE used to use convenience libraries and is doing just fine
without them. They were really a hack in auto* because those tools
did not support
Steve Johns wrote:
Hi.
What I would like to accomplish:
In the MS VC7.1 .Net IDE
In the Solution Explorer, inside my project's folder, at the same level
as the 'Source Files' folder, I would like to create a 2nd folder
'Include Files' that would contain/display the ".hpp" files for my projec
Alexander Neundorf wrote:
Hi,
Von: Brad King <[EMAIL PROTECTED]>
John Ellson wrote:
Brad King wrote:
John Ellson wrote:
Not sure that I'm following the converstation properly here, but
can any of this be used to provide access to a set of .o for use as a
"convenience library" ?
No, these v
Hi,
Von: Brad King <[EMAIL PROTECTED]>
> John Ellson wrote:
> > Brad King wrote:
> >> John Ellson wrote:
> >>>
> >>> Not sure that I'm following the converstation properly here, but
> >>> can any of this be used to provide access to a set of .o for use as a
> >>> "convenience library" ?
> >>
> >
Original-Nachricht
Datum: Fri, 07 Jul 2006 10:28:01 -0400
Von: Brad King <[EMAIL PROTECTED]>
An: Alexander Neundorf <[EMAIL PROTECTED]>
Betreff: Re: [CMake] YARI (yet another RPATH idea)
> Alexander Neundorf wrote:
> > it's me again, again with my favourite topic: RPATH.
> > On
Hi.
What I would like to accomplish:
In the MS VC7.1 .Net IDE
In the Solution Explorer, inside my project's folder, at the same level as
the 'Source Files' folder, I would like to create a 2nd folder 'Include
Files' that would contain/display the ".hpp" files for my project.
My source tree
Alexander Neundorf wrote:
it's me again, again with my favourite topic: RPATH.
On the Mac there is the install name tool, and now I found a similar tool for
ELF systems, chrpath.
chrpath is able to:
1) remove the RPATH from a executable or library
2) change the RPATH to a RUNPATH
3) replace the
John Ellson wrote:
Brad King wrote:
John Ellson wrote:
Not sure that I'm following the converstation properly here, but
can any of this be used to provide access to a set of .o for use as a
"convenience library" ?
No, these variables are used to specify rules for the generators to
put in t
Brad King wrote:
John Ellson wrote:
Not sure that I'm following the converstation properly here, but
can any of this be used to provide access to a set of .o for use as a
"convenience library" ?
No, these variables are used to specify rules for the generators to
put in the build files.
Th
John Ellson wrote:
Brad King wrote:
Alexander Neundorf wrote:
Hi,
it would be nice if it would be possible to have for each object file
also a target which only preprocesses the file and one which
preprocesses and compiles, but not assembles the file (so that you
get the assembler code).
Brad King wrote:
Alexander Neundorf wrote:
Hi,
it would be nice if it would be possible to have for each object file
also a target which only preprocesses the file and one which
preprocesses and compiles, but not assembles the file (so that you
get the assembler code).
Is there a way to do
[EMAIL PROTECTED] wrote:
ok, bit of a learning curve here while changing
IDE's (and learining CMake again).
From the CMakeCache.txt for VTK:
MAKECOMMAND:STRING=C:\PROGRA~1\MICROS~2\Common7\IDE\VCExpress.exe VTK.sln
/build Release /project ALL_BUILD
at DOS cmd or cygwin bash prompt the abov
Alexander Neundorf wrote:
Hi,
it would be nice if it would be possible to have for each object file also a
target which only preprocesses the file and one which preprocesses and
compiles, but not assembles the file (so that you get the assembler code).
Is there a way to do this with macros ?
I am having some problems building a 64 bit version of my application
using the NMake generator on 64 bit Windows with Visual Studio 8.0.
I am using the Microsoft Platform SDK command prompts that can be opened
through the start menu. I can use the "Visual Studio 8 2005" generator
just fine. H
ok, bit of a learning curve here while changing
IDE's (and learining CMake again).
>From the CMakeCache.txt for VTK:
MAKECOMMAND:STRING=C:\PROGRA~1\MICROS~2\Common7\IDE\VCExpress.exe VTK.sln
/build Release /project ALL_BUILD
at DOS cmd or cygwin bash prompt the above
MAKECOMMAND runs.
Dean
Hi,
it's me again, again with my favourite topic: RPATH.
On the Mac there is the install name tool, and now I found a similar tool for
ELF systems, chrpath.
chrpath is able to:
1) remove the RPATH from a executable or library
2) change the RPATH to a RUNPATH
3) replace the RPATH with another RPAT
We have a Windows XP client and we need to run nightly tests on it. The repository is a subversion one on a linux box.
We use ssh+ssl to checkout the repository to the client. Now we can check it out OK and run a nightly test which is submitted OK. However the checked out repository is never upda
Hi,
it would be nice if it would be possible to have for each object file also a
target which only preprocesses the file and one which preprocesses and
compiles, but not assembles the file (so that you get the assembler code).
Is there a way to do this with macros ?
I almost think this would h
29 matches
Mail list logo