summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorMichael Paquier2023-12-20 00:44:37 +0000
committerMichael Paquier2023-12-20 00:44:37 +0000
commit1301c80b2167feb658a738fa4ceb1c23d0991e23 (patch)
tree9a60980cee9beeb0d1dba5456916edf991dc84a2 /src/common
parent27f7f81e4c8d5d390ea212d13b65ada8e4a232cd (diff)
Remove MSVC scripts
This commit removes all the scripts located in src/tools/msvc/ to build PostgreSQL with Visual Studio on Windows, meson becoming the recommended way to achieve that. The scripts held some information that is still relevant with meson, information kept and moved to better locations. Comments that referred directly to the scripts are removed. All the documentation still relevant that was in install-windows.sgml has been moved to installation.sgml under a new subsection for Visual. All the content specific to the scripts is removed. Some adjustments for the documentation are planned in a follow-up set of changes. Author: Michael Paquier Reviewed-by: Peter Eisentraut, Andres Freund Discussion: https://postgr.es/m/ZQzp_VMJcerM1Cs_@paquier.xyz
Diffstat (limited to 'src/common')
-rw-r--r--src/common/Makefile11
-rw-r--r--src/common/meson.build9
2 files changed, 8 insertions, 12 deletions
diff --git a/src/common/Makefile b/src/common/Makefile
index 1092dc63df3..3f9067e0a2f 100644
--- a/src/common/Makefile
+++ b/src/common/Makefile
@@ -43,8 +43,6 @@ override CPPFLAGS += -DVAL_LIBS="\"$(LIBS)\""
override CPPFLAGS := -DFRONTEND -I. -I$(top_srcdir)/src/common $(CPPFLAGS)
LIBS += $(PTHREAD_LIBS)
-# If you add objects here, see also src/tools/msvc/Mkvcbuild.pm
-
OBJS_COMMON = \
archive.o \
base64.o \
@@ -99,11 +97,10 @@ OBJS_COMMON += \
sha2.o
endif
-# A few files are currently only built for frontend, not server
-# (Mkvcbuild.pm has a copy of this list, too). logging.c is excluded
-# from OBJS_FRONTEND_SHLIB (shared library) as a matter of policy,
-# because it is not appropriate for general purpose libraries such
-# as libpq to report errors directly.
+# A few files are currently only built for frontend, not server.
+# logging.c is excluded from OBJS_FRONTEND_SHLIB (shared library) as
+# a matter of policy, because it is not appropriate for general purpose
+# libraries such as libpq to report errors directly.
OBJS_FRONTEND_SHLIB = \
$(OBJS_COMMON) \
fe_memutils.o \
diff --git a/src/common/meson.build b/src/common/meson.build
index d52dd12bc94..84eb100f048 100644
--- a/src/common/meson.build
+++ b/src/common/meson.build
@@ -96,11 +96,10 @@ common_sources_cflags = {
}
-# A few files are currently only built for frontend, not server
-# (Mkvcbuild.pm has a copy of this list, too). logging.c is excluded
-# from OBJS_FRONTEND_SHLIB (shared library) as a matter of policy,
-# because it is not appropriate for general purpose libraries such
-# as libpq to report errors directly.
+# A few files are currently only built for frontend, not server.
+# logging.c is excluded from OBJS_FRONTEND_SHLIB (shared library) as
+# a matter of policy, because it is not appropriate for general purpose
+# libraries such as libpq to report errors directly.
common_sources_frontend_shlib = common_sources
common_sources_frontend_shlib += files(