[glibmm/kjellahl/meson-build-master] meson.build: Allow Visual Studio builds in GIT checkouts
- From: Chun-wei Fan <fanchunwei src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glibmm/kjellahl/meson-build-master] meson.build: Allow Visual Studio builds in GIT checkouts
- Date: Mon, 2 Mar 2020 09:37:39 +0000 (UTC)
commit 5691f7db4b7b82be3d99225b03756598aeb88dbb
Author: Chun-wei Fan <fanchunwei src gnome org>
Date: Mon Mar 2 12:27:38 2020 +0800
meson.build: Allow Visual Studio builds in GIT checkouts
It is now possible to build glibmm directly from GIT checkouts as long
as there is a working m4 executable (such as fomr Cygwin or MSYS64), so
we can allow builds directly from GIT checkouts.
meson.build | 4 ----
1 file changed, 4 deletions(-)
---
diff --git a/meson.build b/meson.build
index 8a676b57..e0f78dd3 100644
--- a/meson.build
+++ b/meson.build
@@ -72,10 +72,6 @@ sys.exit(os.path.isdir("@0@") or os.path.isfile("@0@"))
'''.format(project_source_root / '.git')
is_git_build = run_command(python3, '-c', cmd_py).returncode() != 0
-# 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 \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]