[CMake] Re: Get full output library filename

2008-01-11 Thread Rodolfo Lima
Rodolfo Lima escreveu: > Hi, is there a way to get the full library name of a library target? I just found target's property LOCATION, I always thought it would be the directory where the target would be created, but it includes the target file name. Sorry for the noise. Regards, rod PS: maybe t

[CMake] Get full output library filename

2008-01-11 Thread Rodolfo Lima
Hi, is there a way to get the full library name of a library target? For instance: set(CMAKE_BUILD_TYPE "Debug") set(CMAKE_DEBUG_POSTFIX "d") add_library(test source.cpp) I need a way to retrieve 'libtestd.a' as the target output file name. At first I thought that the target property OUTPUT_NAME w

Re: [CMake] CTest script with SVN

2008-01-11 Thread Karthik Krishnan
ing done > > -- Generating done > > -- Build files have been written to: > C:/home/sylvain/dashboard/xip-cmake-release > >Site: sylvain.desktop > >Build name: Win32-VS08-Release > > Create new tag: 20080111-1901 - Experimental > > Start processing tests > &

[CMake] CTest script with SVN

2008-01-11 Thread Sylvain Jaume
ake-release Site: sylvain.desktop Build name: Win32-VS08-Release Create new tag: 20080111-1901 - Experimental Start processing tests Updating the repository Updating the repository: C:/home/sylvain/dashboard/xip-cmake Use SVN repository type Old revision of repository is: 609

Re: [CMake] Building Cmake

2008-01-11 Thread Bill Hoffman
mostafa charmi wrote: Thanks for your attention 1- I have not had any cmake on my PC already and I must use source code. 2- Please see the attachment which cmake-bootstap.log file was attached to. Bests... ./bootstrap: line 380: cc: command not found Test failed to compile Try: gcc ... ./bo

Re: [CMake] Help: How to generate one library from multiple directories

2008-01-11 Thread Mike Jackson
On Jan 11, 2008, at 11:54 AM, Yang, Y. wrote: Hi, all. I just start to use cmake and a newbie. Now I want to generate one library from multiple directories. However, when I use add_library(libname, source_file) in each folder; I found that the latter generated lib file would overwrite the p

Re: [CMake] CTest with built libraries

2008-01-11 Thread Karthik Krishnan
Sylvain: You could add the PATH in ctest environment within your ctest script. SET (CTEST_ENVIRONMENT "PATH=.c:/WINDOWS/system32\;C:/MyDllPath.") HTH -- karthik On 1/11/08, Sylvain Jaume <[EMAIL PROTECTED]> wrote: > > Hello, > > I build some shared libraries and need to test an ex

[CMake] Help: How to generate one library from multiple directories

2008-01-11 Thread Yang, Y.
Hi, all. I just start to use cmake and a newbie. Now I want to generate one library from multiple directories. However, when I use add_library(libname, source_file) in each folder; I found that the latter generated lib file would overwrite the previous lib file. How can I link those objects from

[CMake] CTest with built libraries

2008-01-11 Thread Sylvain Jaume
Hello, I build some shared libraries and need to test an executable that uses these libraries. The path should point to those libraries. How can I set the path variable with ctest? Regards, Sylvain ___ CMake mailing list CMake@cmake.org http://www.cmake

Re: [CMake] Building Cmake

2008-01-11 Thread mostafa charmi
Thanks for your attention 1- I have not had any cmake on my PC already and I must use source code. 2- Please see the attachment which cmake-bootstap.log file was attached to. Bests... --- Pau Garcia i Quiles <[EMAIL PROTECTED]> wrote: > Quoting Bill Hoffman <[EMAIL PROTECTED]>: > > > mostaf

Re: [CMake] Can't get static executable

2008-01-11 Thread Eneko Nieto
Thanks Steven and Bill for the multiple answers. I'm afraid I have not explained my situation properly. I needed to compile gammu (which uses CMake to build) as a static executable and after an unsuccessful search I asked in the gammu mailing list. The actual maintainer said me he didn't know h

[CMake] CTest with SVN

2008-01-11 Thread Sylvain Jaume
Hi all! I can't get my SVN repository checkout or updated using the CTest script below. I used CTEST_CVS_CHECKOUT. Does SVN required other variables? Thanks for any hint! Sylvain # these are the the name of the source and binary directory on disk. SET (CTEST_SOURCE_NAME xip-cmake) SET (CTEST_BIN

Re: [CMake] Support for vcbuild in cmake

2008-01-11 Thread Bill Hoffman
David Cole wrote: On 1/10/08, *Reggie Burnett* <[EMAIL PROTECTED] > wrote: Is there support for using vcbuild from the windows sdk with cmake? Not directly, no. AIUI, vcbuild is a tool that supports the vcproj file format but without having to have visua

Re: [CMake] Can't get static executable

2008-01-11 Thread Bill Hoffman
Steven Van Ingelgem wrote: Sorry Eneko, I should have been more clear. It works nicely in CVS under Linux because the "-L -Wl,-Bstatic -l"flags get set correctly. Under a Mac this doesn't work because they use v401 of GCC, which seems to not understand those flags. The change which is needed s

Re: [CMake] Support for vcbuild in cmake

2008-01-11 Thread David Cole
On 1/10/08, Reggie Burnett <[EMAIL PROTECTED]> wrote: > > Is there support for using vcbuild from the windows sdk with cmake? Not directly, no. AIUI, vcbuild is a tool that supports the vcproj file format but > without having to have visual studio installed. Is there a way to > tell cmake to ge

[CMake] Re: Support for vcbuild in cmake

2008-01-11 Thread Reggie Burnett
bump On Jan 10, 2008 8:23 AM, Reggie Burnett <[EMAIL PROTECTED]> wrote: > Is there support for using vcbuild from the windows sdk with cmake? > AIUI, vcbuild is a tool that supports the vcproj file format but > without having to have visual studio installed. Is there a way to > tell cmake to gene

Re: [CMake] Can't get static executable

2008-01-11 Thread Steven Van Ingelgem
Sorry Eneko, I should have been more clear. It works nicely in CVS under Linux because the "-L -Wl,-Bstatic -l"flags get set correctly. Under a Mac this doesn't work because they use v401 of GCC, which seems to not understand those flags. The change which is needed should be to allow the full pa

Re: [CMake] Building Cmake

2008-01-11 Thread Bill Hoffman
mostafa charmi wrote: hi, I have OpenSuse 10.3 as my OS. I tried to install Cmake- 2.4.7 on it, but the following error message was displayed on screen: "Error when bootstrapping CMake: Cannot find appropriate C compiler on this system. Please specify one using environment variable CC. See cmak

Re: [CMake] Can't get static executable

2008-01-11 Thread Bill Hoffman
Eneko Nieto wrote: Hi, I wanted to compile Gammu for getting a static executable but I didn't achieve. I asked in the Gammu mailing list but the actual maintainer answered he didn't know how to configure CMake for compiling statically. More info in the original mail. Could anyone help me?

Re: [CMake] Can't get static executable

2008-01-11 Thread Bill Hoffman
Eneko Nieto wrote: Hi Steven, let me ask you certain questions: * What is the release date of 2.6? Hopefully in the next month. * Is that feature in the CVS? Not yet. * Is there a way to achieve this manually? Yes, there should be. As I said, if all libraries are actually static, then a -

Re: [CMake] Building Cmake

2008-01-11 Thread Pau Garcia i Quiles
Quoting Bill Hoffman <[EMAIL PROTECTED]>: mostafa charmi wrote: hi, I have OpenSuse 10.3 as my OS. I tried to install Cmake- 2.4.7 on it, but the following error message was displayed on screen: "Error when bootstrapping CMake: Cannot find appropriate C compiler on this system. Please specify

Re: [CMake] Suppression of progress reports in Makefiles?

2008-01-11 Thread Bill Hoffman
Josef Karthauser wrote: Is it easy to suppress the addition of the progress report information from generated Makefiles? They’re useful, but I’d like to switch them off as speed is more important to me right now. No, but I don't think they add an significant amount of time to the build.

Re: [CMake] Can't get static executable

2008-01-11 Thread Eneko Nieto
Hi Steven, let me ask you certain questions: * What is the release date of 2.6? * Is that feature in the CVS? * Is there a way to achieve this manually? Thanks for the response Eneko On Friday 11 January 2008 12:55:40 Steven Van Ingelgem wrote: > I'm anxiously waiting on this feature as well. >

[CMake] compiling java

2008-01-11 Thread Rafael Pereira
I have found some problem while trying to compile java code using cmake. The code below exposes the problem: I have the following directory structure: myhome | |_ testeCMake | |_ teste | | | |_ main.java |_ CMakeLists.txt inside teste directory has a main.java w

[CMake] Building Cmake

2008-01-11 Thread mostafa charmi
hi, I have OpenSuse 10.3 as my OS. I tried to install Cmake- 2.4.7 on it, but the following error message was displayed on screen: "Error when bootstrapping CMake: Cannot find appropriate C compiler on this system. Please specify one using environment variable CC. See cmake_bootstrap.log for comp

Re: [CMake] Can't get static executable

2008-01-11 Thread Steven Van Ingelgem
I'm anxiously waiting on this feature as well. I have been in communication with Brad King about this and he told me it's no easy feat. He has to rewrite a lot of the linking algorithm to allow archive-libraries. He also told me that it'll be available in CMake 2.6.0, so I'm afraid we're out of l

[CMake] Can't get static executable

2008-01-11 Thread Eneko Nieto
Hi, I wanted to compile Gammu for getting a static executable but I didn't achieve. I asked in the Gammu mailing list but the actual maintainer answered he didn't know how to configure CMake for compiling statically. More info in the original mail. Could anyone help me? Thanks in advance Ene

Re: [CMake] CPack install directory

2008-01-11 Thread David Cole
This reply applies to CVS CMake only. This functionality is new and is *not* in the CMake-2-4 branch. In your main CMakeLists.txt file (or wherever you set all your other CPack options) do something like this: CONFIGURE_FILE("${MyProject_SOURCE_DIR}/MyProjectCPackOptions.cmake.in" "${MyProje

[CMake] Suppression of progress reports in Makefiles?

2008-01-11 Thread Josef Karthauser
Is it easy to suppress the addition of the progress report information from generated Makefiles? They're useful, but I'd like to switch them off as speed is more important to me right now. Joe ___ CMake mailing list CMake@cmake.org http://www.cmake

RE: [CMake] Installtion problem on Sun

2008-01-11 Thread Hans.Rijneke
Bill, I was using the Sun version of CC (CC: Sun WorkShop 6 update 1 C++ 5.2 Patch 109508-09 2002/07/08), but now changed to the Gnu compilers and this all works fine. Regards, Hans -Original Message- From: Bill Hoffman [mailto:[EMAIL PROTECTED] Sent: Thursday, January 10, 2008 16:30 T