[CMake] building cmake with special options

Brad King brad.king at kitware.com
Fri Mar 25 14:26:18 EST 2005


Doug Henry wrote:
> The configure script also has this option, does it pass that on to bootstrap?

The configure script is just an alias for the bootstrap since so many 
people are used to "./configure && make && make install" from GNU tools. 
  All the options are the same.

-Brad

> 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 "")
>>
>>-Brad
>>



More information about the CMake mailing list