build system: always build all tools

This commit is contained in:
Moritz Bunkus 2021-09-05 10:59:22 +02:00
parent afb7a10f34
commit 18c0dc6e70
No known key found for this signature in database
GPG Key ID: 74AF00ADF2E32C85
5 changed files with 9 additions and 11 deletions

View File

@ -53,6 +53,12 @@
a single one, also causing problems with erroneous timestamps. Mostly
affects DoVi NALUs. Fixes #3202.
## Build system changes
* The `tools` sub-directory is now always built. The corresponding `configure`
option `--with-tools` has been removed. The `install` target still doesn't
install them, though.
# Version 61.0.0 "So" 2021-08-30

View File

@ -73,7 +73,6 @@ def setup_globals
}
$build_mkvtoolnix_gui ||= c?(:BUILD_GUI)
$build_tools ||= c?(:BUILD_TOOLS)
$programs = %w{mkvmerge mkvinfo mkvextract mkvpropedit}
$programs << "mkvtoolnix-gui" if $build_mkvtoolnix_gui
@ -256,11 +255,10 @@ def define_default_task
desc "Build everything"
# The applications themselves
targets = $applications.clone
targets = $applications.clone
targets += $tools.map { |name| "src/tools/#{$application_subdirs[name]}#{name}" + c(:EXEEXT) }
targets << "apps:tools" if $build_tools
targets << "apps:tools:bluray_dump" if $building_for[:windows]
targets << "msix-assets" if $building_for[:windows] && !c(:CONVERT).empty?
targets << "msix-assets" if $building_for[:windows] && !c(:CONVERT).empty?
targets += (c(:ADDITIONAL_TARGETS) || '').split(%r{ +})
# Build the unit tests only if requested

View File

@ -1,4 +0,0 @@
AC_ARG_WITH(tools,[AS_HELP_STRING([--with-tools],[build the tools in the src/tools sub-directory (useful mainly for development)])],
[BUILD_TOOLS=yes],[BUILD_TOOLS=no])
AC_SUBST(BUILD_TOOLS)

View File

@ -142,7 +142,6 @@ USE_ADDRSAN = @USE_ADDRSAN@
USE_UBSAN = @USE_UBSAN@
USE_DVDREAD = @USE_DVDREAD@
BUILD_GUI = @BUILD_GUI@
BUILD_TOOLS = @BUILD_TOOLS@
BUILD_COMPILATION_DATABASE = no
TRANSLATIONS = @TRANSLATIONS@

View File

@ -50,7 +50,6 @@ m4_include(ac/dvdread.m4)
m4_include(ac/po4a.m4)
m4_include(ac/translations.m4)
m4_include(ac/manpages_translations.m4)
m4_include(ac/tools.m4)
AC_OUTPUT(build-config)