Re: [CMake] CMake book

2008-02-07 Thread Pau Garcia i Quiles
Quoting Pau Garcia i Quiles <[EMAIL PROTECTED]>: Quoting Michael Wild <[EMAIL PROTECTED]>: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all I wanted to ask whether the new CMake book will be available on Amazon or some other (preferably european) retailer. The problem is that if I buy it

Re: [CMake] CMake book

2008-02-07 Thread Michael Wild
On 7Feb, 2008, at 9:57, Pau Garcia i Quiles wrote: Quoting Pau Garcia i Quiles <[EMAIL PROTECTED]>: Quoting Michael Wild <[EMAIL PROTECTED]>: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all I wanted to ask whether the new CMake book will be available on Amazon or some other (prefer

[CMake] Custom build (PRE_BUILD step command)

2008-02-07 Thread Ivan Chupahin
Hello everyone! My project uses some source files, wich generated before build start. For generate this files in CMake i uses ADD_CUSTOM_COMMAND with PRE_BUILD option and SET_SOURCE_FILES_PROPERTIES with option GENERATED sets as true for cancel error during add a file to a target. But folowing er

[CMake] NSIS installer with both debug and release

2008-02-07 Thread BenoƮt Chanclou
Hello, We use CMAKE to make our library. For Windows we use Visual Studio. Everything is fine, only one problem: How can we create an installer (nsis) which installs both debug and release version of the dll ? When we generate the PACKAGE project in Visual, it generates an installer with only one

Re: [CMake] Dependency checking for D

2008-02-07 Thread Maik Beckmann
Am Donnerstag 07 Februar 2008 19:30:08 schrieb Alexander Neundorf: > The C/C++ dependency scanner can be influenced by setting the variable > CMAKE__INCLUDE_REGEX_SCAN to another regular expression which > matches the language (D). I don't know if this would be good enough for D. > > Then there a

[CMake] how to write CMakeLists.txt to use exiv2?

2008-02-07 Thread kdsfinger
hi, there I am trying to use exiv2 in my c++ program, but not sure how to set this up with cmake. There is FindExiv2.cmake on the internet but now work (and I guess is now out of date). After install the exiv2, it locates in the following dir: /usr/include/exiv2 /usr/include/exiv2/exiv2_version.h

Re: [CMake] Problem compiling on XCode @ Leopard

2008-02-07 Thread Steven Van Ingelgem
The problem is that I cannot because I want my application to run on 10.4+ On 07/02/2008, Sean McBride <[EMAIL PROTECTED]> wrote: > On 2/7/08 11:02 PM, Steven Van Ingelgem said: > > >"_main", referenced from: > >start in crt1.10.5.so > >symbol(s) not found for architecture i386 > >collect2: ld ret

[CMake] dependency on library in a subdir

2008-02-07 Thread Sylvain Jaume
Hi, I have these directories: Foo Foo/Bar I need to link Foo.dll to Bar.dll In the CmakeLists.txt in Foo, I wrote: SUBDIRS(Bar) ADD_LIBRARY(FooLib ${SRC_FILES}) TARGET_LINK_LIBRARIES(FooLib BarLib) ADD_DEPENDENCIES(FooLib BarLib) But VS builds FooLib.dll first and complains that BarLib.dll

Re: [CMake] Problem compiling on XCode @ Leopard

2008-02-07 Thread Sean McBride
Then add "-mmacosx-version-min=10.4". If you are _running_ on Leopard, gcc/ld/Xcode default to 10.5 as the deployment target. Are you specifying an SDK? On 2/7/08 11:59 PM, Steven Van Ingelgem said: >The problem is that I cannot because I want my application to run on 10.4+ > >On 07/02/2008, Se

Re: [CMake] Problem compiling on XCode @ Leopard

2008-02-07 Thread Sean McBride
On 2/7/08 11:02 PM, Steven Van Ingelgem said: >"_main", referenced from: >start in crt1.10.5.so >symbol(s) not found for architecture i386 >collect2: ld returned 1 exit status See: Try adding "-mmacosx-version-min=10.5" to your 'other c flags'. -

Re: [CMake] 4th Edition CMake book now in stock

2008-02-07 Thread Daniel
Ken Martin wrote: The 4th edition CMake books have arrived and you can order them from http://kitware.com/products/cmakebook.html They should show up on Amazon in the near future as well. A summary table of contents is included below. Thanks Ken This edition of the book is written around 2.6

Re: [CMake] Problem compiling on XCode @ Leopard

2008-02-07 Thread Mike Jackson
If you open the "Build Panel" in xcode where all the build information is written there is a group of 3 tiny buttons just under where all the build info is being written. Click the button that looks like 3 horizontal lines. This should open up another panel that all the detailed gcc/g++ inv

[CMake] Problem compiling on XCode @ Leopard

2008-02-07 Thread Steven Van Ingelgem
Hi, I don't know if this is a known problem, but I'm trying to compile an executable at a Mac. It compiles nicely with the generator "Unix Makefiles", but when I compile it under Debug mode in the generator "Xcode", it gives the error: "_main", referenced from: start in crt1.10.5.so symbol(s) n

Re: [CMake] dependency on library in a subdir

2008-02-07 Thread Alexander Neundorf
On Thursday 07 February 2008, Sylvain Jaume wrote: > Hi, > > I have these directories: > > Foo > Foo/Bar > > I need to link Foo.dll to Bar.dll > In the CmakeLists.txt in Foo, I wrote: > > SUBDIRS(Bar) Use ADD_SUBDIRECTORY() instead pof SUBDIRS(), this will be processed in order (and not at the en

Re: [CMake] Dependency checking for D

2008-02-07 Thread Tim Burrell
Date: Thu, 7 Feb 2008 19:30:08 +0100 From: Alexander Neundorf <[EMAIL PROTECTED]> On Wednesday 06 February 2008, Tim Burrell wrote: Hi there, I'm one of the maintainers of the CMake module for the D programming language (http://dsource.org/projects/cmaked), and currently the module works r

Re: [CMake] Dependency checking for D

2008-02-07 Thread Tim Burrell
Date: Thu, 7 Feb 2008 19:38:18 +0100 From: Maik Beckmann <[EMAIL PROTECTED]> While C and C++ dependency tracking uses regular expressions the java and fortran pendants use lex/yacc generated parsers. I don't know D very well, but if the language specification forces the import directives

[CMake] ctest using different executable for debug and release

2008-02-07 Thread Sylvain Jaume
Hi, I'd like to do: ADD_TEST(applicationRelease.exe ) when I type ctest -C Release and ADD_TEST(applicationDebug.exe ) when I type ctest -C Debug How could I do that? Sylvain ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman

Re: [CMake] Dependency checking for D

2008-02-07 Thread Alexander Neundorf
On Wednesday 06 February 2008, Tim Burrell wrote: > Hi there, > > I'm one of the maintainers of the CMake module for the D programming > language (http://dsource.org/projects/cmaked), and currently the module > works really well, with one exception: dependency checking. > > Since D uses an "import"