Thank you! I’ll do that.
By the way, the slicer is successfully build although SimpleITK is failed
Is it ok if I use this slicer?
it looks working
SimpleITK is only for increase speed?
I have faced this issue as well when building Slicer 4.10.1 tag in debug mode. Slicer_USE_SimpleITK is selected as well as Slicer_SimpleITK_SHARED in the cmake configuration. I also have definitely specified to build with the v140 toolset and can confirm the projects are listed with (Visual Studio 2015) listed next to them in Visual Studio.
I deleted the SimpleITK directories from my C:/S4.10D directory and tried building again, but the SimpleITK project failed again.
I noticed this line in the build output:
45>luaexec.dir\Debug\lua.obj : fatal error LNK1112: module machine type 'x86' conflicts with target machine type 'x64' [C:\S4.10D\SimpleITK-build\Lua-prefix\src\Lua-build\luaexec.vcxproj] [C:\S4.10D\SimpleITK-build\Lua.vcxproj]
Could this be because I was using CMake 3.14.3, where I specifed the generator “Visual Studio 15 2017” and then specified the optional platform generator “x64” in the new line below. It otherwise says “if empty, generator uses: Win32”. Then I also specified the optional toolset “v140”
My CMake configuration included the following entries:
CMAKE_INSTALL_PREFIX = C:/Program Files (x86)/Slicer
CMAKE_LINKER = C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/x86_amd64/link.exe
CMAKE_EXE_LINKER_FLAGS = /machine:x64
CMAKE_MODULE_LINKER_FLAGS = /machine:x64
CMAKE_SHARED_LINKER_FLAGS = /machine:x64
CMAKE_STATIC_LINKER_FLAGS = /machine:x64
I’ve checked my debug-mode build and I have a Lua build there. I don’t think it is needed. We don’t use Lua. Maybe you can try to disable it (WRAP_LUA=>OFF).
I’ve just checked and I have WRAP_LUA turned off, too. It seems that even if you turn off Lua wrapping, Lua is still built. Maybe you can ask why is this on the ITK forum (or maybe @blowekamp can respond directly here).
The lua.obj file (that you get the error message for, because it is 32-bit on your system) on my system is 64-bit. At least, when I dump its content using c:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\amd64>dumpbin.exe c:\D\S4D\SimpleITK-build\Lua-prefix\src\Lua-build\luaexec.dir\Debug\lua.obj /headers I get this:
...
FILE HEADER VALUES
8664 machine (x64)
...
I’ve started to use a new computer, and building Slicer right now with VS2019 IDE with VS2015 toolset, with latest CMake. We’ll see if I run into the same issue.
The little “Lua” executable is needed for code generation for Simple ITK.
It looks like you might have specified the new “CMAKE_GENERATOR_PLATFORM” option instead of using the traditional platform in the generator. Support for this in SimpleITK was added here:
@jcfr It appears that the Slicer/SimpleITK repo will need to have an updated branch created with this patch. Also, unclear what to do about building Slicer 4.10.1 stable.
Either update the SimpleITK branch specified when building the Slicer-4.10 branch or update the build instructions for 4.10 to not use CMake >3.14 or update to specify to use the old way with the platform with the generator string?
If we create a new patch release (Slicer-4.10.2) then we may add CMake-3.14> compatibility there, but 4.10.1 will require older CMake. Updating build instructions should be enough.
CMake usually handles API changes very nicely. If indeed new CMake cannot build older projects then CMake must be fixed. If the old style is deprecated now, it should be still supported for at least a year, to allow software libraries to transition smoothly.
Either update the SimpleITK branch specified when building the Slicer-4.10 branch or update the build instructions for 4.10 to not use CMake >3.14 or update to specify to use the old way with the platform with the generator string?
It will be easy enough to backport that fixes in 4.10.2. We will also apply the fix right away in Slicer.
Note that using CMake > 3.14 is still possible, you just need to specify the Win64 string.
If indeed new CMake cannot build older projects then CMake must be fixed. If the old style is deprecated now, it should be still supported for at least a year, to allow software libraries to transition smoothly.
To clarify, specifying Win64 after the generator name for VS 2015 and older is still supported even with the latest CMake. It is not available only when using VS 2019.
For me, release-mode build completed without errors, using VS2019 IDE, VS2015 toolset, x64, with SimpleITK enabled. I’m not sure what @jamesobutler did differently. I’ve started a debug-mode build now.
I didn’t try a release build so hard to say if it would’ve messed up for me then. @lassoan Let me know how the debug build goes for you.
I did use Visual Studio 2017 and it’s generator and not Visual Studio 2019. With CMake 3.14.3 specifying X64 and v140 toolset. I think the only cmake settings I changed from default were setting it to a “stable” release type, setting the forced revision to 27931, and setting the MP flags to 4 to speed up the build process.
Here was my original CMakeCache.txt for completeness:
# This is the CMakeCache file.
# For build in directory: c:/S4.10D
# It was generated by CMake: C:/Program Files/CMake/bin/cmake.exe
# You can edit this file to change values found and used by cmake.
# If you do not want to change any of the values, simply exit the editor.
# If you do want to change a value, simply edit, save, and exit the editor.
# The syntax for the file is as follows:
# KEY:TYPE=VALUE
# KEY is the name of a variable in the cache.
# TYPE is a hint to GUIs for the type of VALUE, DO NOT EDIT TYPE!.
# VALUE is the current value for the KEY.
########################
# EXTERNAL cache entries
########################
//Additional CXX Flags
ADDITIONAL_CXX_FLAGS:STRING=
//Additional C Flags
ADDITIONAL_C_FLAGS:STRING=
//Variable set by 'ExternalProject_Add_Source' based on VARS parameter.
BRAINSTools_CLI_ARCHIVE_OUTPUT_DIRECTORY:PATH=C:/S4.10D/Slicer-build/lib/Slicer-4.10/cli-modules
//Variable set by 'ExternalProject_Add_Source' based on VARS parameter.
BRAINSTools_CLI_INSTALL_ARCHIVE_DESTINATION:PATH=./lib/Slicer-4.10/cli-modules
//Variable set by 'ExternalProject_Add_Source' based on VARS parameter.
BRAINSTools_CLI_INSTALL_LIBRARY_DESTINATION:PATH=./lib/Slicer-4.10/cli-modules
//Variable set by 'ExternalProject_Add_Source' based on VARS parameter.
BRAINSTools_CLI_INSTALL_RUNTIME_DESTINATION:PATH=./lib/Slicer-4.10/cli-modules
//Variable set by 'ExternalProject_Add_Source' based on VARS parameter.
BRAINSTools_CLI_LIBRARY_OUTPUT_DIRECTORY:PATH=C:/S4.10D/Slicer-build/lib/Slicer-4.10/cli-modules
//Variable set by 'ExternalProject_Add_Source' based on VARS parameter.
BRAINSTools_CLI_RUNTIME_OUTPUT_DIRECTORY:PATH=C:/S4.10D/Slicer-build/lib/Slicer-4.10/cli-modules
//Variable set by 'ExternalProject_Add_Source' based on VARS parameter.
BRAINSTools_DISABLE_TESTING:BOOL=ON
//Variable set by 'ExternalProject_Add_Source' based on VARS parameter.
BRAINSTools_ExternalData_DATA_MANAGEMENT_TARGET:STRING=SlicerData
//Variable set by 'ExternalProject_Add_Source' based on VARS parameter.
BRAINSTools_SUPERBUILD:BOOL=OFF
//Variable set by 'ExternalProject_Add_Source' based on VARS parameter.
BRAINS_DEBUG_IMAGE_WRITE:BOOL=OFF
//Build the testing tree.
BUILD_TESTING:BOOL=OFF
//Semicolon separated list of supported configuration types, only
// supports Debug, Release, MinSizeRel, and RelWithDebInfo, anything
// else will be ignored.
CMAKE_CONFIGURATION_TYPES:STRING=Debug;Release;MinSizeRel;RelWithDebInfo
//CMake CXX Flags
CMAKE_CXX_FLAGS:STRING=/DWIN32 /D_WINDOWS /W2 /GR /EHsc
//Flags used by the CXX compiler during DEBUG builds.
CMAKE_CXX_FLAGS_DEBUG:STRING=/MDd /Zi /Ob0 /Od /RTC1
//Flags used by the CXX compiler during MINSIZEREL builds.
CMAKE_CXX_FLAGS_MINSIZEREL:STRING=/MD /O1 /Ob1 /DNDEBUG
//Flags used by the CXX compiler during RELEASE builds.
CMAKE_CXX_FLAGS_RELEASE:STRING=/MD /O2 /Ob2 /DNDEBUG
//Flags used by the CXX compiler during RELWITHDEBINFO builds.
CMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING=/MD /Zi /O2 /Ob1 /DNDEBUG
//Build with /MP flag enabled
CMAKE_CXX_MP_FLAG:BOOL=OFF
//The maximum number of processes for the /MP flag
CMAKE_CXX_MP_NUM_PROCESSORS:STRING=
//Libraries linked by default with all C++ applications.
CMAKE_CXX_STANDARD_LIBRARIES:STRING=kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib
//CMake C Flags
CMAKE_C_FLAGS:STRING=/DWIN32 /D_WINDOWS /W2
//Flags used by the C compiler during DEBUG builds.
CMAKE_C_FLAGS_DEBUG:STRING=/MDd /Zi /Ob0 /Od /RTC1
//Flags used by the C compiler during MINSIZEREL builds.
CMAKE_C_FLAGS_MINSIZEREL:STRING=/MD /O1 /Ob1 /DNDEBUG
//Flags used by the C compiler during RELEASE builds.
CMAKE_C_FLAGS_RELEASE:STRING=/MD /O2 /Ob2 /DNDEBUG
//Flags used by the C compiler during RELWITHDEBINFO builds.
CMAKE_C_FLAGS_RELWITHDEBINFO:STRING=/MD /Zi /O2 /Ob1 /DNDEBUG
//Libraries linked by default with all C applications.
CMAKE_C_STANDARD_LIBRARIES:STRING=kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib
//Flags used by the linker during all build types.
CMAKE_EXE_LINKER_FLAGS:STRING=/machine:x64
//Flags used by the linker during DEBUG builds.
CMAKE_EXE_LINKER_FLAGS_DEBUG:STRING=/debug /INCREMENTAL
//Flags used by the linker during MINSIZEREL builds.
CMAKE_EXE_LINKER_FLAGS_MINSIZEREL:STRING=/INCREMENTAL:NO
//Flags used by the linker during RELEASE builds.
CMAKE_EXE_LINKER_FLAGS_RELEASE:STRING=/INCREMENTAL:NO
//Flags used by the linker during RELWITHDEBINFO builds.
CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO:STRING=/debug /INCREMENTAL
//Install path prefix, prepended onto install directories.
CMAKE_INSTALL_PREFIX:PATH=C:/Program Files (x86)/Slicer
//Path to a program.
CMAKE_LINKER:FILEPATH=C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/x86_amd64/link.exe
//Flags used by the linker during the creation of modules during
// all build types.
CMAKE_MODULE_LINKER_FLAGS:STRING=/machine:x64
//Flags used by the linker during the creation of modules during
// DEBUG builds.
CMAKE_MODULE_LINKER_FLAGS_DEBUG:STRING=/debug /INCREMENTAL
//Flags used by the linker during the creation of modules during
// MINSIZEREL builds.
CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL:STRING=/INCREMENTAL:NO
//Flags used by the linker during the creation of modules during
// RELEASE builds.
CMAKE_MODULE_LINKER_FLAGS_RELEASE:STRING=/INCREMENTAL:NO
//Flags used by the linker during the creation of modules during
// RELWITHDEBINFO builds.
CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO:STRING=/debug /INCREMENTAL
//Path to a program.
CMAKE_MT:FILEPATH=CMAKE_MT-NOTFOUND
//Value Computed by CMake
CMAKE_PROJECT_DESCRIPTION:STATIC=
//Value Computed by CMake
CMAKE_PROJECT_HOMEPAGE_URL:STATIC=
//Value Computed by CMake
CMAKE_PROJECT_NAME:STATIC=Slicer
//Value Computed by CMake
CMAKE_PROJECT_VERSION:STATIC=4.10.1
//Value Computed by CMake
CMAKE_PROJECT_VERSION_MAJOR:STATIC=4
//Value Computed by CMake
CMAKE_PROJECT_VERSION_MINOR:STATIC=10
//Value Computed by CMake
CMAKE_PROJECT_VERSION_PATCH:STATIC=1
//Value Computed by CMake
CMAKE_PROJECT_VERSION_TWEAK:STATIC=
//RC compiler
CMAKE_RC_COMPILER:FILEPATH=rc
//Flags for Windows Resource Compiler during all build types.
CMAKE_RC_FLAGS:STRING=/DWIN32
//Flags for Windows Resource Compiler during DEBUG builds.
CMAKE_RC_FLAGS_DEBUG:STRING=/D_DEBUG
//Flags for Windows Resource Compiler during MINSIZEREL builds.
CMAKE_RC_FLAGS_MINSIZEREL:STRING=
//Flags for Windows Resource Compiler during RELEASE builds.
CMAKE_RC_FLAGS_RELEASE:STRING=
//Flags for Windows Resource Compiler during RELWITHDEBINFO builds.
CMAKE_RC_FLAGS_RELWITHDEBINFO:STRING=
//Flags used by the linker during the creation of shared libraries
// during all build types.
CMAKE_SHARED_LINKER_FLAGS:STRING=/machine:x64
//Flags used by the linker during the creation of shared libraries
// during DEBUG builds.
CMAKE_SHARED_LINKER_FLAGS_DEBUG:STRING=/debug /INCREMENTAL
//Flags used by the linker during the creation of shared libraries
// during MINSIZEREL builds.
CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL:STRING=/INCREMENTAL:NO
//Flags used by the linker during the creation of shared libraries
// during RELEASE builds.
CMAKE_SHARED_LINKER_FLAGS_RELEASE:STRING=/INCREMENTAL:NO
//Flags used by the linker during the creation of shared libraries
// during RELWITHDEBINFO builds.
CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO:STRING=/debug /INCREMENTAL
//If set, runtime paths are not added when installing shared libraries,
// but are added when building.
CMAKE_SKIP_INSTALL_RPATH:BOOL=OFF
//If set, runtime paths are not added when using shared libraries.
CMAKE_SKIP_RPATH:BOOL=OFF
//Flags used by the linker during the creation of static libraries
// during all build types.
CMAKE_STATIC_LINKER_FLAGS:STRING=/machine:x64
//Flags used by the linker during the creation of static libraries
// during DEBUG builds.
CMAKE_STATIC_LINKER_FLAGS_DEBUG:STRING=
//Flags used by the linker during the creation of static libraries
// during MINSIZEREL builds.
CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL:STRING=
//Flags used by the linker during the creation of static libraries
// during RELEASE builds.
CMAKE_STATIC_LINKER_FLAGS_RELEASE:STRING=
//Flags used by the linker during the creation of static libraries
// during RELWITHDEBINFO builds.
CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO:STRING=
//If this value is on, makefiles will be generated without the
// .SILENT directive, and all commands will be echoed to the console
// during the make. This is useful for debugging only. With Visual
// Studio IDE projects all commands are done without /nologo.
CMAKE_VERBOSE_MAKEFILE:BOOL=OFF
//Dot tool for use with Doxygen
DOXYGEN_DOT_EXECUTABLE:FILEPATH=DOXYGEN_DOT_EXECUTABLE-NOTFOUND
//Doxygen documentation generation tool (http://www.doxygen.org)
DOXYGEN_EXECUTABLE:FILEPATH=DOXYGEN_EXECUTABLE-NOTFOUND
//git command line client
GIT_EXECUTABLE:FILEPATH=C:/Program Files/Git/cmd/git.exe
//Patch command line executable
Patch_EXECUTABLE:FILEPATH=C:/Program Files/Git/usr/bin/patch.exe
QT_QMAKE_EXECUTABLE:FILEPATH=NOTFOUND
//The directory containing a CMake configuration file for Qt5Core.
Qt5Core_DIR:PATH=C:/Qt/5.10.1/msvc2015_64/lib/cmake/Qt5Core
//The directory containing a CMake configuration file for Qt5Gui.
Qt5Gui_DIR:PATH=C:/Qt/5.10.1/msvc2015_64/lib/cmake/Qt5Gui
//The directory containing a CMake configuration file for Qt5Multimedia.
Qt5Multimedia_DIR:PATH=C:/Qt/5.10.1/msvc2015_64/lib/cmake/Qt5Multimedia
//The directory containing a CMake configuration file for Qt5Network.
Qt5Network_DIR:PATH=C:/Qt/5.10.1/msvc2015_64/lib/cmake/Qt5Network
//The directory containing a CMake configuration file for Qt5OpenGL.
Qt5OpenGL_DIR:PATH=C:/Qt/5.10.1/msvc2015_64/lib/cmake/Qt5OpenGL
//The directory containing a CMake configuration file for Qt5Positioning.
Qt5Positioning_DIR:PATH=C:/Qt/5.10.1/msvc2015_64/lib/cmake/Qt5Positioning
//The directory containing a CMake configuration file for Qt5PrintSupport.
Qt5PrintSupport_DIR:PATH=C:/Qt/5.10.1/msvc2015_64/lib/cmake/Qt5PrintSupport
//The directory containing a CMake configuration file for Qt5Qml.
Qt5Qml_DIR:PATH=C:/Qt/5.10.1/msvc2015_64/lib/cmake/Qt5Qml
//The directory containing a CMake configuration file for Qt5Quick.
Qt5Quick_DIR:PATH=C:/Qt/5.10.1/msvc2015_64/lib/cmake/Qt5Quick
//The directory containing a CMake configuration file for Qt5Script.
Qt5Script_DIR:PATH=C:/Qt/5.10.1/msvc2015_64/lib/cmake/Qt5Script
//The directory containing a CMake configuration file for Qt5Sql.
Qt5Sql_DIR:PATH=C:/Qt/5.10.1/msvc2015_64/lib/cmake/Qt5Sql
//The directory containing a CMake configuration file for Qt5Svg.
Qt5Svg_DIR:PATH=C:/Qt/5.10.1/msvc2015_64/lib/cmake/Qt5Svg
//The directory containing a CMake configuration file for Qt5UiTools.
Qt5UiTools_DIR:PATH=C:/Qt/5.10.1/msvc2015_64/lib/cmake/Qt5UiTools
//The directory containing a CMake configuration file for Qt5WebChannel.
Qt5WebChannel_DIR:PATH=C:/Qt/5.10.1/msvc2015_64/lib/cmake/Qt5WebChannel
//The directory containing a CMake configuration file for Qt5WebEngineCore.
Qt5WebEngineCore_DIR:PATH=C:/Qt/5.10.1/msvc2015_64/lib/cmake/Qt5WebEngineCore
//The directory containing a CMake configuration file for Qt5WebEngineWidgets.
Qt5WebEngineWidgets_DIR:PATH=C:/Qt/5.10.1/msvc2015_64/lib/cmake/Qt5WebEngineWidgets
//The directory containing a CMake configuration file for Qt5WebEngine.
Qt5WebEngine_DIR:PATH=C:/Qt/5.10.1/msvc2015_64/lib/cmake/Qt5WebEngine
//The directory containing a CMake configuration file for Qt5Widgets.
Qt5Widgets_DIR:PATH=C:/Qt/5.10.1/msvc2015_64/lib/cmake/Qt5Widgets
//The directory containing a CMake configuration file for Qt5XmlPatterns.
Qt5XmlPatterns_DIR:PATH=C:/Qt/5.10.1/msvc2015_64/lib/cmake/Qt5XmlPatterns
//The directory containing a CMake configuration file for Qt5Xml.
Qt5Xml_DIR:PATH=C:/Qt/5.10.1/msvc2015_64/lib/cmake/Qt5Xml
//The directory containing a CMake configuration file for Qt5.
Qt5_DIR:PATH=C:/Qt/5.10.1/msvc2015_64/lib/cmake/Qt5
//Value Computed by CMake
Slicer_BINARY_DIR:STATIC=C:/S4.10D
//Download and integrate BRAINSTools sources.
Slicer_BUILD_BRAINSTOOLS:BOOL=ON
//Build Slicer CLI Plugins
Slicer_BUILD_CLI:BOOL=ON
//Build Slicer with CLI support
Slicer_BUILD_CLI_SUPPORT:BOOL=ON
//Download and integrate CompareVolumes sources.
Slicer_BUILD_CompareVolumes:BOOL=ON
//Build Slicer with DICOM support
Slicer_BUILD_DICOM_SUPPORT:BOOL=ON
//Build Slicer with diffusion (DWI, DTI) support
Slicer_BUILD_DIFFUSION_SUPPORT:BOOL=ON
//Build documentation (Doxygen, sphinx, ...)
Slicer_BUILD_DOCUMENTATION:BOOL=ON
//Download and integrate DataStore sources.
Slicer_BUILD_DataStore:BOOL=ON
//Build Slicer extension manager
Slicer_BUILD_EXTENSIONMANAGER_SUPPORT:BOOL=ON
//Build Slicer with Internationalization support
Slicer_BUILD_I18N_SUPPORT:BOOL=OFF
//Build Python wrapping for ITK
Slicer_BUILD_ITKPython:BOOL=OFF
//Build Slicer LEGACY_CLI Plugins
Slicer_BUILD_LEGACY_CLI:BOOL=ON
//Download and integrate LandmarkRegistration sources.
Slicer_BUILD_LandmarkRegistration:BOOL=ON
//Build MultiVolume support.
Slicer_BUILD_MULTIVOLUME_SUPPORT:BOOL=ON
//Download and integrate MultiVolumeExplorer sources.
Slicer_BUILD_MultiVolumeExplorer:BOOL=ON
//Download and integrate MultiVolumeImporter sources.
Slicer_BUILD_MultiVolumeImporter:BOOL=ON
//Build Slicer with parameter serializer support
Slicer_BUILD_PARAMETERSERIALIZER_SUPPORT:BOOL=ON
//Build Slicer QT Loadable Modules
Slicer_BUILD_QTLOADABLEMODULES:BOOL=ON
//Build Slicer Python QT Modules
Slicer_BUILD_QTSCRIPTEDMODULES:BOOL=ON
//Build Qt designer plugins
Slicer_BUILD_QT_DESIGNER_PLUGINS:BOOL=ON
//Download and integrate SimpleFilters sources.
Slicer_BUILD_SimpleFilters:BOOL=ON
//Build Slicer executable as a console app on windows (allows debug
// output)
Slicer_BUILD_WIN32_CONSOLE:BOOL=ON
//Name of the modules shown on the toolbar by default (comma-separated
// list)
Slicer_DEFAULT_FAVORITE_MODULES:STRING=Data, Volumes, Models, Transforms, Markups, SegmentEditor
//Name of the module that Slicer activates on start-up by default
Slicer_DEFAULT_HOME_MODULE:STRING=Welcome
//Text displayed at the first startup of Slicer in a popup window
Slicer_DISCLAIMER_AT_STARTUP:STRING=Thank you for using %1!<br><br>This software is not intended for clinical use.
//Overwrite value of auto-discovered Slicer_WC_LAST_CHANGED_DATE
// (format: YYYY-MM-DD)
Slicer_FORCED_WC_LAST_CHANGED_DATE:STRING=
//Overwrite value of auto-discovered Slicer_WC_REVISION
Slicer_FORCED_WC_REVISION:STRING=27931
//Main project name
Slicer_MAIN_PROJECT:STRING=SlicerApp
//Organization domain
Slicer_ORGANIZATION_DOMAIN:STRING=www.na-mic.org
//Organization name
Slicer_ORGANIZATION_NAME:STRING=NA-MIC
//Type of Slicer release.
Slicer_RELEASE_TYPE:STRING=Stable
//Minimum required Qt version
Slicer_REQUIRED_QT_VERSION:STRING=5.10.0
//Value Computed by CMake
Slicer_SOURCE_DIR:STATIC=C:/Slicer
//Build Slicer and the projects it depends on.
Slicer_SUPERBUILD:BOOL=ON
//Configure ctkAppLauncher.
Slicer_USE_CTKAPPLAUNCHER:BOOL=ON
//Organize build targets into folders
Slicer_USE_FOLDERS:BOOL=ON
//If behind a firewall turn this off to use https instead.
Slicer_USE_GIT_PROTOCOL:BOOL=ON
//Build Slicer with NumPy
Slicer_USE_NUMPY:BOOL=ON
//Integrate a python-QT interpreter into Slicer.
Slicer_USE_PYTHONQT:BOOL=ON
//Enable PythonQt SSL support
Slicer_USE_PYTHONQT_WITH_OPENSSL:BOOL=OFF
//Enable PythonQt Tcl adapter layer
Slicer_USE_PYTHONQT_WITH_TCL:BOOL=OFF
//Integrate QtTesting framework into Slicer.
Slicer_USE_QtTesting:BOOL=ON
//Build Slicer with SimpleITK support
Slicer_USE_SimpleITK:BOOL=ON
//Build SimpleITK with shared libraries. Reduces linking time,
// increases run-time load time.
Slicer_USE_SimpleITK_SHARED:BOOL=ON
//Enable VTKs Debug Leaks functionality in both VTK and Slicer.
Slicer_USE_VTK_DEBUG_LEAKS:BOOL=ON
//Rendering backend.
Slicer_VTK_RENDERING_BACKEND:STRING=OpenGL2
//Which multi-threaded parallelism implementation to use in VTK.
// Options are Sequential or TBB.
Slicer_VTK_SMP_IMPLEMENTATION_TYPE:STRING=TBB
//The VTK major version (7 or 8).
Slicer_VTK_VERSION_MAJOR:STRING=8
//Build with library version information
Slicer_WITH_LIBRARY_VERSION:BOOL=OFF
//subversion command line client
Subversion_SVN_EXECUTABLE:FILEPATH=C:/Program Files/SlikSvn/bin/svn.exe
//Variable set by 'ExternalProject_Add_Source' based on VARS parameter.
USE_ANTS:BOOL=OFF
//Variable set by 'ExternalProject_Add_Source' based on VARS parameter.
USE_AutoWorkup:BOOL=OFF
//Variable set by 'ExternalProject_Add_Source' based on VARS parameter.
USE_BRAINSABC:BOOL=OFF
//Variable set by 'ExternalProject_Add_Source' based on VARS parameter.
USE_BRAINSConstellationDetector:BOOL=OFF
//Variable set by 'ExternalProject_Add_Source' based on VARS parameter.
USE_BRAINSContinuousClass:BOOL=OFF
//Variable set by 'ExternalProject_Add_Source' based on VARS parameter.
USE_BRAINSCreateLabelMapFromProbabilityMaps:BOOL=OFF
//Variable set by 'ExternalProject_Add_Source' based on VARS parameter.
USE_BRAINSCut:BOOL=OFF
//Variable set by 'ExternalProject_Add_Source' based on VARS parameter.
USE_BRAINSDemonWarp:BOOL=ON
//Variable set by 'ExternalProject_Add_Source' based on VARS parameter.
USE_BRAINSFit:BOOL=ON
//Variable set by 'ExternalProject_Add_Source' based on VARS parameter.
USE_BRAINSInitializedControlPoints:BOOL=OFF
//Variable set by 'ExternalProject_Add_Source' based on VARS parameter.
USE_BRAINSLandmarkInitializer:BOOL=OFF
//Variable set by 'ExternalProject_Add_Source' based on VARS parameter.
USE_BRAINSMultiModeSegment:BOOL=OFF
//Variable set by 'ExternalProject_Add_Source' based on VARS parameter.
USE_BRAINSMultiSTAPLE:BOOL=OFF
//Variable set by 'ExternalProject_Add_Source' based on VARS parameter.
USE_BRAINSMush:BOOL=OFF
//Variable set by 'ExternalProject_Add_Source' based on VARS parameter.
USE_BRAINSPosteriorToContinuousClass:BOOL=OFF
//Variable set by 'ExternalProject_Add_Source' based on VARS parameter.
USE_BRAINSROIAuto:BOOL=ON
//Variable set by 'ExternalProject_Add_Source' based on VARS parameter.
USE_BRAINSRefacer:BOOL=OFF
//Variable set by 'ExternalProject_Add_Source' based on VARS parameter.
USE_BRAINSResample:BOOL=ON
//Variable set by 'ExternalProject_Add_Source' based on VARS parameter.
USE_BRAINSSnapShotWriter:BOOL=OFF
//Variable set by 'ExternalProject_Add_Source' based on VARS parameter.
USE_BRAINSSurfaceTools:BOOL=OFF
//Variable set by 'ExternalProject_Add_Source' based on VARS parameter.
USE_BRAINSTalairach:BOOL=OFF
//Variable set by 'ExternalProject_Add_Source' based on VARS parameter.
USE_BRAINSTransformConvert:BOOL=ON
//Variable set by 'ExternalProject_Add_Source' based on VARS parameter.
USE_ConvertBetweenFileFormats:BOOL=OFF
//Variable set by 'ExternalProject_Add_Source' based on VARS parameter.
USE_DWIConvert:BOOL=ON
//Variable set by 'ExternalProject_Add_Source' based on VARS parameter.
USE_DebugImageViewer:BOOL=OFF
//Variable set by 'ExternalProject_Add_Source' based on VARS parameter.
USE_GTRACT:BOOL=OFF
//Variable set by 'ExternalProject_Add_Source' based on VARS parameter.
USE_ICCDEF:BOOL=OFF
//Variable set by 'ExternalProject_Add_Source' based on VARS parameter.
USE_ImageCalculator:BOOL=OFF
//Variable set by 'ExternalProject_Add_Source' based on VARS parameter.
USE_ReferenceAtlas:BOOL=OFF
//Enable/Disable coverage
WITH_COVERAGE:BOOL=OFF
########################
# INTERNAL cache entries
########################
//ADVANCED property for variable: ADDITIONAL_CXX_FLAGS
ADDITIONAL_CXX_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: ADDITIONAL_C_FLAGS
ADDITIONAL_C_FLAGS-ADVANCED:INTERNAL=1
//This is the directory where this CMakeCache.txt was created
CMAKE_CACHEFILE_DIR:INTERNAL=c:/S4.10D
//Major version of cmake used to create the current loaded cache
CMAKE_CACHE_MAJOR_VERSION:INTERNAL=3
//Minor version of cmake used to create the current loaded cache
CMAKE_CACHE_MINOR_VERSION:INTERNAL=14
//Patch version of cmake used to create the current loaded cache
CMAKE_CACHE_PATCH_VERSION:INTERNAL=3
//Path to CMake executable.
CMAKE_COMMAND:INTERNAL=C:/Program Files/CMake/bin/cmake.exe
//Path to cpack program executable.
CMAKE_CPACK_COMMAND:INTERNAL=C:/Program Files/CMake/bin/cpack.exe
//Path to ctest program executable.
CMAKE_CTEST_COMMAND:INTERNAL=C:/Program Files/CMake/bin/ctest.exe
//ADVANCED property for variable: CMAKE_CXX_FLAGS
CMAKE_CXX_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_FLAGS_DEBUG
CMAKE_CXX_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_FLAGS_MINSIZEREL
CMAKE_CXX_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_FLAGS_RELEASE
CMAKE_CXX_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_FLAGS_RELWITHDEBINFO
CMAKE_CXX_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_STANDARD_LIBRARIES
CMAKE_CXX_STANDARD_LIBRARIES-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_FLAGS
CMAKE_C_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_FLAGS_DEBUG
CMAKE_C_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_FLAGS_MINSIZEREL
CMAKE_C_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_FLAGS_RELEASE
CMAKE_C_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_FLAGS_RELWITHDEBINFO
CMAKE_C_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_STANDARD_LIBRARIES
CMAKE_C_STANDARD_LIBRARIES-ADVANCED:INTERNAL=1
//Executable file format
CMAKE_EXECUTABLE_FORMAT:INTERNAL=Unknown
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS
CMAKE_EXE_LINKER_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_DEBUG
CMAKE_EXE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_MINSIZEREL
CMAKE_EXE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELEASE
CMAKE_EXE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO
CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//Name of external makefile project generator.
CMAKE_EXTRA_GENERATOR:INTERNAL=
//Name of generator.
CMAKE_GENERATOR:INTERNAL=Visual Studio 15 2017
//Generator instance identifier.
CMAKE_GENERATOR_INSTANCE:INTERNAL=C:/Program Files (x86)/Microsoft Visual Studio/2017/Community
//Name of generator platform.
CMAKE_GENERATOR_PLATFORM:INTERNAL=x64
//Name of generator toolset.
CMAKE_GENERATOR_TOOLSET:INTERNAL=v140
//Source directory with the top level CMakeLists.txt file for this
// project
CMAKE_HOME_DIRECTORY:INTERNAL=C:/Slicer
//ADVANCED property for variable: CMAKE_LINKER
CMAKE_LINKER-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS
CMAKE_MODULE_LINKER_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_DEBUG
CMAKE_MODULE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL
CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELEASE
CMAKE_MODULE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO
CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MT
CMAKE_MT-ADVANCED:INTERNAL=1
//number of local generators
CMAKE_NUMBER_OF_MAKEFILES:INTERNAL=1
//Platform information initialized
CMAKE_PLATFORM_INFO_INITIALIZED:INTERNAL=1
//ADVANCED property for variable: CMAKE_RC_COMPILER
CMAKE_RC_COMPILER-ADVANCED:INTERNAL=1
CMAKE_RC_COMPILER_WORKS:INTERNAL=1
//ADVANCED property for variable: CMAKE_RC_FLAGS
CMAKE_RC_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_RC_FLAGS_DEBUG
CMAKE_RC_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_RC_FLAGS_MINSIZEREL
CMAKE_RC_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_RC_FLAGS_RELEASE
CMAKE_RC_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_RC_FLAGS_RELWITHDEBINFO
CMAKE_RC_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//Path to CMake installation.
CMAKE_ROOT:INTERNAL=C:/Program Files/CMake/share/cmake-3.14
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS
CMAKE_SHARED_LINKER_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_DEBUG
CMAKE_SHARED_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL
CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELEASE
CMAKE_SHARED_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO
CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//CHECK_TYPE_SIZE: sizeof(unsigned short)
CMAKE_SIZEOF_UNSIGNED_SHORT:INTERNAL=2
//ADVANCED property for variable: CMAKE_SKIP_INSTALL_RPATH
CMAKE_SKIP_INSTALL_RPATH-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SKIP_RPATH
CMAKE_SKIP_RPATH-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS
CMAKE_STATIC_LINKER_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_DEBUG
CMAKE_STATIC_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL
CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELEASE
CMAKE_STATIC_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO
CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_VERBOSE_MAKEFILE
CMAKE_VERBOSE_MAKEFILE-ADVANCED:INTERNAL=1
//Result of TEST_BIG_ENDIAN
CMAKE_WORDS_BIGENDIAN:INTERNAL=0
//ADVANCED property for variable: DOXYGEN_DOT_EXECUTABLE
DOXYGEN_DOT_EXECUTABLE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: DOXYGEN_EXECUTABLE
DOXYGEN_EXECUTABLE-ADVANCED:INTERNAL=1
//Details about finding Git
FIND_PACKAGE_MESSAGE_DETAILS_Git:INTERNAL=[C:/Program Files/Git/cmd/git.exe][v()]
//Details about finding Patch
FIND_PACKAGE_MESSAGE_DETAILS_Patch:INTERNAL=[C:/Program Files/Git/usr/bin/patch.exe][v()]
//Details about finding Subversion
FIND_PACKAGE_MESSAGE_DETAILS_Subversion:INTERNAL=[C:/Program Files/SlikSvn/bin/svn.exe][v1.9.7()]
//ADVANCED property for variable: GIT_EXECUTABLE
GIT_EXECUTABLE-ADVANCED:INTERNAL=1
//Result of TRY_COMPILE
HAVE_CMAKE_SIZEOF_UNSIGNED_SHORT:INTERNAL=TRUE
//Result of TRY_COMPILE
HAVE_CMAKE_WORDS_BIGENDIAN:INTERNAL=TRUE
//Have include stddef.h
HAVE_STDDEF_H:INTERNAL=1
//Have include stdint.h
HAVE_STDINT_H:INTERNAL=1
//Have include sys/types.h
HAVE_SYS_TYPES_H:INTERNAL=1
//ADVANCED property for variable: Slicer_BUILD_BRAINSTOOLS
Slicer_BUILD_BRAINSTOOLS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: Slicer_BUILD_CompareVolumes
Slicer_BUILD_CompareVolumes-ADVANCED:INTERNAL=1
//ADVANCED property for variable: Slicer_BUILD_DOCUMENTATION
Slicer_BUILD_DOCUMENTATION-ADVANCED:INTERNAL=1
//ADVANCED property for variable: Slicer_BUILD_DataStore
Slicer_BUILD_DataStore-ADVANCED:INTERNAL=1
//ADVANCED property for variable: Slicer_BUILD_LandmarkRegistration
Slicer_BUILD_LandmarkRegistration-ADVANCED:INTERNAL=1
//ADVANCED property for variable: Slicer_BUILD_MULTIVOLUME_SUPPORT
Slicer_BUILD_MULTIVOLUME_SUPPORT-ADVANCED:INTERNAL=1
//ADVANCED property for variable: Slicer_BUILD_MultiVolumeExplorer
Slicer_BUILD_MultiVolumeExplorer-ADVANCED:INTERNAL=1
//ADVANCED property for variable: Slicer_BUILD_MultiVolumeImporter
Slicer_BUILD_MultiVolumeImporter-ADVANCED:INTERNAL=1
//ADVANCED property for variable: Slicer_BUILD_QTLOADABLEMODULES
Slicer_BUILD_QTLOADABLEMODULES-ADVANCED:INTERNAL=1
//ADVANCED property for variable: Slicer_BUILD_QTSCRIPTEDMODULES
Slicer_BUILD_QTSCRIPTEDMODULES-ADVANCED:INTERNAL=1
//ADVANCED property for variable: Slicer_BUILD_SimpleFilters
Slicer_BUILD_SimpleFilters-ADVANCED:INTERNAL=1
//CMake supports HTTPS protocol
Slicer_CMake_HTTPS_Supported:INTERNAL=TRUE
//ADVANCED property for variable: Slicer_DEFAULT_FAVORITE_MODULES
Slicer_DEFAULT_FAVORITE_MODULES-ADVANCED:INTERNAL=1
//ADVANCED property for variable: Slicer_DEFAULT_HOME_MODULE
Slicer_DEFAULT_HOME_MODULE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: Slicer_DISCLAIMER_AT_STARTUP
Slicer_DISCLAIMER_AT_STARTUP-ADVANCED:INTERNAL=1
//ADVANCED property for variable: Slicer_FORCED_WC_LAST_CHANGED_DATE
Slicer_FORCED_WC_LAST_CHANGED_DATE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: Slicer_FORCED_WC_REVISION
Slicer_FORCED_WC_REVISION-ADVANCED:INTERNAL=1
//ADVANCED property for variable: Slicer_ORGANIZATION_DOMAIN
Slicer_ORGANIZATION_DOMAIN-ADVANCED:INTERNAL=1
//ADVANCED property for variable: Slicer_ORGANIZATION_NAME
Slicer_ORGANIZATION_NAME-ADVANCED:INTERNAL=1
//ADVANCED property for variable: Slicer_RELEASE_TYPE
Slicer_RELEASE_TYPE-ADVANCED:INTERNAL=1
//STRINGS property for variable: Slicer_RELEASE_TYPE
Slicer_RELEASE_TYPE-STRINGS:INTERNAL=Experimental;Preview;Stable
//ADVANCED property for variable: Slicer_SUPERBUILD
Slicer_SUPERBUILD-ADVANCED:INTERNAL=1
//ADVANCED property for variable: Slicer_USE_CTKAPPLAUNCHER
Slicer_USE_CTKAPPLAUNCHER-ADVANCED:INTERNAL=1
//ADVANCED property for variable: Slicer_USE_FOLDERS
Slicer_USE_FOLDERS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: Slicer_USE_QtTesting
Slicer_USE_QtTesting-ADVANCED:INTERNAL=1
//STRINGS property for variable: Slicer_VTK_SMP_IMPLEMENTATION_TYPE
Slicer_VTK_SMP_IMPLEMENTATION_TYPE-STRINGS:INTERNAL=Sequential;TBB
//STRINGS property for variable: Slicer_VTK_VERSION_MAJOR
Slicer_VTK_VERSION_MAJOR-STRINGS:INTERNAL=7;8
//ADVANCED property for variable: Slicer_WITH_LIBRARY_VERSION
Slicer_WITH_LIBRARY_VERSION-ADVANCED:INTERNAL=1
//ADVANCED property for variable: Subversion_SVN_EXECUTABLE
Subversion_SVN_EXECUTABLE-ADVANCED:INTERNAL=1
@jcfr I see the commit in the github master, but I don’t see the backported commit in the github master-410 branch. Maybe it was only done in the SVN master-410 branch?