msvc: remove .filters file
PATCH 1/1 msvc: remove .filters file
From: Lev Stipakov <[email protected]...>
Filters file defines custom logical folders in Solution Explorer. We don't use this functionality and it requires maintenance, so let's remove it.
While on it, remove dco linux files from VS project.
--- src/openvpn/openvpn.vcxproj | 5 +- src/openvpn/openvpn.vcxproj.filters | 574 ---------------------------- 2 files changed, 1 insertion(+), 578 deletions(-) delete mode 100644 src/openvpn/openvpn.vcxproj.filters
src/openvpn/openvpn.vcxproj +1 -4
@@ -277,7 +277,6 @@ <ClCompile Include="crypto_openssl.c" /> <ClCompile Include="cryptoapi.c" /> <ClCompile Include="dco.c" /> - <ClCompile Include="dco_linux.c" /> <ClCompile Include="dco_win.c" /> <ClCompile Include="dhcp.c" /> <ClCompile Include="dns.c" />
@@ -367,7 +366,6 @@ <ClInclude Include="cryptoapi.h" /> <ClInclude Include="dco.h" /> <ClInclude Include="dco_internal.h" /> - <ClInclude Include="dco_linux.h" /> <ClInclude Include="dco_win.h" /> <ClInclude Include="dhcp.h" /> <ClInclude Include="dns.h" />
@@ -403,7 +401,6 @@ <ClInclude Include="openvpn.h" /> <ClInclude Include="options.h" /> <ClInclude Include="otime.h" /> - <ClInclude Include="ovpn_dco_linux.h" /> <ClInclude Include="ovpn_dco_win.h" /> <ClInclude Include="packet_id.h" /> <ClInclude Include="perf.h" />
@@ -466,4 +463,4 @@ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> <ImportGroup Label="ExtensionTargets"> </ImportGroup> -</Project> +</Project>
src/openvpn/openvpn.vcxproj.filters deleted +0 -574
574 lines not on this page · raw message
Signature · 1 line
2.34.1
PATCH v2 1/1 msvc: remove .filters files
From: Lev Stipakov <[email protected]...>
Filters file defines custom logical folders in Solution Explorer. We don't use this functionality and it requires maintenance, so let's remove those.
While on it, remove dco linux files from VS project.
---
v2: remove .filters files from other projects
and makefiles.
src/compat/Makefile.am | 1 - src/compat/compat.vcxproj.filters | 39 -- src/openvpn/Makefile.am | 1 - src/openvpn/openvpn.vcxproj | 5 +- src/openvpn/openvpn.vcxproj.filters | 574 ------------------ src/openvpnmsica/Makefile.am | 1 - src/openvpnmsica/openvpnmsica.vcxproj.filters | 62 -- src/openvpnserv/Makefile.am | 3 +- src/openvpnserv/openvpnserv.vcxproj.filters | 53 -- src/tapctl/Makefile.am | 1 - src/tapctl/tapctl.vcxproj.filters | 49 -- 11 files changed, 2 insertions(+), 787 deletions(-) delete mode 100644 src/compat/compat.vcxproj.filters delete mode 100644 src/openvpn/openvpn.vcxproj.filters delete mode 100644 src/openvpnmsica/openvpnmsica.vcxproj.filters delete mode 100644 src/openvpnserv/openvpnserv.vcxproj.filters delete mode 100644 src/tapctl/tapctl.vcxproj.filters
src/compat/Makefile.am +0 -1
@@ -14,7 +14,6 @@ MAINTAINERCLEANFILES = \ EXTRA_DIST = \ compat.vcxproj \ - compat.vcxproj.filters \ PropertySheet.props \ Debug.props \ Release.props
src/compat/compat.vcxproj.filters deleted +0 -39
@@ -1,39 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> - <ItemGroup> - <Filter Include="Source Files"> - <UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier> - <Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions> - </Filter> - <Filter Include="Header Files"> - <UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier> - <Extensions>h;hpp;hxx;hm;inl;inc;xsd</Extensions> - </Filter> - <Filter Include="Resource Files"> - <UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier> - <Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav</Extensions> - </Filter> - </ItemGroup> - <ItemGroup> - <ClCompile Include="compat-basename.c"> - <Filter>Source Files</Filter> - </ClCompile> - <ClCompile Include="compat-dirname.c"> - <Filter>Source Files</Filter> - </ClCompile> - <ClCompile Include="compat-gettimeofday.c"> - <Filter>Source Files</Filter> - </ClCompile> - <ClCompile Include="compat-daemon.c"> - <Filter>Source Files</Filter> - </ClCompile> - <ClCompile Include="compat-strsep.c"> - <Filter>Source Files</Filter> - </ClCompile> - </ItemGroup> - <ItemGroup> - <ClInclude Include="compat.h"> - <Filter>Header Files</Filter> - </ClInclude> - </ItemGroup> -</Project>
src/openvpn/Makefile.am +0 -1
@@ -16,7 +16,6 @@ MAINTAINERCLEANFILES = \ EXTRA_DIST = \ openvpn.vcxproj \ - openvpn.vcxproj.filters \ openvpn.manifest AM_CPPFLAGS = \
src/openvpn/openvpn.vcxproj +1 -4
@@ -277,7 +277,6 @@ <ClCompile Include="crypto_openssl.c" /> <ClCompile Include="cryptoapi.c" /> <ClCompile Include="dco.c" /> - <ClCompile Include="dco_linux.c" /> <ClCompile Include="dco_win.c" /> <ClCompile Include="dhcp.c" /> <ClCompile Include="dns.c" />
@@ -367,7 +366,6 @@ <ClInclude Include="cryptoapi.h" /> <ClInclude Include="dco.h" /> <ClInclude Include="dco_internal.h" /> - <ClInclude Include="dco_linux.h" /> <ClInclude Include="dco_win.h" /> <ClInclude Include="dhcp.h" /> <ClInclude Include="dns.h" />
@@ -403,7 +401,6 @@ <ClInclude Include="openvpn.h" /> <ClInclude Include="options.h" /> <ClInclude Include="otime.h" /> - <ClInclude Include="ovpn_dco_linux.h" /> <ClInclude Include="ovpn_dco_win.h" /> <ClInclude Include="packet_id.h" /> <ClInclude Include="perf.h" />
@@ -466,4 +463,4 @@ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> <ImportGroup Label="ExtensionTargets"> </ImportGroup> -</Project> +</Project>
src/openvpn/openvpn.vcxproj.filters deleted +0 -574
574 lines not on this page · raw message
src/openvpnmsica/Makefile.am +0 -1
@@ -24,7 +24,6 @@ MAINTAINERCLEANFILES = $(srcdir)/Makefile.in EXTRA_DIST = \ openvpnmsica.vcxproj \ - openvpnmsica.vcxproj.filters \ openvpnmsica.props \ openvpnmsica-Debug.props \ openvpnmsica-Release.props
src/openvpnmsica/openvpnmsica.vcxproj.filters deleted +0 -62
63 lines not on this page · raw message
src/openvpnserv/Makefile.am +1 -2
@@ -14,8 +14,7 @@ include $(top_srcdir)/build/ltrc.inc MAINTAINERCLEANFILES = $(srcdir)/Makefile.in EXTRA_DIST = \ - openvpnserv.vcxproj \ - openvpnserv.vcxproj.filters + openvpnserv.vcxproj AM_CPPFLAGS = \ -I$(top_srcdir)/include -I$(top_srcdir)/src/openvpn -I$(top_srcdir)/src/compat
src/openvpnserv/openvpnserv.vcxproj.filters deleted +0 -53
54 lines not on this page · raw message
src/tapctl/Makefile.am +0 -1
@@ -24,7 +24,6 @@ MAINTAINERCLEANFILES = $(srcdir)/Makefile.in EXTRA_DIST = \ tapctl.vcxproj \ - tapctl.vcxproj.filters \ tapctl.props \ tapctl.exe.manifest
src/tapctl/tapctl.vcxproj.filters deleted +0 -49
50 lines not on this page · raw message
Signature · 1 line
2.23.0.windows.1
[Openvpn-devel] [PATCH applied] Re: msvc: remove .filters files
I have no idea what that stuff does, but it's not related to "openvpn code" (obviously), and getting rid of files that are only there - and need to maintained - for build functionality we do not use sounds like a good idea.
I have not tested anything, just verified the correlation between "Makefile.am" changes and ".filters removal"
Your patch has been applied to the master branch.
commit 25695c5537fa5464f49a809eae96d7de0d4ca33b
Author: Lev Stipakov Date: Mon Sep 5 14:56:39 2022 +0300
msvc: remove .filters files
Signed-off-by: Lev Stipakov <[email protected]...>
Acked-by: Gert Doering <[email protected]...>
Message-Id: <[email protected]...>
URL: https://www.mail-archive.com/[email protected]/msg25149.html
Signed-off-by: Gert Doering <[email protected]...>--
kind regards,
Gert Doering