SCI Home Software Documentation Installation User's Guide Developer's Guide

CIBC:Documentation:SCIRun:Installation:CMakeVariables

From SCIRun Documentation Wiki
Jump to: navigation, search

CMake Variables Used for Building SCIRun

  • BUILD_SHARED_LIBS - This variable can be set to ON or OFF and determines whether the SCIRun Core libraries will build as shared or static libraries. The default is ON, which will build static libraries.
  • CMAKE_BUILD_TYPE - Tells CMake whether to configure for an optimized or debug build. Valid options include "Debug" and "Release".
  • SCIRUN_THIRDPARTY_DIR - This variable should be set to the path where the SCIRun Thirdparty is built (e.g. /usr/sci/projects/SCIRun/Thirdparty/3.0.0/Linux/gcc-3.3.5-32bit).
  • LOAD_PACKAGE - Current packages built, which must include SCIRun, separated by commas. By default, this string is set to SCIRun,BioPSE,Teem,MatlabInterface.
  • WITH_LAPACK - This variable can be set to ON or OFF (defaults to OFF) and determines whether CMake looks for and configures with the LAPACK library.
  • WITH_X11 - This variable can be set to ON or OFF (defaults to ON) and determines whether CMake looks for and configures with the X11 library.
  • WITH_MPEG - This variable can be set to ON or OFF (defaults to OFF for Windows, and ON otherwise) and determines whether CMake looks for and configures with the Mpeg library.
  • WITH_PETSC - This variable can be set to ON or OFF (defaults to OFF) and determines whether CMake looks for and configures with the Petsc library.
  • WITH_ITK - This variable can be set to ON or OFF (defaults to OFF) and determines whether CMake looks for and configures with the Insight Toolkit. If set to ON, CMake will first check in the SCIRUN_THIRDPARTY_DIR for ITK. Also, if CMake finds ITK in the SCIRUN_THIRDPARTY_DIR, WITH_ITK will be set to ON. If ITK is built somewhere besides the SCIRUN_THIRDPARTY_DIR, and CMake can't find it, users will need to specify the ITK_DIR variable to point to where ITK is (see ITK_DIR variable).
  • ITK_DIR - Location of Insight Toolkit (e.g. /usr/local where /usr/local/lib/InsightToolkit exists).
  • TETGEN_DIR - Path to the TetGen installation
  • MESQUITE_DIR - Path to the Mesquite installation
  • VERDICT_DIR - Path to the Verdict installation
  • CBLAS_DIR - Path to the CBlas installation
  • BUILD_TESTING - This variable can be set to ON or OFF and defaults to ON and allows for testing SCIRun Core.
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox