[Insight-users] Do we have to build ITK for both "Release" and
"Debug"?
daniel mark
danielmarkhot at gmail.com
Sun Oct 22 12:11:23 EDT 2006
Hello Dr. Magnotta:
> These options are configured through cmake and not Visual Studio. The
> options are set with the following variables: BUILD_EXAMPLES, and
> BUILD_TESTING, and USE_WRAP_ITK. You will want to set these options to
> OFF.
I checked my under directory "CMakeLists.txt" C:\Program
Files\InsightToolkit-2.8.1\InsightToolkit-2.8.1-source
I found the following line
OPTION(BUILD_EXAMPLES "Build the Examples directory." ON)
But I didn't find the corresponding line for BUILD_TESTING.
Some related lines as follows:
IF(BUILD_TESTING)
ENABLE_TESTING()
CONFIGURE_FILE(${ITK_SOURCE_DIR}/InsightLogo.gif
${ITK_BINARY_DIR}/Testing/HTML/TestingResults/Icons/Logo.gif
COPYONLY IMMEDIATE)
SET(BUILDNAME "${BUILDNAME}" CACHE STRING "Name of build on the dashboard")
MARK_AS_ADVANCED(BUILDNAME)
ENDIF(BUILD_TESTING)
There is no line for USE_WRAP_ITK
Should I do like this:
1> Change the line
OPTION(BUILD_EXAMPLES "Build the Examples directory." ON)
to
OPTION(BUILD_EXAMPLES "Build the Examples directory." OFF)
2> Add (To where??)
OPTION(BUILD_TESTING "BUILD_TESTING." OFF)
3> Add (To where??)
OPTION(USE_WRAP_ITK "USE_WRAP_ITK." OFF)
Thank you
-Daniel
More information about the Insight-users
mailing list