mirror of
https://github.com/NGSolve/netgen.git
synced 2024-11-11 16:49:16 +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,20 +8,27 @@ set (NETGEN_DEPENDENCIES)
|
||||
set (LAPACK_DEPENDENCIES)
|
||||
set (NETGEN_CMAKE_ARGS "" CACHE INTERNAL "")
|
||||
set (SUBPROJECT_CMAKE_ARGS "" CACHE INTERNAL "")
|
||||
|
||||
set (SUBPROJECT_ARGS
|
||||
LOG_DOWNLOAD ON
|
||||
LOG_BUILD ON
|
||||
LOG_INSTALL ON
|
||||
LOG_CONFIGURE ON
|
||||
LIST_SEPARATOR |
|
||||
PREFIX ${CMAKE_CURRENT_BINARY_DIR}/dependencies
|
||||
)
|
||||
if(${CMAKE_VERSION} VERSION_GREATER_EQUAL "3.14.0")
|
||||
|
||||
# only show output on failure in ci-builds
|
||||
if(DEFINED ENV{CI} AND WIN32)
|
||||
set (SUBPROJECT_ARGS
|
||||
${SUBPROJECT_ARGS}
|
||||
LOG_OUTPUT_ON_FAILURE 1
|
||||
LOG_MERGED_STDOUTERR 1
|
||||
LOG_DOWNLOAD ON
|
||||
LOG_BUILD ON
|
||||
LOG_INSTALL ON
|
||||
LOG_CONFIGURE ON
|
||||
)
|
||||
if(${CMAKE_VERSION} VERSION_GREATER_EQUAL "3.14.0")
|
||||
set (SUBPROJECT_ARGS
|
||||
${SUBPROJECT_ARGS}
|
||||
LOG_OUTPUT_ON_FAILURE ON
|
||||
LOG_MERGED_STDOUTERR ON
|
||||
)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user