[CMake] Strange problem with build running twice from ctest script on Windows

2009-08-24 Thread Martin Apel
Hi all, I am experiencing a very strange problem with a build run via a ctest script on Windows. The script looks as follows: SET (CTEST_SOURCE_DIRECTORY "C:/s_9XXX_build-windows-32/develop") SET (CTEST_PROJECT_NAME "Spck NA") SITE_NAME(CTEST_SITE) SET(CTEST_BUILD_NAME win32-plain-Experimental) S

Re: [CMake] Strange problem...

2009-02-03 Thread Hendrik Sattler
Nima Talebi schrieb: > -DONLY=HOTWIRE_INDEP;HOTWIRE_DOC;FUNCWIRE_OVERLORD;FUNCWIRE_MINION -DDIST=1 > .. > CMake Error: The source directory "/usr/src/hotwire-0.2.3/BUILD" does not > appear to contain CMakeLists.txt. > Specify --help for usage, or press the help button on the CMake GUI. > /bin/sh: H

[CMake] Strange problem...

2009-02-02 Thread Nima Talebi
Hi all, I'm having trouble understanding what the problem is here... This is the relevant part of the make process (which calls cmake in producing a debian package)... echo `pwd` /usr/src/hotwire-0.2.3 cd BUILD; cmake -DBUILD=Release -DPREFIX=STAGING -DWEBDIR=usr/share/hotwire-irbd-common/sfweb -

Re: [CMake] Strange problem creating and linking against a static lib

2009-01-07 Thread Joachim Ziegler
Brad King wrote: > It looks like you're using CMake 2.4. In CMake 2.6 your example builds > correctly for me. Yes, you're right. Thank you very much. I've used version 2.4.8 as installed on Debian 4.0. Upgrading to 2.6 solves the problem. Thanks and kind regards, Joachim Ziegler

Re: [CMake] Strange problem creating and linking against a static lib

2009-01-07 Thread Brad King
Joachim Ziegler wrote: Joachim Ziegler wrote: I suppose the problem is in the link line, which says: /usr/bin/X11/c++ -fPIC -static "CMakeFiles/startCompletionServer.dir/StartCompletionServer.o" -o startCompletionServer -rdynamic -L/KM/home-0/ziegler/tmp/build -Wl,-Bstatic -lbaselib -Wl,

Re: [CMake] Strange problem creating and linking against a static lib

2009-01-07 Thread Joachim Ziegler
Joachim Ziegler wrote: > I suppose the problem is in the link line, which says: > > /usr/bin/X11/c++ -fPIC -static > "CMakeFiles/startCompletionServer.dir/StartCompletionServer.o" -o > startCompletionServer -rdynamic -L/KM/home-0/ziegler/tmp/build > -Wl,-Bstatic -lbaselib -Wl,-Bdynamic -lpt

Re: [CMake] Strange problem creating and linking against a static lib

2009-01-07 Thread Joachim Ziegler
Since I did not get any response, I'll try to shorten the problem description: I try to build a static convenience lib holding all my .o-files and then to link statically against it and all other libs. In my CMakeLists.txt, I have SET(CMAKE_EXE_LINKER_FLAGS -static) ADD_LIBRARY(baselib STATIC ${B

[CMake] Strange problem creating and linking against a static lib

2009-01-06 Thread Joachim Ziegler
Hello list, I've tried to put all my .o-files into some kind of "convenience lib" so that not every object file is rebuilt for every target that I have. A problem arises when I try to create a static lib and a static binary that is linked against this lib. I have in my CMakeLists.txt (here only e

RE: [CMake] Strange problem with parsing variables

2007-02-06 Thread Ken Martin
AM To: Ken Martin; cmake@cmake.org Subject: AW: [CMake] Strange problem with parsing variables Hi Ken, thanks for your reply. Though I'm reading this list quite regularly I have missed this fix :( Cheers Marco >-Ursprüngliche Nachricht- >Von: Ken Martin [mailto:[EMAI

AW: [CMake] Strange problem with parsing variables

2007-02-06 Thread wedekind
nc. >28 Corporate Drive >Clifton Park NY 12065 >518 371 3971 > >-Original Message- >From: [EMAIL PROTECTED] >[mailto:[EMAIL PROTECTED] On Behalf Of >wedekind >Sent: Tuesday, February 06, 2007 9:08 AM >To: cmake@cmake.org >Subject: AW: [CMake] Strange problem with

RE: [CMake] Strange problem with parsing variables

2007-02-06 Thread Ken Martin
] [mailto:[EMAIL PROTECTED] On Behalf Of wedekind Sent: Tuesday, February 06, 2007 9:08 AM To: cmake@cmake.org Subject: AW: [CMake] Strange problem with parsing variables Hello all, I just want to revive my topic from two weeks ago. Please have a look at the mail below. Can you reproduce this

AW: [CMake] Strange problem with parsing variables

2007-02-06 Thread wedekind
t;Gesendet: Freitag, 26. Januar 2007 17:02 >>An: 'cmake@cmake.org' >>Betreff: [CMake] Strange problem with parsing variables >> >>Hello all, >> >>I've encountered a strange parsing problem with a 2-month old checkout >from >>CMake'

[CMake] Strange problem with parsing variables

2007-01-26 Thread wedekind
Hello all, I've encountered a strange parsing problem with a 2-month old checkout from CMake's cvs repository. Please have a look at the following sample CMakeLists.txt: SET(SOME_VAR 1) IF(SOME_VAR) MESSAGE("SOME_VAR is set to true") ENDIF(SOME_VAR) IF(NOT SOME_VAR) SET(SOME_OTHER_VAR som