Skip to content

Commit 87a933d

Browse files
fanc999-1kjellahl
authored andcommitted
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.
1 parent 1eed1d0 commit 87a933d

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

meson.build

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,6 @@ is_git_build = run_command(python3, '-c', cmd_py).returncode() == 0
5959
# is_git_build = run_command('test', '-d', project_source_root / '.git').returncode() == 0
6060
# Python code can be used in all operating sytems where Meson can run.
6161

62-
# Unfortunately due to m4 requirements, we cannot support MSVC builds
63-
# directly from GIT checkouts
64-
assert(not is_msvc or not is_git_build, 'Direct builds from GIT is not supported for MSVC builds')
65-
6662
# Options.
6763
maintainer_mode_opt = get_option('maintainer-mode')
6864
maintainer_mode = maintainer_mode_opt == 'true' or \

0 commit comments

Comments
 (0)