[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

[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 that

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

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 the

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 example

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 >

[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 bu

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 tha

[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 lo

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

[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: Thi

[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 ADD

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.t

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 declarati

[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 als

[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 ADD_DEFINITIONS(-DPPATH="${path_to_s

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 l

[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 _SOURCE_DIR and _BINARY_DIR. As I got informed these both varibales are only used for backward compatibility and shall not be used anymore. Instead of t

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 > _SOURCE_DIR and _BINARY_DIR. > > As I got informed these both variables are only used for > backward compatibility and

[CMake] CPack

2007-09-17 Thread Alexander.Camek
Hello List, I want to use the CPACK generator, but the tutorial http://www.cmake.org/Wiki/CMake:Packaging_With_CPack is not quite good. Perhaps somebody knows a better site. When I run make with make package, then I get following error: CPack Error: Cannot find a sutable ZIP program <- an I is m

RE: [CMake] CPack

2007-09-18 Thread Alexander.Camek
Hi, First of all, thanks to everybody who helped me so far. > CMake-2.4.7 wants either WinZip or Info-Zip[1]. Since the latter is > free, I use that. You get some command line programs that CMake uses > just fine :) > [1]: ftp://ftp.info-zip.org/pub/infozip/WIN32/zip232xn.zip I will test my

[CMake] Macro command

2007-09-24 Thread Alexander.Camek
Hi List, I want to write a macro for a local used command. Is it possibly to use CMAKE_CURRENT_BINARY_DIR in the macro? Where does it point to? To the current binary directory of the called CMakeLists.txt or the binary directory where the macro is in? Thanks for the clarification. Greetings

[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 -I;-I) GET_FILENAME_COMPONENT(_name ${_file} NAME) GET_FILENAME_COMPONENT(_basename ${_file}

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

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-windows&m=119248363310566&w=2) > > Is this a intented behaviour? Normally under windo

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

[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 c