On Monday 26 June 2006 16:29, Brad King wrote:
> David Somers wrote:
[snip]
> > BTW, I assume that IS_DIRECTORY works relative to
> > ${CMAKE_CURRENT_SOURCE_DIR} unless a path to an absolute dir is given...
> > the help for the IF(IS_DIRECTORY command doesn't state this at all :-(
>
> Always use a full path for these options.

When in non-script mode, am I right that it is relative to 
${CMAKE_CURRENT_SOURCE_DIR?

> When running in script mode 
> (cmake -P) there is no current source dir.

Sure... but I'm not using this construct from within script mode but in 
regular mode.

Could the cmake help for this be updated to indicate this.

Cheers.

-- 
David Somers
_______________________________________________
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to