[Cmake] Searching for CMAKE_ROOT

Amitha Perera perera at cs.rpi.edu
Tue May 22 13:42:47 EDT 2001


> CMAKE_ROOT is only for the standard CMake modules. For project
> specific modules you can put them in the projects source tree and in
> the projects cmake lists file just use a different include. For
> example

Actually, the modules and templates don't concern me: what you'd said
is exactly correct, and that's what happens in vxl. What does concern
me is running configure, which is run from the system
directory. (Perhaps I am wrong.)

I know there is some move to drop configure altogether, and have all
configuration within cmake. Some of the things we want to test during
configure time are: does the (C++) compiler support partial
specialization? Does it recognize the export keyword? Does the export
keyword actually do anything? and so on. Since some of this involves
compiling little test programs, I'm not sure how it can be done
cleanly within CMake.

Amitha.




More information about the CMake mailing list