Re: [CMake] xcode project generation - controlling the compilation/warning flags

2009-05-04 Thread Shmulik Regev
Unfortunately this doesn't work, or I'm doing something wrong - I used set (CMAKE_C_FLAGS_Debug "${CMAKE_C_FLAGS_Debug} -Wfoo") Any other hints? Cheers, Shmul On Mon, May 4, 2009 at 6:23 PM, Tyler Roscoe wrote: > On Mon, May 04, 2009 at 03:48:51PM +0300, Shmulik Regev wrote: > > I'm using cma

[CMake] Building CableSwig (outside ITK)

2009-05-04 Thread Darren Weber
I'm trying to package CableSwig for macports. The cswig binary looks for SWIG Lib in the source directory. How is that re-configured? The information available seems fairly basic, ie: http://www.itk.org/ITK/resources/CableSwig.html The build works, using the following build options: configure.

Re: [CMake] eclipse generator and sibling folders

2009-05-04 Thread Miguel A. Figueroa-Villanueva
On Mon, May 4, 2009 at 2:46 PM, Eric Noulard wrote: > 2009/5/4 Miguel A. Figueroa-Villanueva : >> On Mon, May 4, 2009 at 4:36 AM, Eric Noulard wrote: >>> 2009/5/4 Antoine DUCHAMPS: >> [...] However, the code completion does not work. My application is linked to an external library (ITK) a

Re: [CMake] eclipse generator and code completion

2009-05-04 Thread Eric Noulard
2009/5/4 Miguel A. Figueroa-Villanueva : > On Mon, May 4, 2009 at 6:01 AM, Eric Noulard wrote: >>> >>> Project -> Properties -> C++ include paths and symbols -> Add External >>> Include Path ... >> >> I have no "C++ include paths and symbols" . >> Here comes a screenshot. >> Note however I'll sugg

Re: [CMake] eclipse generator and sibling folders

2009-05-04 Thread Eric Noulard
2009/5/4 Miguel A. Figueroa-Villanueva : > On Mon, May 4, 2009 at 4:36 AM, Eric Noulard wrote: >> 2009/5/4 Antoine DUCHAMPS: > [...] >>> However, the code completion does not work. My application is linked to >>> an external library (ITK) and I would like to have code completion for >>> the ITK cla

Re: [CMake] Changing the default compiler of VC++

2009-05-04 Thread Hendrik Sattler
Am Montag 04 Mai 2009 16:24:29 schrieb Andreas Pakulat: > On 04.05.09 16:10:21, Hendrik Sattler wrote: > > Zitat von Andreas Pakulat : > >> On 04.05.09 17:56:14, ankit jain wrote: > >>> Thanks Andreas for your reply. I already build the code using mks. now > >>> i want to build the code using cl/VC

Re: [CMake] .txx files and Visual Studio 2005 now being compiled

2009-05-04 Thread John Drescher
On Mon, May 4, 2009 at 12:44 PM, John Drescher wrote: > On Mon, May 4, 2009 at 12:37 PM, John Drescher wrote: >> On Mon, May 4, 2009 at 12:25 PM, Bill Hoffman >> wrote: >>> John Drescher wrote: I updated my cmake to 2.6.4 on one of my windows development boxes (vs2005) and this h

Re: [CMake] eclipse generator and code completion

2009-05-04 Thread Miguel A. Figueroa-Villanueva
On Mon, May 4, 2009 at 12:03 PM, Antoine DUCHAMPS: > Le lundi 04 mai 2009 à 08:24 -0400, Miguel A. Figueroa-Villanueva: [...] > Which version of eclipse CDT do you have? Perhaps I should update > eclipse, but I'm using the default version in debian 5.0 ... I have tested with CDT4.0 and CDT5.0. --

Re: [CMake] .txx files and Visual Studio 2005 now being compiled

2009-05-04 Thread John Drescher
On Mon, May 4, 2009 at 12:37 PM, John Drescher wrote: > On Mon, May 4, 2009 at 12:25 PM, Bill Hoffman > wrote: >> John Drescher wrote: >>> >>> I updated my cmake to 2.6.4 on one of my windows development boxes >>> (vs2005) and this has caused me problems with .txx files. I generally >>> include

Re: [CMake] .txx files and Visual Studio 2005 now being compiled

2009-05-04 Thread John Drescher
On Mon, May 4, 2009 at 12:25 PM, Bill Hoffman wrote: > John Drescher wrote: >> >> I updated my cmake to 2.6.4 on one of my windows development boxes >> (vs2005) and this has caused me problems with .txx files. I generally >> include these from a .h file and they are not supposed to be compiled >>

Re: [CMake] .txx files and Visual Studio 2005 now being compiled

2009-05-04 Thread Bill Hoffman
John Drescher wrote: I updated my cmake to 2.6.4 on one of my windows development boxes (vs2005) and this has caused me problems with .txx files. I generally include these from a .h file and they are not supposed to be compiled however with 2.6.4 they have changed from built tool "Custom Build To

Re: [CMake] eclipse generator and code completion

2009-05-04 Thread Antoine DUCHAMPS
Le lundi 04 mai 2009 à 08:24 -0400, Miguel A. Figueroa-Villanueva a écrit : > On Mon, May 4, 2009 at 6:01 AM, Eric Noulard wrote: > > 2009/5/4 Antoine DUCHAMPS: > >> Le lundi 04 mai 2009 à 10:36 +0200, Eric Noulard a écrit : > >>> 2009/5/4 Antoine DUCHAMPS: > >>> > > >>> > However, the code complet

Re: [CMake] xcode project generation - controlling the compilation/warning flags

2009-05-04 Thread Tyler Roscoe
On Mon, May 04, 2009 at 03:48:51PM +0300, Shmulik Regev wrote: > I'm using cmake to generate xcode project files. What is the recommended way > of controlling the compilation flags and the warnings settings in this > scenario? Currently I'm using "set_target_properties" but I'm not sure this > is t

[CMake] .txx files and Visual Studio 2005 now being compiled

2009-05-04 Thread John Drescher
I updated my cmake to 2.6.4 on one of my windows development boxes (vs2005) and this has caused me problems with .txx files. I generally include these from a .h file and they are not supposed to be compiled however with 2.6.4 they have changed from built tool "Custom Build Tool" to "C/C++ Compiler

Re: [CMake] Changing the default compiler of VC++

2009-05-04 Thread Andreas Pakulat
On 04.05.09 16:10:21, Hendrik Sattler wrote: > Zitat von Andreas Pakulat : >> On 04.05.09 17:56:14, ankit jain wrote: >>> Thanks Andreas for your reply. I already build the code using mks. now i >>> want to build the code using cl/VC++. since it gives lots of errors of not >>> founding fiels like s

Re: [CMake] Changing the default compiler of VC++

2009-05-04 Thread Hendrik Sattler
Zitat von Andreas Pakulat : On 04.05.09 17:56:14, ankit jain wrote: Thanks Andreas for your reply. I already build the code using mks. now i want to build the code using cl/VC++. since it gives lots of errors of not founding fiels like strings.h unistd.h Then you need to fix those errors, eith

Re: [CMake] Changing the default compiler of VC++

2009-05-04 Thread Andreas Pakulat
On 04.05.09 17:56:14, ankit jain wrote: > 2009/5/4 Andreas Pakulat > > On 04.05.09 17:28:48, ankit jain wrote: > > > Actually I am porting my code on windows but since windows don't > > understand > > > the unix libraries iam using third party toolkit mks earlier to build the > > > code and linkin

[CMake] xcode project generation - controlling the compilation/warning flags

2009-05-04 Thread Shmulik Regev
Hi, I'm using cmake to generate xcode project files. What is the recommended way of controlling the compilation flags and the warnings settings in this scenario? Currently I'm using "set_target_properties" but I'm not sure this is the cmake-way of doing it. Cheers, Shmul _

[CMake] foreach() bug?

2009-05-04 Thread Alexandre.Feblot
Hi, this code: list(APPEND list A B "" C D) message("List: ${list}") foreach(arg ${list}) message("List elem: ${arg}") endforeach() has the following result: List: A;B;;C;D List elem: A List elem: B List elem: C List elem: D The empty element has been discarded by fo

Re: [CMake] Changing the default compiler of VC++

2009-05-04 Thread ankit jain
2009/5/4 Andreas Pakulat > On 04.05.09 17:28:48, ankit jain wrote: > > Hi all, > > > > Actually I am porting my code on windows but since windows don't > understand > > the unix libraries iam using third party toolkit mks earlier to build the > > code and linking all the headers and libraries of

Re: [CMake] eclipse generator and code completion

2009-05-04 Thread Miguel A. Figueroa-Villanueva
On Mon, May 4, 2009 at 6:01 AM, Eric Noulard wrote: > 2009/5/4 Antoine DUCHAMPS: >> Le lundi 04 mai 2009 à 10:36 +0200, Eric Noulard a écrit : >>> 2009/5/4 Antoine DUCHAMPS: >>> > >>> > However, the code completion does not work. My application is linked to >>> > an external library (ITK) and I wou

Re: [CMake] Changing the default compiler of VC++

2009-05-04 Thread Andreas Pakulat
On 04.05.09 17:28:48, ankit jain wrote: > Hi all, > > Actually I am porting my code on windows but since windows don't understand > the unix libraries iam using third party toolkit mks earlier to build the > code and linking all the headers and libraries of mksnt. > > but now i am not using mks a

Re: [CMake] eclipse generator and sibling folders

2009-05-04 Thread Miguel A. Figueroa-Villanueva
On Mon, May 4, 2009 at 4:36 AM, Eric Noulard wrote: > 2009/5/4 Antoine DUCHAMPS: [...] >> However, the code completion does not work. My application is linked to >> an external library (ITK) and I would like to have code completion for >> the ITK classes. In kdevelop you have to import the folders

[CMake] Changing the default compiler of VC++

2009-05-04 Thread ankit jain
Hi all, Actually I am porting my code on windows but since windows don't understand the unix libraries iam using third party toolkit mks earlier to build the code and linking all the headers and libraries of mksnt. but now i am not using mks and directly building the code using visual studio .net

Re: [CMake] eclipse generator and code completion

2009-05-04 Thread Antoine DUCHAMPS
Le lundi 04 mai 2009 à 10:36 +0200, Eric Noulard a écrit : > 2009/5/4 Antoine DUCHAMPS : > > hi Miguel, > > > > thanks for responding! > > > > I'm sorry, I had misunderstood the wiki page. I've followed the steps > > and I can navigate the source code now. > > > > However, the code completion does

Re: [CMake] eclipse generator and sibling folders

2009-05-04 Thread Eric Noulard
2009/5/4 Antoine DUCHAMPS : > hi Miguel, > > thanks for responding! > > I'm sorry, I had misunderstood the wiki page. I've followed the steps > and I can navigate the source code now. > > However, the code completion does not work. My application is linked to > an external library (ITK) and I would

Re: [CMake] eclipse generator and sibling folders

2009-05-04 Thread Antoine DUCHAMPS
hi Miguel, thanks for responding! I'm sorry, I had misunderstood the wiki page. I've followed the steps and I can navigate the source code now. However, the code completion does not work. My application is linked to an external library (ITK) and I would like to have code completion for the ITK

[CMake] Looking for documentation on coverage analysis with cmake

2009-05-04 Thread Thorben Kröger
Hi, I've googled for quite a long time and looked into the CMake book, but I cannot find some good information about CTest's make ExperimentalCoverage target. At this stage, I have everything set up, but I need some help interpreting the output. I want to do coverage analysis of a library we wr