Re: [CMake] Ctest + Post command

2008-11-12 Thread Alexander.Camek
Hi David, David Cole wrote: What does the script that you run by cron look like? Is it a declarative(/old-style) ctest script or a command-based(/new-style) ctest script? Or something else? It is an old-styled one. Do I need something special to use the new-style? In a declarative

[CMake] Ctest + Post command

2008-11-12 Thread Alexander.Camek
Hi list, I have got here a script which is invoked by cron job. During that all will be checked out and compiled, tested and uploaded to Cdash server. What I want to do now is to add a post command to my script so that I can run a profiling tool. Additionally I want to use in the post script

Re: [CMake] Getting if custom target is set

2008-11-06 Thread Alexander.Camek
Hi Phillip, Thanks for your help. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi folks, I have got a project split up into a lot of single project. So in my ROOR dir I have got a CMakeLists.txt which

[CMake] Getting if custom target is set

2008-11-05 Thread Alexander.Camek
Hi folks, I have got a project split up into a lot of single project. So in my ROOR dir I have got a CMakeLists.txt which defines a master PROJECT(). Each subdirectory added by the master project adds in its CMakeLists.txt its own PROJECT() in order to build alone. Now I add a new command

[CMake] Bugtracker + CDash

2008-09-12 Thread Alexander.Camek
Hi folks, I want to use Cdash here. So I want to know if it is possible to connect the Cdash with Mantis? Or if it is possible to connect Cdash with any bugtracker (especially Jira). Thanks. Greetings Alexander Please note:

Re: [CMake] Problem Porting from cmake 2.4.7 to 2.6

2008-06-30 Thread Alexander.Camek
Hi, Sorry for my late response, but there wasn't any PC at my weekend location. Alan W. Irwin wrote: Thanks, Brad, for pointing me in the correct direction. Checking with the 2.4.8 and 2.6.0 versions of the corresponding Fortran file, the variables that must be added in total for 2.6.0

[CMake] Problem Porting from cmake 2.4.7 to 2.6

2008-06-27 Thread Alexander.Camek
Hi List, Today I started to port my Ada project (Windows, MinGW, Ada cmake files from plplot) from cmake 2.4.7 to cmake 2.6. Now I have the problem that cmake doesn't want to use gnatmake anymore and says that gnatmake is broken. It seems that the test for the Ada language goes wrong. When I

[CMake] Generating import libs

2008-06-25 Thread Alexander.Camek
Hi all, First of all thanks for the great tool. I am using here cmake in combination with GNAT (Ada) under Windows and MinGW. The support of Ada for cmake was made by Alan W. Irwin who made my life much easier. As I wrote in an earlier mail to the list I noticed that Cmake generates during

Re: [CMake] Generating import libs

2008-06-25 Thread Alexander.Camek
Hi Christian, -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Christian Ehrlicher Sent: Wednesday, June 25, 2008 2:22 PM To: cmake@cmake.org Subject: Re: [CMake] Generating import libs Von: Alexande Hi all, First of all thanks for the

Re: [CMake] How to read content of a registry entry on WIN32?

2008-05-07 Thread Alexander.Camek
Hi Eric, -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Eric Noulard Sent: Wednesday, May 07, 2008 3:38 PM To: CMake ML Subject: [CMake] How to read content of a registry entry on WIN32? I want to use the content of a regsitry entry

RE: [CMake] How to specify out-of-source build/lib/bin directories

2008-01-17 Thread Alexander.Camek
Hi Matthias, I'm a new cmake user and I'm having a little trouble. Perhaps someone here can help me: I was wondering if it is possible to specify a build path manually within the toplevel CMakeLists.txt file? I did read the wiki about out-of-source build environments, but the examples

[CMake] Custom build command for documentation

2008-01-08 Thread Alexander.Camek
Hi all, currently I can generate for some subdirectories my Latex and Doxygen documentation. This is done like it is described in the cmake FAQ. What I now want to do is to collect all this commands of the subdirectory and put it in an unique common build command, e.g. make doc. The idea is

RE: [CMake] Custom build command for documentation

2008-01-08 Thread Alexander.Camek
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] ] On Behalf Of Stefan Buschmann Sent: Tuesday, January 08, 2008 1:51 PM To: CMake@cmake.org Subject: Re: [CMake] Custom build command for documentation Hi, You can just define custom dependencies to

RE: [CMake] Custom build command for documentation

2008-01-08 Thread Alexander.Camek
Ah forgot to put the ADD_CUSTOM_TARGET before the ADD_SUBDIRECTORY. Now it works fine. Thanks Stefan for your greate help. Greetings Alexander Please note: This e-mail may contain confidential information intended solely for

[CMake] Using Macro function like

2007-12-03 Thread Alexander.Camek
Hi List, is there a possibility to use a macro like a function? I am trying to use my macro to do following. I give the macro one or more files and an option. The command looks like that: MACRO (C2ADA _file _option) What I found out that the usage of my macro does only work if _file gets one

RE: [CMake] Using Macro function like

2007-12-03 Thread Alexander.Camek
Hi, -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] ] On Behalf Of Andreas Pakulat Sent: Monday, December 03, 2007 11:52 AM To: cmake@cmake.org Subject: Re: [CMake] Using Macro function like On 03.12.07 05:47:29, Brandon Van Every wrote: On Dec 3, 2007

RE: [CMake] can't pipe cl.exe in a custom command

2007-11-06 Thread Alexander.Camek
Hi, I'm trying to grab the cl.exe banner so I can determine the MSVC version number. If cl.exe is in the path, then the following works at a Windows Command Prompt. This gives a short banner with the VC version number and copyright. cl /? 2 banner.txt But when I try to do it in a

[CMake] Include_Directories

2007-11-06 Thread Alexander.Camek
Hi List, is there a variable to get all paths specified by Include_Directories. Because I need the path set for a third party programm to run on some source files, before the build is done. And this programm needs a subset of the paths given already in the include_directories command. Is there

RE: [CMake] Include_Directories

2007-11-06 Thread Alexander.Camek
Hi Alex, List, is there a variable to get all paths specified by Include_Directories. Because I need the path set for a third party programm to run on some source files, before the build is done. And this programm needs a subset of the paths given already in the include_directories command.

RE: [CMake] FIND_LIBRARY mingw

2007-10-16 Thread Alexander.Camek
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Christian, it looks like FIND_LIBRARY is using a .lib if it can't find a .a/.dll.a when using the mingw generator (see also http://lists.kde.org/?l=kde-windowsm=119248363310566w=2) Is this a intented behaviour? Normally under windows you

RE: [CMake] keep semicolons alive

2007-10-09 Thread Alexander.Camek
Hi Maik I want to fetch a environment variable which contains semicolon by intention, modify it a little and use it with a custom command: #TEXINPUTS_latex is :;${workspace_loc}/texmf/texmf/tex// SET(TEXINPUTS $ENV{TEXINPUTS_latex};${PROJECT_SOURCE_DIR}) #TEXINPUTS should be

[CMake] Problem with macro

2007-10-05 Thread Alexander.Camek
Hi List, I have written a macro in order to use it as a new command in cmake. This macro looks like this; MACRO(C2ADA _file _option) IF(C2ADA_PARSER) SET(INC_DIRS -IPATH_ONE;-IPATH_TWO) GET_FILENAME_COMPONENT(_name ${_file} NAME)

[CMake] Project and specific variables

2007-08-01 Thread Alexander.Camek
Hi List, I had a discussion last time and the topic of the discussion was following: When you use PROJECT, you normally get the two variablse PROJECT_NAME_SOURCE_DIR and PROJECT_NAME_BINARY_DIR. As I got informed these both varibales are only used for backward compatibility and shall not be

RE: [CMake] Project and specific variables

2007-08-01 Thread Alexander.Camek
Hi Bill, Hi List, I had a discussion last time and the topic of the discussion was following: When you use PROJECT, you normally get the two variables PROJECT_NAME_SOURCE_DIR and PROJECT_NAME_BINARY_DIR. As I got informed these both variables are only used for backward

[CMake] Quoted String

2007-07-31 Thread Alexander.Camek
Hi List, I want to add a definition to the compiler, so I do an ADD_DEFINITIONS(). The defintion I want to add is a quoted string which should be parsed with leading and ending . So I tried to escape it with \, but this doesn't also work. It should look like

RE: [CMake] Quoted String

2007-07-31 Thread Alexander.Camek
Hi Brandon, Hi List, I want to add a definition to the compiler, so I do an ADD_DEFINITIONS(). The defintion I want to add is a quoted string which should be parsed with leading and ending . So I tried to escape it with \, but this doesn't also work. It should look like