mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-07-30 05:43:28 +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
@@ -217,19 +217,7 @@ gobject.def: libgobject-2.0.la
|
||||
gobject-2.0.lib: libgobject-2.0.la gobject.def
|
||||
$(AM_V_GEN) lib.exe -machine:@LIB_EXE_MACHINE_FLAG@ -name:libgobject-2.0-$(LT_CURRENT_MINUS_AGE).dll -def:$(builddir)/gobject.def -out:$@
|
||||
|
||||
# ------ MSVC Project File Generation ------
|
||||
MSVCPROJS = gobject
|
||||
|
||||
gobject_FILES = $(libgobject_2_0_la_SOURCES)
|
||||
gobject_EXCLUDES = dummy
|
||||
|
||||
gobject_HEADERS_DIR = $(libgobjectincludedir)
|
||||
gobject_HEADERS_INST = $(gobject_public_h_sources)
|
||||
gobject_HEADERS_EXCLUDES = dummy
|
||||
|
||||
include $(top_srcdir)/win32/Makefile.msvcproj
|
||||
|
||||
dist-hook: $(BUILT_EXTRA_DIST) $(top_builddir)/win32/vs9/gobject.vcproj $(top_builddir)/win32/vs9/gobject.headers
|
||||
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