you can set the CMake variables through command line using the syntax -D<key>=<value>. for example, the prefix directory is stored in the variable CMAKE_INSTALL_PREFIX, so you can run cmake this way:

cmake -DCMAKE_INSTALL_PREFIX=/usr/local

to specify the directory /usr/local as the installation prefix. you can see all the possible variables via the "ccmake" command.

On Mon, Jun 29, 2009 at 3:57 AM, <maqadri@comcast.net> wrote:
'lo.

I'm trying to add vxl to the community supported repository of Arch Linux (AUR), and we use what should essentially be a fully automated installing process. I was wondering if instead of using the cmake interface, if the configure script was kept up to date and usable instead. I'm not really familiar with cmake, otherwise maybe I'd know some small detail about how it possibly calls the configure script with all the settings or something, but I just wanted to make sure, since compiling on my computer takes some crazy amount of time (hour plus, I think). Primarily, I just want to be able to set the directories via command line without having to deal with the interface. Is that possible with a simple --prefix, for example, to the configure script?

Thanks,
MAQ.

------------------------------------------------------------------------------

_______________________________________________
Vxl-users mailing list
Vxl-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vxl-users




--
Crístian Deives dos Santos Viana [aka CD1]