Commit d83c87a1 authored by Ghislain MARY's avatar Ghislain MARY

Redirect autotools build logs to file on all platforms.

parent 55ec585f
......@@ -512,6 +512,7 @@ function(linphone_builder_add_project PROJNAME)
set(ep_install_target "${EP_${PROJNAME}_INSTALL_TARGET}")
endif("${EP_${PROJNAME}_INSTALL_TARGET}" STREQUAL "")
set(ep_redirect_to_file "2>&1 >> ${CMAKE_CURRENT_BINARY_DIR}/EP_${PROJNAME}.log")
if(WIN32)
set(SCRIPT_EXTENSION bat)
set(MSVC_PROJNAME ${PROJNAME})
......@@ -520,7 +521,6 @@ function(linphone_builder_add_project PROJNAME)
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/cmake/mingw_install.bat.cmake ${CMAKE_CURRENT_BINARY_DIR}/EP_${PROJNAME}_install.bat)
# Build in source with MinGW as build out-of-source does not work
set(ep_build ${ep_source})
set(ep_redirect_to_file "2>&1 >> ${CMAKE_CURRENT_BINARY_DIR}/EP_${PROJNAME}.log")
if(NOT "${ep_autogen_command}" STREQUAL "")
set(ep_autogen_redirect_to_file ${ep_redirect_to_file})
endif()
......
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