Merge topic 'build-KWIML-always'
38d3fe07 Tests: Build and test KWIML even when testing an external CMake
This commit is contained in:
commit
27fb86d72e
@ -200,12 +200,6 @@ endmacro()
|
|||||||
# Simply to improve readability of the main script.
|
# Simply to improve readability of the main script.
|
||||||
#-----------------------------------------------------------------------
|
#-----------------------------------------------------------------------
|
||||||
macro (CMAKE_BUILD_UTILITIES)
|
macro (CMAKE_BUILD_UTILITIES)
|
||||||
#---------------------------------------------------------------------
|
|
||||||
# Create the KWIML library for CMake.
|
|
||||||
set(KWIML cmIML)
|
|
||||||
set(KWIML_HEADER_ROOT ${CMake_BINARY_DIR}/Utilities)
|
|
||||||
add_subdirectory(Utilities/KWIML)
|
|
||||||
|
|
||||||
#---------------------------------------------------------------------
|
#---------------------------------------------------------------------
|
||||||
# Create the kwsys library for CMake.
|
# Create the kwsys library for CMake.
|
||||||
set(KWSYS_NAMESPACE cmsys)
|
set(KWSYS_NAMESPACE cmsys)
|
||||||
@ -465,6 +459,11 @@ if("x${CMAKE_TESTS_CDASH_SERVER}" STREQUAL "x")
|
|||||||
set(CMAKE_TESTS_CDASH_SERVER "http://open.cdash.org")
|
set(CMAKE_TESTS_CDASH_SERVER "http://open.cdash.org")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
# Create the KWIML library for CMake.
|
||||||
|
set(KWIML cmIML)
|
||||||
|
set(KWIML_HEADER_ROOT ${CMake_BINARY_DIR}/Utilities)
|
||||||
|
add_subdirectory(Utilities/KWIML)
|
||||||
|
|
||||||
if(NOT CMake_TEST_EXTERNAL_CMAKE)
|
if(NOT CMake_TEST_EXTERNAL_CMAKE)
|
||||||
# build the utilities (a macro defined in this file)
|
# build the utilities (a macro defined in this file)
|
||||||
CMAKE_BUILD_UTILITIES()
|
CMAKE_BUILD_UTILITIES()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user