mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2024-12-25 04:11:44 +00:00
build system: don't build tools by default but provide configure option
This commit is contained in:
parent
2fcc79b00c
commit
c2a74a8ebe
2
Rakefile
2
Rakefile
@ -124,7 +124,7 @@ def define_default_task
|
||||
# The applications themselves
|
||||
targets = $applications.clone
|
||||
|
||||
targets << "apps:tools"
|
||||
targets << "apps:tools" if c?(:BUILD_TOOLS)
|
||||
|
||||
# Build the unit tests only if requested
|
||||
targets << ($run_unit_tests ? 'tests:run_unit' : 'tests:unit') if $have_gtest
|
||||
|
4
ac/tools.m4
Normal file
4
ac/tools.m4
Normal file
@ -0,0 +1,4 @@
|
||||
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)
|
@ -136,6 +136,7 @@ ZLIB_LIBS = @ZLIB_LIBS@
|
||||
USE_WXWIDGETS = @USE_WXWIDGETS@
|
||||
USE_QT = @USE_QT@
|
||||
BUILD_MKVTOOLNIX_GUI = @BUILD_MKVTOOLNIX_GUI@
|
||||
BUILD_TOOLS = @BUILD_TOOLS@
|
||||
|
||||
TRANSLATIONS = @TRANSLATIONS@
|
||||
MANPAGES_TRANSLATIONS = @MANPAGES_TRANSLATIONS@
|
||||
|
@ -52,6 +52,7 @@ m4_include(ac/po4a.m4)
|
||||
m4_include(ac/translations.m4)
|
||||
m4_include(ac/manpages_translations.m4)
|
||||
m4_include(ac/guide_translations.m4)
|
||||
m4_include(ac/tools.m4)
|
||||
|
||||
AC_OUTPUT(build-config)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user