Re: [CMake] force c++

2006-04-06 Thread Jan Woetzel
Axel Roebel wrote: does anybody know how I may force the use of a c++ compiler for source files with .c extension? I think we worked around taht problem: If one file has cpp suffix all files are compiled as C++ instead of C. Thsu we added a dummy file per library. Please correct me if I'm w

[CMake] using cmake with java

2006-04-06 Thread Gaetan Lehmann
Hi, Currently, I'm using the ADD_CUSTOM_TARGET() macro to compile the java tests in WrapITK. The problem is that those files are rebuild for each make. Is there a better way to build java programs ? Thanks, Gaetan -- Gaëtan Lehmann Biologie du Développement et de la Reproduction INRA de

Re: [CMake] force c++

2006-04-06 Thread Axel Roebel
> Axel Roebel wrote: > >>does anybody know how I may force the use of a c++ compiler >>for source files with .c extension? >> >> > I think we worked around taht problem: > If one file has cpp suffix all files are compiled as C++ instead of C. > Thsu we added a dummy file per library. > > Please co

[CMake] What's the latest CMake Release

2006-04-06 Thread Xavier Delannoy
Hi all, on Freshport.org: cmake 2.3.4_1 / devel A cross-platform make Maintained by: [EMAIL PROTECTED] on cmake.org: cmake 2.2.p3 which release is the official release ? ? thanks, -- Xavier Delannoy R&D engineer [EMAIL PROTECTED] http://www.netasq.com Tél : +33 320 619 742 Fax : +33

Re: [CMake] What's the latest CMake Release

2006-04-06 Thread William A. Hoffman
At 09:36 AM 4/6/2006, Xavier Delannoy wrote: >Hi all, > >on Freshport.org: >cmake 2.3.4_1 / devel >A cross-platform make >Maintained by: [EMAIL PROTECTED] > >on cmake.org: >cmake 2.2.p3 > >which release is the official release ? ? 2.2.3 is the offical release 2.3.4 is the KDE only release,

Re: [CMake] force c++

2006-04-06 Thread Brad King
Axel Roebel wrote: does anybody know how I may force the use of a c++ compiler for source files with .c extension? Before I start renaming nearly 100 files and loose all the cvs history I would prefer a solution where cmake would allow me to select a compiler for the part of the files that requi

Re: [CMake] communicat variables from sub directories

2006-04-06 Thread Brad King
Axel Roebel wrote: Hello, I am trying to collect source file lists from sub directories into the main cmake cache. The idea is that the main directory gets a collection of all source files and header files such that it may run a doxygen whenever one of these files has changed. Imagine SET(

Re: [CMake] communicat variables from sub directories

2006-04-06 Thread James Bigler
Brad King wrote: Axel Roebel wrote: Hello, I am trying to collect source file lists from sub directories into the main cmake cache. The idea is that the main directory gets a collection of all source files and header files such that it may run a doxygen whenever one of these files has chang

Re: [CMake] communicat variables from sub directories

2006-04-06 Thread Axel Roebel
On Thursday 06 April 2006 16:42, Brad King wrote: > Axel Roebel wrote: > > Hello, > > > > I am trying to collect source file lists from sub directories > > into the main cmake cache. > > > > The idea is that the main directory gets a collection of all source files > > and header files such that it

Re: [CMake] communicat variables from sub directories

2006-04-06 Thread Axel Roebel
On Thursday 06 April 2006 18:00, James Bigler wrote: > Brad King wrote: > > Axel Roebel wrote: > >> Hello, > >> > >> I am trying to collect source file lists from sub directories > >> into the main cmake cache. > >> > >> The idea is that the main directory gets a collection of all source > >> files