mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-01 15:03:39 +02:00
build: Drop Visual Studio projects
In master, it is already possible to build GLib using Visual Studio using Meson[1] for some time, so we should focus on maintaining only the Meson build files for building GLib with Visual Studio. [1]: There are caveats when building with Visual Studio 2008, namely that one needs to use the mt command to embed the manifests that are generated with the .exe/DLLs, for all builds, and that in the case where the compilation hangs on Visual Studio 2008 x64, as a workaround, should stop the build by terminating all cl.exe tasks and change the compiler optimization flag from /O2 (full speed) to /O1 (optimize for size), due to compiler optimization issues.
This commit is contained in:
committed by
Chun-wei Fan
parent
b4259dec70
commit
f658e94e65
@@ -973,43 +973,7 @@ gio_LDADD = libgio-2.0.la \
|
||||
$(top_builddir)/glib/libglib-2.0.la \
|
||||
$(NULL)
|
||||
|
||||
# ------------------------------------------------------------------------
|
||||
# ------ MSVC Project File Generation ------
|
||||
# ------------------------------------------------------------------------
|
||||
#
|
||||
MSVCPROJS = gio glib-compile-resources glib-compile-schemas gio-tool
|
||||
|
||||
gio_FILES = \
|
||||
$(gio_base_sources) \
|
||||
$(win32_actual_sources) \
|
||||
$(win32_more_sources_for_vcproj) \
|
||||
$(settings_base_sources) \
|
||||
$(win32_settings_sources)
|
||||
|
||||
gio_EXCLUDES = dummy
|
||||
|
||||
gio_HEADERS_DIR = $(includedir)/glib-2.0/gio
|
||||
gio_HEADERS_INST = $(gioinclude_HEADERS) $(nodist_gioinclude_HEADERS)
|
||||
gio_HEADERS_EXCLUDES = dummy
|
||||
|
||||
glib_compile_resources_FILES = $(glib_compile_resources_SOURCES)
|
||||
glib_compile_resources_EXCLUDES = dummy
|
||||
|
||||
glib_compile_schemas_FILES = $(glib_compile_schemas_SOURCES)
|
||||
glib_compile_schemas_EXCLUDES = dummy
|
||||
|
||||
gio_tool_FILES = $(gio_SOURCES)
|
||||
gio_tool_EXCLUDES = dummy
|
||||
|
||||
include $(top_srcdir)/win32/Makefile.msvcproj
|
||||
|
||||
dist-hook: \
|
||||
$(BUILT_EXTRA_DIST) \
|
||||
$(top_builddir)/win32/vs9/gio.vcproj \
|
||||
$(top_builddir)/win32/vs9/gio.headers \
|
||||
$(top_builddir)/win32/vs9/glib-compile-schemas.vcproj \
|
||||
$(top_builddir)/win32/vs9/glib-compile-resources.vcproj \
|
||||
$(top_builddir)/win32/vs9/gio-tool.vcproj
|
||||
dist-hook: $(BUILT_EXTRA_DIST)
|
||||
files='$(BUILT_EXTRA_DIST)'; \
|
||||
for f in $$files; do \
|
||||
if test -f $$f; then d=.; else d=$(srcdir); fi; \
|
||||
|
Reference in New Issue
Block a user