mirror of
https://github.com/NGSolve/netgen.git
synced 2025-01-24 11:50:33 +05:00
Show more output during build
- show output in ci-builds only on failure
This commit is contained in:
parent
3910b29b0b
commit
d2f8910af2
@ -8,21 +8,28 @@ set (NETGEN_DEPENDENCIES)
|
|||||||
set (LAPACK_DEPENDENCIES)
|
set (LAPACK_DEPENDENCIES)
|
||||||
set (NETGEN_CMAKE_ARGS "" CACHE INTERNAL "")
|
set (NETGEN_CMAKE_ARGS "" CACHE INTERNAL "")
|
||||||
set (SUBPROJECT_CMAKE_ARGS "" CACHE INTERNAL "")
|
set (SUBPROJECT_CMAKE_ARGS "" CACHE INTERNAL "")
|
||||||
|
|
||||||
|
set (SUBPROJECT_ARGS
|
||||||
|
LIST_SEPARATOR |
|
||||||
|
PREFIX ${CMAKE_CURRENT_BINARY_DIR}/dependencies
|
||||||
|
)
|
||||||
|
|
||||||
|
# only show output on failure in ci-builds
|
||||||
|
if(DEFINED ENV{CI} AND WIN32)
|
||||||
set (SUBPROJECT_ARGS
|
set (SUBPROJECT_ARGS
|
||||||
LOG_DOWNLOAD ON
|
LOG_DOWNLOAD ON
|
||||||
LOG_BUILD ON
|
LOG_BUILD ON
|
||||||
LOG_INSTALL ON
|
LOG_INSTALL ON
|
||||||
LOG_CONFIGURE ON
|
LOG_CONFIGURE ON
|
||||||
LIST_SEPARATOR |
|
|
||||||
PREFIX ${CMAKE_CURRENT_BINARY_DIR}/dependencies
|
|
||||||
)
|
)
|
||||||
if(${CMAKE_VERSION} VERSION_GREATER_EQUAL "3.14.0")
|
if(${CMAKE_VERSION} VERSION_GREATER_EQUAL "3.14.0")
|
||||||
set (SUBPROJECT_ARGS
|
set (SUBPROJECT_ARGS
|
||||||
${SUBPROJECT_ARGS}
|
${SUBPROJECT_ARGS}
|
||||||
LOG_OUTPUT_ON_FAILURE 1
|
LOG_OUTPUT_ON_FAILURE ON
|
||||||
LOG_MERGED_STDOUTERR 1
|
LOG_MERGED_STDOUTERR ON
|
||||||
)
|
)
|
||||||
endif()
|
endif()
|
||||||
|
endif()
|
||||||
|
|
||||||
|
|
||||||
set (NETGEN_CMAKE_PREFIX_PATH ${CMAKE_PREFIX_PATH} )
|
set (NETGEN_CMAKE_PREFIX_PATH ${CMAKE_PREFIX_PATH} )
|
||||||
|
Loading…
Reference in New Issue
Block a user