[CMake] ADA language

Camek, Alexander Alexander.Camek at elektrobit.com
Wed Jul 18 11:01:37 EDT 2007


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_MODULE_PATH doesn't help.
> Add some MESSAGE(STATUS "this is file ....") debug messages 
> to the files which should be loaded so you see what's going on.

The files semed to be loaded, because i get a configured CMakeAdaCompiler.cmake and also the test are running.
But when i want to build my executables or libraries it seems that nothing of the tags, e.g. <CMAKE_Ada_COMPILER> are known anymore.

By the way is it normal that i have to set SET_TARGET_PROPERTIES() value LINKER_LANGUAGE to Ada, because if i don't do that i always get an error that the linker can not be choosen.

Greetings

Alexander


----------------------------------------------------------------
Please note: This e-mail may contain confidential information
intended solely for the addressee. If you have received this
e-mail in error, please do not disclose it to anyone, notify
the sender promptly, and delete the message from your system.
Thank you.



More information about the CMake mailing list