At 12:59 PM 7/13/2006, Scott Amort wrote:
>William A. Hoffman wrote:
>> Why not use a forced out of source build?
>
>Sorry to hijack this thread, but how do you 'force' an out of source build?
Something like this:

#########################################################################
# Disallow in-source build
STRING(COMPARE EQUAL "${ParaView_SOURCE_DIR}" 
  "${ParaView_BINARY_DIR}" INSOURCE)
IF(INSOURCE)
  MESSAGE(FATAL_ERROR "ParaView requires an out of source Build. Please create 
a separate binary directory and run CMake there.")
ENDIF(INSOURCE)


-Bill

_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to