Hi
I want to do a custom build based on the build type. I know how to
define ADD_CUSTOM_COMMAND but I do not know how to run custom command
selectively. Because the build type can be set on the fly, I am not
sure if it is possible. Any comment will be appreciated. I am using
CMake on Windows with
From: Pau Garcia i Quiles <[EMAIL PROTECTED]>
> For OpenThreads, I'm fairly close to the OpenThreads project and I've
> been working on a formal find script for CMake. (I thought one of my
> older scripts was already in the distribution too.) Our users have
> found a lot of interesting problem
I just noted in passing that "item" should be changed to "items" in the
following documentation paragraph for LIST
REMOVE_AT and REMOVE_ITEM will remove item from the list. The
difference is that REMOVE_ITEM will remove the given items, while
REMOVE_AT will remove the item a
On 2007-05-23 14:39-0600 [EMAIL PROTECTED] wrote:
Forgive me if this is a "dumb n00b" question, but is there a way to
retrieve a single item from a list in CMake? I need to parse the
returned output of EXEC_PROGRAM.
LIST(GET...
Alan
__
Alan W. Irwin
Astronomical res
Forgive me if this is a "dumb n00b" question, but is there a way to
retrieve a single item from a list in CMake? I need to parse the
returned output of EXEC_PROGRAM.
___
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake
Pascal Fleury wrote:
On Sunday 20 May 2007 16:14:49 Kenny Erleben wrote:
Our users use their IDE to get an overview of the header library, they
do ``code-digging'' and use the class-browser to find their way to a
tool etc.. For making this more easy we simply use a ``library'' project
in vc80.
On 5/23/07, Philip Lowman <[EMAIL PROTECTED]> wrote:
Thanks for pointing out the caveats. I can live with both of them :)
Me, too... (Caveat on the caveats: those are the two *that I know of*...)
:-)
Glad it helped,
David
___
CMake mailing list
CM
David Cole wrote:
This "works" with just cmake:
FILE(READ "${file}" contents)
# Convert file contents into a CMake list (where each element in the list
# is one line of the file)
#
STRING(REGEX REPLACE ";" ";" contents "${contents}")
STRING(REGEX REPLACE "\n" ";" contents "${con
Am Mittwoch 23 Mai 2007 20:37 schrieb Pau Garcia i Quiles:
> Quoting Hendrik Sattler <[EMAIL PROTECTED]>:
> > Am Mittwoch 23 Mai 2007 16:28 schrieb Pau Garcia i Quiles:
> >> I am writing a FindQwt5.cmake script. As Qwt 5.x can be dynamically
> >> linked against Qt3 or Qt4, on Unix I use 'ldd' to fi
Quoting Hendrik Sattler <[EMAIL PROTECTED]>:
Am Mittwoch 23 Mai 2007 16:28 schrieb Pau Garcia i Quiles:
I am writing a FindQwt5.cmake script. As Qwt 5.x can be dynamically
linked against Qt3 or Qt4, on Unix I use 'ldd' to find out (on most
cases) what version of Qt is Qwt linked to.
Is there a
On Wednesday 23 May 2007 10:50:54 pm you wrote:
> itts wrote:
> > Yes. But damn those windows users... they only want to point and click!!
> > ;-)
>
> This is true, and I have considered adding an option or dialog to
> CMakeSetup where you can pre-set CC and CXX or maybe any other
> environment var
Hello, all!
There is a problem in CMake, at least in version 2.4.6 on Linux.
I want to build dynamically-linked binary while I test my program but
want to build static one to distibute it to customers.
The problem arises when my binary is built using libraries.
Generated Makefile rule includes l
kitts wrote:
Yes. But damn those windows users... they only want to point and click!! ;-)
This is true, and I have considered adding an option or dialog to
CMakeSetup where you can pre-set CC and CXX or maybe any other
environment variables before hitting configure. It is not as easy as it
Am Mittwoch 23 Mai 2007 16:28 schrieb Pau Garcia i Quiles:
> I am writing a FindQwt5.cmake script. As Qwt 5.x can be dynamically
> linked against Qt3 or Qt4, on Unix I use 'ldd' to find out (on most
> cases) what version of Qt is Qwt linked to.
>
> Is there anything like 'ldd' in Windows which is i
On Wednesday 23 May 2007 10:31:03 pm Alexander Neundorf wrote:
> > Yes. Its __ICCARM__ for ARM and __ICCAVR__ for AVR.
>
> Is there also a generic one without the architecture ?
There is __IAR_SYSTEMS_ICC__
--
Regards,
Kishore
___
CMake mailing list
CMa
On Wednesday 23 May 2007 12:38, kitts wrote:
> On Wednesday 23 May 2007 9:36:56 pm Alexander Neundorf wrote:
> > > OK. I recently added support for the IAR toolchain in my project. IAR
> > > is quite different when compared to GCC variants that I had used until
> > > now. IAR itself is available fo
On Wednesday 23 May 2007 9:36:56 pm Alexander Neundorf wrote:
> > OK. I recently added support for the IAR toolchain in my project. IAR is
> > quite different when compared to GCC variants that I had used until now.
> > IAR itself is available for multiple architectures and the difference is
> > on
On Wednesday 23 May 2007 09:21, Kishore, Jonnalagadda (IE10) wrote:
> > -Original Message-
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] On
> > Behalf Of Alexander Neundorf
> > Sent: Wednesday, May 23, 2007 6:00 PM
> > To: cmake@cmake.org
> > Subject: Re: [CMake] [Dev] CMake 2.5
On 2007-05-23 14:32+0200 Jesper Eskilson wrote:
Hi all,
I'm wondering about how (large) CMake projects handle the "install"
phase with respect to incremental building and debugging. Do people
always "install" before running/testing/debugging, or is it common to
be able to run/test/debug directl
Hi, all,
I have a question about QT_WRAP_CPP and QT_WRAP_UI. Now the default
behavior of them are to generate .h and .cxx files.
How could I modify something to change them to .H and .C(for example)
file extensions? Thanks.
Regards,
Liang
--
KDE China: http://www.kdecn.org
Qt/Qtopia Chinese Fo
Hello,
I am writing a FindQwt5.cmake script. As Qwt 5.x can be dynamically
linked against Qt3 or Qt4, on Unix I use 'ldd' to find out (on most
cases) what version of Qt is Qwt linked to.
Is there anything like 'ldd' in Windows which is installed by default
on the system? I mean, Dependenc
This "works" with just cmake:
FILE(READ "${file}" contents)
# Convert file contents into a CMake list (where each element in the list
# is one line of the file)
#
STRING(REGEX REPLACE ";" ";" contents "${contents}")
STRING(REGEX REPLACE "\n" ";" contents "${contents}")
The reason I sa
Quoting Philip Lowman <[EMAIL PROTECTED]>:
I'm trying to figure out how to use FILE(READ) coupled with some other
CMake call to split a text file into multiple lines that ultimately end
up in a CMake List.
The goal is to get all of the lines into a CMake list so I can iterate
through it with FO
I'm trying to figure out how to use FILE(READ) coupled with some other
CMake call to split a text file into multiple lines that ultimately end
up in a CMake List.
The goal is to get all of the lines into a CMake list so I can iterate
through it with FOREACH() and process each line separately.
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Alexander Neundorf
> Sent: Wednesday, May 23, 2007 6:00 PM
> To: cmake@cmake.org
> Subject: Re: [CMake] [Dev] CMake 2.5-20070519 and tool chain support
>
> On Wednesday 23 May 2007 00:58, Kishore, Jon
Yeah, I noticed the same lack of C# support in the code base as well. I
was thinking that perhaps a well crafted ADD_CUSTOM_COMMAND would do the
trick,
but that's kinda clumsy.
Anybody else?
-Original Message-
From: Joshua Jensen [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 22, 2007 2
Hi all,
I'm wondering about how (large) CMake projects handle the "install"
phase with respect to incremental building and debugging. Do people
always "install" before running/testing/debugging, or is it common to
be able to run/test/debug directly from the build output directory?
I would ideall
On Wednesday 23 May 2007 00:58, Kishore, Jonnalagadda (IE10) wrote:
...
> Does this work with all types of modules? I mean for those modules that
> are automatically included like find packages, compiler settings,
> platform settings etc?
Can you please explain a bit more in detail what you mean ?
28 matches
Mail list logo