comp.lang.ada
 help / color / mirror / Atom feed
* CMake and Ada : a track around the place ?
@ 2011-07-30 11:48 Yannick Duchêne (Hibou57)
  2011-08-01  9:23 ` Alex R. Mosteo
  0 siblings, 1 reply; 5+ messages in thread
From: Yannick Duchêne (Hibou57) @ 2011-07-30 11:48 UTC (permalink / raw)


Hi all (a long time I didn't posted here, hope every one is fine and fine)

I may have two opportunities to push Ada in two different projects. The  
first one is OK, as I will start it from the ground up. The second one is  
rather different, in the way it is an already existing project I would  
like to work on (may not be a priority, as I would probably get nothing  
for this, as it is a GPL application). This is a C++ rather big (for me)  
peace of software, which however provide an opportunity to push Ada  
inside, as it is a very modular application (I may dream, in the future,  
to incrementally translate some part from C++ to Ada, as I hate when this  
application crash with no back-track and runtime-check at all). Alex R.  
Masteo already talked about CMake and Ada here, as I did too some time  
before Alex. Ludovic replied to Alex using CMake is a bad idea. I  
understood the reason he gave, but I simply would like it anyway, for  
seamless integration, as this application has a build process all designed  
around CMake since long, and I would not want to change.

The sole material I could found about this topic, is an old mailing list  
archive. I just made a test with a sample Ada project to see what's going  
on using Make as-is, and CMake complained he could not determine some  
linker language for the target application. So Ada is clearly not built-in  
the default CMake.

Any track for using CMake to build a source tree containing Ada sources  
mixed with C++ files ? I would probably rely on solely GNAT for the Ada  
compiler, as it comes along GCC (this may help).

Have a nice time all, and happy designing


-- 
“Syntactic sugar causes cancer of the semi-colons.”  [Epigrams on  
Programming — Alan J. — P. Yale University]
“Structured Programming supports the law of the excluded muddle.” [Idem]
Java: Write once, Never revisit



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-08-05  5:50 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-30 11:48 CMake and Ada : a track around the place ? Yannick Duchêne (Hibou57)
2011-08-01  9:23 ` Alex R. Mosteo
2011-08-01 10:54   ` Yannick Duchêne (Hibou57)
2011-08-04  9:27     ` Alex R. Mosteo
2011-08-05  5:50   ` Ada novice

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox