One of the cool features of autotools is configure tests -- actually
invoking the compiler on a small sample program and seeing if it's
successful. Does CMake do this or do you have to depend on #ifdef
SOME_PLATFORM blocks to enable/disable features?
___
On Wed, Aug 5, 2009 at 4:57 PM, Alexander Neundorf
wrote:
> On Thursday 30 July 2009, David Cole wrote:
> > That looks like line 201 in CMake-2-6-4 source tree. In CVS HEAD, this
> has
> > moved to line 390, but the same code is still there...
> >
> > Looks like that whole else chunk should be rem
On Aug 5, 2009, at 5:05 PM, Alexander Neundorf wrote:
On Monday 03 August 2009, Dim wrote:
Hi group,
I'm using cmake 2.6.4 for cross platform development in Windows and
Linux.
On Windows we're using Visual Studio 9 and on Linux Eclipse with
CDT (4 or
5 - still not decided).
The code ha
On Tuesday 04 August 2009, Pierre-Julien Villoud wrote:
> Sorry, I did not precise that I work with GCC.
> Thanks for your answer, I thought about that solution but I wondered if
> something specific existed...
Using separate build directories for release and debug is the correct way to
do it if
On Monday 03 August 2009, Dim wrote:
> Hi group,
>
> I'm using cmake 2.6.4 for cross platform development in Windows and Linux.
>
> On Windows we're using Visual Studio 9 and on Linux Eclipse with CDT (4 or
> 5 - still not decided).
>
> The code have a lot of projects and they're nicely presented i
On Sunday 02 August 2009, alexis lameire wrote:
> Date: Sun, 2 Aug 2009 00:31:31 +0200
> Subject: Re: [CMake] How to use FIND_PACKAGE(xxx) ?
> From: mort.mo...@gmail.com
> To: alexisis-pristont...@hotmail.com
> CC: cmake@cmake.org
>
> Yeah I realized that it does not exists for Elastix, but it exis
On Thursday 30 July 2009, David Cole wrote:
> That looks like line 201 in CMake-2-6-4 source tree. In CVS HEAD, this has
> moved to line 390, but the same code is still there...
>
> Looks like that whole else chunk should be removed. Unless somebody can say
> why it's there...?
In order to keep so
Hi Pau,
On Thursday 30 July 2009, Pau Garcia i Quiles wrote:
> Hello,
>
> What's the difference between CheckIncludeFile and CheckIncludeFiles ?
> Implementations are slightly different but they seem to perform the
> same exact check
With CheckIncludeFiles you can give a list of headers, like
che
On Wednesday 29 July 2009, Mathieu Malaterre wrote:
> Hi there,
>
> Just a quick question, let say I am working on a very large project
> with multiple libraries, is there a way to say that the default
> property of for all generated shared library is "" (empty string) ?
Which property do you me
On Monday 27 July 2009, Ashwin Chandra wrote:
> I am using a custom compiler and during the initialization of CMake, the
> CMakeTestCCompiler.cmake is invoked which tries to compile a simple
> program. However the compile fails it is because of the flags passed to
> the compiler.
>
> For example, t
On Tuesday 28 July 2009, alexis lameire wrote:
...
> thenks i have not all understand but i have try this :)
> http://pastie.org/561548
> i don't understand the problem of create_pot and update_po target :)
> i wouldn't this target launch at all :) it's easyeast to me to have this
> target :) and
Asmodehn Shade writes:
>
> Hi,First sorry if this has been addressed in the past but I could find any
reference to it...I am using a Module FindFoo.cmake.I know I am expecting it to
set FOO_FOUND and other variables such as FOO_INCLUDE_DIR, FOO_LIBRARIES, etc.My
question is : what is the exact o
The existing UseSWIG.cmake file creates a MODULE and not a SHARED
library. The module is unuseable by any program trying to load dynamic
libraries (eg wrapped Java). The attached patch fixes this problem for
our situations. Demonstrated on both Mac OS X Leopard and Ubuntu Jaunty.
Is this a
Thank you. Applying this procedure for CMAKE_C_FLAGS and CMAKE_CXX_FLAGS
fixed the problem.
Juan
On Wed, Aug 5, 2009 at 3:41 AM, Dominik Szczerba wrote:
> try something like
>
> IF(MSVC)
>SET(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} /fp:strict")
> ENDIF(MSVC)
>
> - Dominik
>
> j
On 05.08.09 07:52:32, James C. Sutherland wrote:
>
> On Aug 5, 2009, at 1:33 AM, motes motes wrote:
>
>> I get the point of INCLUDE_DIRECTORIES (the various files used must be
>> located). But what is the point of LINK_DIRECTORIES and
>> TARGET_LINK_LIBRARIES?
>>
>
> LINK_DIRECTORIES specifies t
On Aug 5, 2009, at 1:33 AM, motes motes wrote:
I get the point of INCLUDE_DIRECTORIES (the various files used must
be located). But what is the point of LINK_DIRECTORIES and
TARGET_LINK_LIBRARIES?
LINK_DIRECTORIES specifies the path to search for libraries whereas
TARGET_LINK_LIBRARIES
Hi,
First sorry if this has been addressed in the past but I could find any
reference to it...
I am using a Module FindFoo.cmake.
I know I am expecting it to set FOO_FOUND and other variables such as
FOO_INCLUDE_DIR, FOO_LIBRARIES, etc.
My question is : what is the exact operation that I should
I found the following two pages very interesting, as it describes
tools to inspect overlinking and underlinking.
http://wiki.mandriva.com/en/Development/Tasks/Packaging/Problems/Underlinking
http://wiki.mandriva.com/en/Overlinking
Eg.
$ ldd -u -r /usr/lib/libvtkRendering.so
Unused direct dependen
try something like
IF(MSVC)
SET(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} /fp:strict")
ENDIF(MSVC)
- Dominik
j s wrote:
In my CMakeLists.txt, how do I tell the windows build to use
"/fp:strict" as a c and c++ compiler flag for any conceivable build
type? ADD_DEFINITIONS does no
In my CMakeLists.txt, how do I tell the windows build to use "/fp:strict" as
a c and c++ compiler flag for any conceivable build type? ADD_DEFINITIONS
does not appear to work.
Thanks,
Juan
___
Powered by www.kitware.com
Visit other Kitware open-source
I get the point of INCLUDE_DIRECTORIES (the various files used must be
located). But what is the point of LINK_DIRECTORIES and
TARGET_LINK_LIBRARIES? In a CMakeLists.txt file I have:
..
INCLUDE_DIRECTORIES(${ELASTIX_SRC}/Components/Optimizers/StandardGradientDescent)
...
...
LINK_DIRECTORIES(${E
21 matches
Mail list logo