summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChun-wei Fan <fanchunwei@src.gnome.org>2019-12-26 15:54:01 +0800
committerKjell Ahlstedt <kjellahlstedt@gmail.com>2019-12-29 18:12:25 +0100
commit87a933d053c51d128f0d6b16327b484680e8b57a (patch)
treefe5b6d6d6170fa4894082d2633be35f4b8c4cab6
parent1eed1d0f6ef27f8c052349c64dce6c0ef9714d38 (diff)
downloadsigc++-87a933d053c51d128f0d6b16327b484680e8b57a.tar.gz
Meson/MSVC: Support builds directly from GIT checkouts
It appears that if one uses the m4 that is given by mingw-w64 (and perhaps Cygwin), that m4 is enough to generate the sources and headers that we need for the build. So, remove the lines saying building directly from GIT checkouts are not supported.
-rw-r--r--meson.build4
1 files changed, 0 insertions, 4 deletions
diff --git a/meson.build b/meson.build
index c288f63..f08b3e2 100644
--- a/meson.build
+++ b/meson.build
@@ -59,10 +59,6 @@ is_git_build = run_command(python3, '-c', cmd_py).returncode() == 0
# is_git_build = run_command('test', '-d', project_source_root / '.git').returncode() == 0
# Python code can be used in all operating sytems where Meson can run.
-# Unfortunately due to m4 requirements, we cannot support MSVC builds
-# directly from GIT checkouts
-assert(not is_msvc or not is_git_build, 'Direct builds from GIT is not supported for MSVC builds')
-
# Options.
maintainer_mode_opt = get_option('maintainer-mode')
maintainer_mode = maintainer_mode_opt == 'true' or \