Re: [CMake] cmake - escape/delay variable expansion

2010-06-02 Thread Michael Hertling
On 06/02/2010 10:24 PM, Doug Reiland wrote: > Is there anyway to do in a generic fashion? > For example, I don't know what all the variables are. > I can be certain that they are valid, for example build-dir is set in scope. > However, the string can have several "variables" in it. The following f

[CMake] Ralph Barth/AEH/DBS/GDB ist außer Haus .

2010-06-02 Thread Ralph . Barth
Ralph Barth will be out of the office starting 03.06.2010 and will be returning on 07.06.2010. Ich werde Ihre Nachrichten nach meiner Rückkehr beantworten. Deutsche Börse Systems AG Chairman of the Supervisory Board/

Re: [CMake] Extending a target??

2010-06-02 Thread Michael Hertling
On 06/02/2010 07:57 PM, Doug Reiland wrote: > It all goes back to how a current Makefile for a library is setup. > I need a shared and static version of library. > > The library includes some objects built my sub-directories. In those > sub-directories, there are unique compile flags, generated fi

Re: [CMake] find_file() fails for specific file in C:/Windows/System32 - Why?

2010-06-02 Thread David Cole
Is it 64-bit Windows? What happens if you put those files in "C:\Windows\SysWOW64"? The command: dir /s /b "C:\Windows\kernel32.dll" will show you that there are actually many kernel32.dlls to be found within Windows nowadays... HTH, David On Wed, Jun 2, 2010 at 5:18 PM, Scott Fowler wrote:

[CMake] find_file() fails for specific file in C:/Windows/System32 - Why?

2010-06-02 Thread Scott Fowler
I'm using the 'fixup_bundle' capability for generating my installation package, but GetPrerequisites fails for a specific file, which is in C:/Windows/System32. Other files in C:/Windows/System32 are found just fine. I've detected that the problem is specifically with the find_file() call. #

Re: [CMake] cmake - escape/delay variable expansion

2010-06-02 Thread Doug Reiland
Is there anyway to do in a generic fashion? For example, I don't know what all the variables are. I can be certain that they are valid, for example build-dir is set in scope. However, the string can have several "variables" in it. Doug On Wed, Jun 2, 2010 at 3:06 PM, Michael Hertling wrote: > O

Re: [CMake] cmake - escape/delay variable expansion

2010-06-02 Thread Michael Hertling
On 06/02/2010 08:37 PM, Doug Reiland wrote: > Sorry for another newbie question. > > Say, to setup a variable as follow so ${build-dir} doesn't get expanded > set(foo \${build-dir}/foo.c) > > How would a expand foo so ${build-dir} gets expanded? STRING(REPLACE "\${build-dir}" "xyz" foo "${foo}")

[CMake] cmake - escape/delay variable expansion

2010-06-02 Thread Doug Reiland
Sorry for another newbie question. Say, to setup a variable as follow so ${build-dir} doesn't get expanded set(foo \${build-dir}/foo.c) How would a expand foo so ${build-dir} gets expanded? The following don't seem to do it. message(${foo}) message(${${foo}}) ___

Re: [CMake] Extending a target??

2010-06-02 Thread Doug Reiland
It all goes back to how a current Makefile for a library is setup. I need a shared and static version of library. The library includes some objects built my sub-directories. In those sub-directories, there are unique compile flags, generated files, ... In the past, those sub-directories would gen

Re: [CMake] list of lists -possible?

2010-06-02 Thread Doug Reiland
perfect, thankyou! On Wed, Jun 2, 2010 at 12:34 PM, Clinton Stimpson wrote: > On Wednesday, June 02, 2010 10:24:44 am Doug Reiland wrote: >> Is it possible to implement a list of lists. The following example >> shows cmake ending up with a list with 6 elements instead of >> a list with 2 elements

Re: [CMake] list of lists -possible?

2010-06-02 Thread Hendrik Sattler
Am Mittwoch 02 Juni 2010, 19:20:49 schrieb Clinton Stimpson: > On Wednesday, June 02, 2010 11:02:18 am Hendrik Sattler wrote: > > Am Mittwoch 02 Juni 2010, 18:34:56 schrieb Clinton Stimpson: > > > On Wednesday, June 02, 2010 10:24:44 am Doug Reiland wrote: > > > > Is it possible to implement a list

Re: [CMake] list of lists -possible?

2010-06-02 Thread Clinton Stimpson
On Wednesday, June 02, 2010 11:02:18 am Hendrik Sattler wrote: > Am Mittwoch 02 Juni 2010, 18:34:56 schrieb Clinton Stimpson: > > On Wednesday, June 02, 2010 10:24:44 am Doug Reiland wrote: > > > Is it possible to implement a list of lists. The following example > > > shows cmake ending up with a l

Re: [CMake] list of lists -possible?

2010-06-02 Thread Hendrik Sattler
Am Mittwoch 02 Juni 2010, 18:34:56 schrieb Clinton Stimpson: > On Wednesday, June 02, 2010 10:24:44 am Doug Reiland wrote: > > Is it possible to implement a list of lists. The following example > > shows cmake ending up with a list with 6 elements instead of > > a list with 2 elements with each ele

Re: [CMake] Extending a target??

2010-06-02 Thread Michael Wild
On 2. Jun, 2010, at 17:51 , Doug Reiland wrote: > Yeah, I know I can do that. > I want to add foo3.c after the add_library() has been done. > The example is simple, but it describes what I hope to do. > > > On Wed, Jun 2, 2010 at 11:41 AM, Michael Wild wrote: >> >> On 2. Jun, 2010, at 16:34 ,

Re: [CMake] list of lists -possible?

2010-06-02 Thread Clinton Stimpson
On Wednesday, June 02, 2010 10:24:44 am Doug Reiland wrote: > Is it possible to implement a list of lists. The following example > shows cmake ending up with a list with 6 elements instead of > a list with 2 elements with each element being a list with 3 elements > > set(fooa 1 2 3) > set(foob a b

[CMake] list of lists -possible?

2010-06-02 Thread Doug Reiland
Is it possible to implement a list of lists. The following example shows cmake ending up with a list with 6 elements instead of a list with 2 elements with each element being a list with 3 elements set(fooa 1 2 3) set(foob a b c) message(${fooa}) message("${fooa}") message("${foob}") list(APPEND f

[CMake] SQL errors on CDash nightly submissions?

2010-06-02 Thread kent williams
HTTP submit method Drop site:http://testing.psychiatry.uiowa.edu/CDash/submit.php?project=BRAINS3 Upload file: /scratch/kent/BT/BRAINS-COMPILE/Darwin/DEBUG-build/BRAINS3-build/src-build/Testing/20100602-0500/Build.xml to http://testing.psychiatry.uiowa.edu/CDash/submit.php?project=BRAINS3

Re: [CMake] Extending a target??

2010-06-02 Thread Michael Wild
On 2. Jun, 2010, at 16:34 , Doug Reiland wrote: > Is there anything to "add to" a target after it is declared? > > For example, > > add_library(foo STATIC foo1.c foo2.c) > > > > add_some_more(foo foo3.c) > or > add_some_more(foo foo3.o) > > If not, feasibility on how it could be impleme

[CMake] Extending a target??

2010-06-02 Thread Doug Reiland
Is there anything to "add to" a target after it is declared? For example, add_library(foo STATIC foo1.c foo2.c) add_some_more(foo foo3.c) or add_some_more(foo foo3.o) If not, feasibility on how it could be implemented? Thanks, Doug ___ Powered

[CMake] shared directory with subdirs and custom command

2010-06-02 Thread Doug Reiland
I am porting a library over to cmake. This library is built both shared and static AND has several composite objects that get linked in. For example, subdir-a had makefile that compiled and linked a1.c a2.c into ../a.o top directory linked in a.o into it's libs (shared and static) I have conver

[CMake] cross-compiling / host compiling

2010-06-02 Thread Aeschbacher, Fabrice
[Sorry if this message is posted twice, but first was before I subscribed to the list, so I'm not sure it was not rejected] Hi, [using cmake 2.8.1] I have a project where almost every sub-dirs should be cross-compiled (arm-linux-gnuueabi-gcc), but one directory containing a tool which must be

Re: [CMake] problem with FindBLAS.cmake looking for cblas_dgemm

2010-06-02 Thread Michael Wild
On 2. Jun, 2010, at 15:09 , Crni Gorac wrote: > On Wed, Jun 2, 2010 at 2:08 PM, Michael Wild wrote: >> >> Just to correct a thing: cblas_dgemm is NOT an implementation detail, it is >> part of CBLAS which is the official C-interface to BLAS. > > I think "implementation detail" mentioned in th

Re: [CMake] problem with FindBLAS.cmake looking for cblas_dgemm

2010-06-02 Thread Crni Gorac
On Wed, Jun 2, 2010 at 2:08 PM, Michael Wild wrote: > > Just to correct a thing: cblas_dgemm is NOT an implementation detail, it is > part of CBLAS which is the official C-interface to BLAS. I think "implementation detail" mentioned in the OP message was not about CBLAS per se, but about linking

[CMake] x64 possible using Cmake2.8.1 for VC2010Express + Windows7.1SDK ??

2010-06-02 Thread Schnurlinger Burli
Hello Sadly, I just can`t figure out why Cmake can`t find the 64bit-compiler installed by Windows7.1SDK for use with VC2010Express. In the meantime I switched back to VS2008Express + Windows6.1SDK (with a few hacks to use that included 64bit-compiler). Cmake does a fine job when "Visual

Re: [CMake] problem with FindBLAS.cmake looking for cblas_dgemm

2010-06-02 Thread Michael Wild
On 16. Jul, 2009, at 11:45 , Vardan Akopian wrote: > Hello, > > I'm using cmake 2.6.2. > While trying to use the FindLAPACK module on a Linux system which has > ATLAS installed I stumbled upon a problem where the BLAS libraries > would not be found. By digging into FindBLAS.cmake I discovered th

[CMake] problem with FindBLAS.cmake looking for cblas_dgemm

2010-06-02 Thread Crni Gorac
The problem above is reported almost a year ago: http://www.cmake.org/pipermail/cmake/2009-July/030870.html but it's still there (at least with 2.8.1 stable build). Any hint is this going to be fixed or not? Regards. ___ Powered by www.kitware.com

Re: [CMake] Build on one machine, test on multiple

2010-06-02 Thread Martin Apel
Hi all, here is what I did now: I created an installer image (BitRock installer in our case) containing the normal deliverables of our software plus the following items: - Some scripts needed to carry out our tests. This also contains software needed to carry out the tests (Squish) - A complete CM

[CMake] HELP!CMAKE:CUDA_SDK example:nbody

2010-06-02 Thread 王观武
Hi,everyone! I'm trying using CMAKE to complie a CUDA_SDK example:nbody;Of course I have noticed that Brian J. Davis wrote a article name"CUDA,CMAKE,and an attempt to build nbody"at CMAKE maillist in Jan 25 2010.I followed his advice and can build and run the executable,but the particles do not