[CMake] building cmake with special options
brilligent at gmail.com
Fri Mar 25 13:19:04 EST 2005
The configure script also has this option, does it pass that on to bootstrap?
On Fri, 25 Mar 2005 11:33:14 -0500, Brad King <brad.king at kitware.com> wrote:
> Doug Henry wrote:
> > I need to specify my ncurses include/lib path when building cmake. I
> > didn't see a way to do this using the config script, so I tried -D's
> > during bootstrap (make) and it complained that -D was an invalid
> > option. Is there a way for me to override the CURSES_INCLUDE_PATH and
> > CURSES_LIBRARY when building cmake?
> If you run "bootstrap --help" you will see an option called "--init="
> that lets you specify a file containing CMake code to initialize
> variables. Point it at a file containing
> SET(CURSES_INCLUDE_PATH "/my/path" CACHE PATH "")
> SET(CURSES_LIBRARY "/my/libncruses.a" CACHE PATH "")
More information about the CMake