Re: [CMake] ADA language

2007-07-18 Thread Alan W. Irwin
On 2007-07-18 11:30+0200 Camek, Alexander wrote: Now i have added the ADA language to cmake as my own modules. I added a CMakeAdaCompiler.cmake.in, a CMakeDetermineAdaCompiler.cmake and a CMakeAdaInfomation.cmake. I do there the same like in C, because with the gcc you can compile and link ada

RE: [CMake] ADA language

2007-07-18 Thread Camek, Alexander
Hi, > > When i do an include of both modules to my main CMakeLists.txt the > > compiler is found and all configured. But during build time > > the tags can not be unbind. > > > Any hints? > > I am not sure what issue you are referring to here, but I > encourage you to try the above Ada-rela

RE: [CMake] ADA language

2007-07-18 Thread Alan W. Irwin
On 2007-07-18 14:43+0200 Camek, Alexander wrote: Hi, When i do an include of both modules to my main CMakeLists.txt the compiler is found and all configured. But during build time the tags can not be unbind. Any hints? I am not sure what issue you are referring to here, but I encourage

RE: [CMake] ADA language

2007-07-18 Thread Camek, Alexander
Hi Alan, One thing. If i use your cmake modules for Ada. Then the test for the compiler failes under windows with mingw. It says: C:\MinGW\bin\gcc.exe -o CMakeFiles/testadacompiler.dir/testadacompiler.obj -c foo.adb Gnat1: incorrect object file extension Okay, this is clear because gnatbind is

Re: [CMake] ADA language

2007-07-18 Thread Alexander Neundorf
On Wednesday 18 July 2007 08:43, Camek, Alexander wrote: > Hi, > > > > When i do an include of both modules to my main CMakeLists.txt the > > > compiler is found and all configured. But during build time > > > the tags can not be unbind. > > > > > > Any hints? > > > > I am not sure what issue you

RE: [CMake] ADA language

2007-07-18 Thread Camek, Alexander
Hi Alex, > > > > When i do an include of both modules to my main > CMakeLists.txt the > > > > compiler is found and all configured. But during build time the > > > > tags can not be unbind. > > > > > > > > Any hints? > > > > > > I am not sure what issue you are referring to here, but I > enco

Re: [CMake] ADA language

2007-07-18 Thread Alan W. Irwin
On 2007-07-18 09:48-0400 Alexander Neundorf wrote: On Wednesday 18 July 2007 08:43, Camek, Alexander wrote: Hi, When i do an include of both modules to my main CMakeLists.txt the compiler is found and all configured. But during build time the tags can not be unbind. Any hints? I am not su

RE: [CMake] ADA language

2007-07-18 Thread Alan W. Irwin
On 2007-07-18 15:27+0200 Camek, Alexander wrote: Hi Alan, One thing. If i use your cmake modules for Ada. Then the test for the compiler failes under windows with mingw. It says: C:\MinGW\bin\gcc.exe -o CMakeFiles/testadacompiler.dir/testadacompiler.obj -c foo.adb Gnat1: incorrect object file

RE: [CMake] ADA language

2007-07-18 Thread Alan W. Irwin
On 2007-07-18 16:18+0200 Camek, Alexander wrote: I think you have to take care that the cases match. If the language is "Ada", the variable should CMAKE_Ada_LINK_FLAGS etc., for all variables and filenames. I have tried both "ADA" or "Ada" in the variables and filenames, no difference occured

RE: [CMake] ADA language

2007-07-18 Thread Camek, Alexander
Hi Alex, > > Is it possible that cmake is ignoring modules and their > settings which > > are not in the normal module tree of cmake? Because i have done a > > SET(CMAKE_MODULE_PATH ToMyModules). > > It should work, but there might be some places where > CMAKE_ROOT is hardcoded, there CMAKE_M

Re: [CMake] ADA language

2007-07-18 Thread Alexander Neundorf
On Wednesday 18 July 2007 11:01, Camek, Alexander wrote: > Hi Alex, > > > > Is it possible that cmake is ignoring modules and their > > > > settings which > > > > > are not in the normal module tree of cmake? Because i have done a > > > SET(CMAKE_MODULE_PATH ToMyModules). > > > > It should work, bu

Re: [CMake] ADA language

2007-07-18 Thread Alexander Neundorf
On Wednesday 18 July 2007 10:18, Camek, Alexander wrote: ... > Is it possible that cmake is ignoring modules and their settings which are > not in the normal module tree of cmake? Because i have done a > SET(CMAKE_MODULE_PATH ToMyModules). It should work, but there might be some places where CMAKE

Re: [CMake] ADA language

2007-07-18 Thread Alexander Neundorf
On Wednesday 18 July 2007 08:24, Alan W. Irwin wrote: > On 2007-07-18 11:30+0200 Camek, Alexander wrote: > > Now i have added the ADA language to cmake as my own modules. I added a > > CMakeAdaCompiler.cmake.in, a CMakeDetermineAdaCompiler.cmake and a > CMakeAdaInfomation.cmake. I do there the same

RE: [CMake] ADA language

2007-07-19 Thread Camek, Alexander
Hi List, Some question to the internal behaviour of cmake. As i see in CmakeInformation.cmake there are the options or the lines set for every language. What me bother is that with all language models given by cmake, everything is all right. But when I use the Ada modules from plplot, on my syst

Re: [CMake] ADA language

2007-07-19 Thread Alexander Neundorf
On Thursday 19 July 2007 05:06, Camek, Alexander wrote: > Hi List, > > Some question to the internal behaviour of cmake. > As i see in CmakeInformation.cmake there are the options or the > lines set for every language. What me bother is that with all language > models given by cmake, everything is

RE: [CMake] ADA language

2007-07-19 Thread Alan W. Irwin
On 2007-07-19 11:06+0200 Camek, Alexander wrote: Hi List, Some question to the internal behaviour of cmake. As i see in CmakeInformation.cmake there are the options or the lines set for every language. What me bother is that with all language models given by cmake, everything is all right. B

RE: [CMake] ADA language

2007-07-23 Thread Camek, Alexander
Hi Alan, > By the way, with the standard Unix Makefile generator you can > find out exactly what was set by looking through the > generated Makefiles or even easier, invoke make as "make > VERBOSE=1 ..." which is how I know that > is set correctly for Linux and Mac OS X systems using the >

RE: [CMake] ADA language

2007-07-23 Thread Alan W. Irwin
On 2007-07-23 16:19+0200 Camek, Alexander wrote: Hi Alan, By the way, with the standard Unix Makefile generator you can find out exactly what was set by looking through the generated Makefiles or even easier, invoke make as "make VERBOSE=1 ..." which is how I know that is set correctly for L

RE: [CMake] ADA language

2007-07-25 Thread Camek, Alexander
Hi Alan, Thanks for your help. It works all now fine. Ass on my head, I have forgotten to enable the Ada language. Now it finds all the things correct. What I can say, it seems to work all correct under Windows MinGW. One other wish. Is it possible to change the .abs to in order to allow out

RE: [CMake] ADA language

2007-07-25 Thread Alan W. Irwin
On 2007-07-25 11:49+0200 Camek, Alexander wrote: Hi Alan, Thanks for your help. It works all now fine. Ass on my head, I have forgotten to enable the Ada language. Now it finds all the things correct. What I can say, it seems to work all correct under Windows MinGW. That is excellent news s

Re: [CMake] Ada language support

2007-07-02 Thread Alexander Neundorf
On Monday 02 July 2007 10:11, Camek, Alexander wrote: > Hi List, > > I have seen that there is a support of a fortran compiler besides c, c++ > and java in cmake. > Is there support for ADA around there? > > If it is not so, is it possible to adapte the modules of fortran for > Ada? > Do I have to

Re: [CMake] Ada language support

2007-07-02 Thread Arjen Markus
> On Monday 02 July 2007 10:11, Camek, Alexander wrote: >> Hi List, >> >> I have seen that there is a support of a fortran compiler besides c, c++ >> and java in cmake. >> Is there support for ADA around there? >> >> If it is not so, is it possible to adapte the modules of fortran for >> Ada? >> Do

Re: [CMake] Ada language support

2007-07-02 Thread Alan W. Irwin
On 2007-07-02 19:31+0200 Arjen Markus wrote: On Monday 02 July 2007 10:11, Camek, Alexander wrote: Hi List, I have seen that there is a support of a fortran compiler besides c, c++ and java in cmake. Is there support for ADA around there? If it is not so, is it possible to adapte the modules

Re: [CMake] Ada language support

2007-07-02 Thread Alexander Neundorf
On Monday 02 July 2007 14:56, you wrote: ... > Specifically look for > > CMakeAdaCompiler.cmake.in > CMakeAdaInformation.cmake > CMakeDetermineAdaCompiler.cmake > CMakeTestAdaCompiler.cmake > ada.cmake Cool :-) Can you link C, C++ and Ada object files together to libraries/executables ? If yes,

Re: [CMake] Ada language support

2007-07-02 Thread Alan W. Irwin
On 2007-07-02 16:24-0400 Alexander Neundorf wrote: On Monday 02 July 2007 14:56, you wrote: ... Specifically look for CMakeAdaCompiler.cmake.in CMakeAdaInformation.cmake CMakeDetermineAdaCompiler.cmake CMakeTestAdaCompiler.cmake ada.cmake Cool :-) Can you link C, C++ and Ada object files to

RE: [CMake] Ada language support

2007-07-03 Thread Camek, Alexander
Hi Alex, > Can you link C, C++ and Ada object files together to > libraries/executables ? > If yes, which linker is used then ? The Ada one or the one from C++ ? If you mean directly to link object files together, this is a little bit tricky. Because gnatlink (which links ada files) sets some