Commit d6625f77 authored by Ben Boeckel's avatar Ben Boeckel Committed by Kitware Robot

Merge topic 'shorten-paths'

2381dfed SuperbuildMacros: move the source and build trees
Acked-by: Kitware Robot's avatarKitware Robot <>
Merge-request: !63
parents ccb37ea4 2381dfed
function (project_ignore_regexes variable project)
list(APPEND exceptions
string(TOLOWER "${project}" lower_project)
if ((APPLE OR WIN32) AND (NOT lower_project STREQUAL project))
if (WIN32)
list(APPEND exceptions
else ()
list(APPEND exceptions
endif ()
endif ()
......@@ -659,11 +659,20 @@ function (_superbuild_add_project_internal name)
endif ()
set(binary_dir BINARY_DIR "${name}/build")
list(FIND ARGN "BUILD_IN_SOURCE" in_source)
if (in_source GREATER -1)
endif ()
# ARGN needs to be quoted so that empty list items aren't removed if
# that happens options like INSTALL_COMMAND "" won't work
_superbuild_ExternalProject_add(${name} "${ARGN}"
PREFIX "${name}"
DOWNLOAD_DIR "${superbuild_download_location}"
STAMP_DIR "${name}/stamp"
SOURCE_DIR "${name}/src"
INSTALL_DIR "${superbuild_install_location}"
# add url/mdf/git-repo etc. specified in versions.cmake
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment