build: make release build quieter
Silence output of nuget commands used to get gettext tools for the Windows build. Remove Objective-C++ source files (.mm extension) from the list of all sources passed to xgettext to silence the warning about the file type being unrecognized. These do not have any strings that need to be translated. Signed-off-by: Rafael Kitover <rkitover@gmail.com>
This commit is contained in:
parent
6a4115ca45
commit
0a96d84581
|
@ -555,12 +555,14 @@ if(ENABLE_NLS)
|
||||||
# Add nuget package source.
|
# Add nuget package source.
|
||||||
execute_process(
|
execute_process(
|
||||||
COMMAND nuget sources add -Name "NuGet official package source" -Source "https://api.nuget.org/v3/index.json"
|
COMMAND nuget sources add -Name "NuGet official package source" -Source "https://api.nuget.org/v3/index.json"
|
||||||
|
OUTPUT_QUIET
|
||||||
WORKING_DIRECTORY ${CMAKE_BINARY_DIR}
|
WORKING_DIRECTORY ${CMAKE_BINARY_DIR}
|
||||||
)
|
)
|
||||||
|
|
||||||
# Install the Gettext.Tools package.
|
# Install the Gettext.Tools package.
|
||||||
execute_process(
|
execute_process(
|
||||||
COMMAND nuget.exe install Gettext.Tools -OutputDirectory ${CMAKE_BINARY_DIR}/nuget
|
COMMAND nuget.exe install Gettext.Tools -OutputDirectory ${CMAKE_BINARY_DIR}/nuget
|
||||||
|
OUTPUT_QUIET
|
||||||
WORKING_DIRECTORY ${CMAKE_BINARY_DIR}
|
WORKING_DIRECTORY ${CMAKE_BINARY_DIR}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -778,8 +780,6 @@ set(
|
||||||
|
|
||||||
set(ALL_SRC_WX ${SRC_WX})
|
set(ALL_SRC_WX ${SRC_WX})
|
||||||
|
|
||||||
list(APPEND ALL_SRC_WX ${CMAKE_CURRENT_SOURCE_DIR}/macsupport.mm)
|
|
||||||
list(APPEND ALL_SRC_WX ${CMAKE_CURRENT_SOURCE_DIR}/widgets/dpi-support-mac.mm)
|
|
||||||
list(APPEND ALL_SRC_WX ${CMAKE_CURRENT_SOURCE_DIR}/widgets/dpi-support.cpp)
|
list(APPEND ALL_SRC_WX ${CMAKE_CURRENT_SOURCE_DIR}/widgets/dpi-support.cpp)
|
||||||
|
|
||||||
if(APPLE)
|
if(APPLE)
|
||||||
|
@ -845,7 +845,6 @@ endif()
|
||||||
# make files included for gettext pot generation
|
# make files included for gettext pot generation
|
||||||
list(APPEND ALL_HDR_WX autoupdater/autoupdater.h)
|
list(APPEND ALL_HDR_WX autoupdater/autoupdater.h)
|
||||||
list(APPEND ALL_SRC_WX autoupdater/macos/autoupdater.cpp)
|
list(APPEND ALL_SRC_WX autoupdater/macos/autoupdater.cpp)
|
||||||
list(APPEND ALL_SRC_WX autoupdater/macos/sparkle-wrapper.mm)
|
|
||||||
list(APPEND ALL_HDR_WX autoupdater/macos/sparkle-wrapper.h)
|
list(APPEND ALL_HDR_WX autoupdater/macos/sparkle-wrapper.h)
|
||||||
|
|
||||||
if(APPLE AND ENABLE_ONLINEUPDATES)
|
if(APPLE AND ENABLE_ONLINEUPDATES)
|
||||||
|
|
Loading…
Reference in New Issue