From a772248e1a2f0886d8479b2f14392f020ea8c6e0 Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Thu, 2 Apr 2020 01:07:35 +0200 Subject: Import the remaining utility files into VisualStudio project - The libcommon print verion function requires the PACKAGE_NAME and PACKAGE_VERSION defines. Those are added manually to the msvc stub of config.h. - Also, libcommon cannot directly include getopt.h - libfstree needs to change the return type for getline Signed-off-by: David Oberhollenzer --- lib/compat/Makemodule.am | 2 + lib/compat/libcompat.vcxproj | 171 +++++++++++++++++++++++++++++++++++ lib/compat/libcompat.vcxproj.filters | 41 +++++++++ 3 files changed, 214 insertions(+) create mode 100644 lib/compat/libcompat.vcxproj create mode 100644 lib/compat/libcompat.vcxproj.filters (limited to 'lib/compat') diff --git a/lib/compat/Makemodule.am b/lib/compat/Makemodule.am index 7137f2c..a54059e 100644 --- a/lib/compat/Makemodule.am +++ b/lib/compat/Makemodule.am @@ -4,3 +4,5 @@ libcompat_a_SOURCES += lib/compat/chdir.c include/compat.h libcompat_a_SOURCES += lib/compat/path_to_windows.c noinst_LIBRARIES += libcompat.a + +EXTRA_DIST += lib/compat/libcompat.vcxproj lib/compat/libcompat.vcxproj.filters diff --git a/lib/compat/libcompat.vcxproj b/lib/compat/libcompat.vcxproj new file mode 100644 index 0000000..b77a39c --- /dev/null +++ b/lib/compat/libcompat.vcxproj @@ -0,0 +1,171 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + Debug + x64 + + + Release + x64 + + + + 16.0 + {45DEC8F7-F154-4C3E-B616-A21FB3CA8CC2} + libcompat + 10.0 + + + + StaticLibrary + true + v142 + Unicode + + + StaticLibrary + false + v142 + true + Unicode + + + StaticLibrary + true + v142 + Unicode + + + StaticLibrary + false + v142 + true + Unicode + + + + + + + + + + + + + + + + + + + + + true + $(SolutionDir)$(Platform)\$(Configuration)\ + $(Platform)\$(Configuration)\ + + + true + + + false + $(SolutionDir)$(Platform)\$(Configuration)\ + $(Platform)\$(Configuration)\ + + + false + + + + Level3 + true + _DEBUG;_CONSOLE;%(PreprocessorDefinitions) + true + $(SolutionDir)\include\win32;$(SolutionDir)\include\;%(AdditionalIncludeDirectories) + $(IntDir)\%(RelativeDir) + CompileAsC + + + Console + true + + + + + Level3 + true + _DEBUG;_CONSOLE;%(PreprocessorDefinitions) + true + $(SolutionDir)\include\win32;$(SolutionDir)\include\;%(AdditionalIncludeDirectories) + $(IntDir)\%(RelativeDir) + CompileAsC + + + Console + true + + + + + Level3 + true + true + true + NDEBUG;_CONSOLE;%(PreprocessorDefinitions) + true + $(SolutionDir)\include\win32;$(SolutionDir)\include\;%(AdditionalIncludeDirectories) + $(IntDir)\%(RelativeDir) + CompileAsC + + + Console + true + true + true + + + + + Level3 + true + true + true + NDEBUG;_CONSOLE;%(PreprocessorDefinitions) + true + $(SolutionDir)\include\win32;$(SolutionDir)\include\;%(AdditionalIncludeDirectories) + $(IntDir)\%(RelativeDir) + CompileAsC + + + Console + true + true + true + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/lib/compat/libcompat.vcxproj.filters b/lib/compat/libcompat.vcxproj.filters new file mode 100644 index 0000000..aa169a5 --- /dev/null +++ b/lib/compat/libcompat.vcxproj.filters @@ -0,0 +1,41 @@ + + + + + {4FC737F1-C7A5-4376-A066-2A32D752A2FF} + cpp;c;cc;cxx;c++;def;odl;idl;hpj;bat;asm;asmx + + + {93995380-89BD-4b04-88EB-625FBE52EBFB} + h;hh;hpp;hxx;h++;hm;inl;inc;ipp;xsd + + + + + Source + + + Source + + + Source + + + Source + + + Source + + + Source + + + + + Headers + + + Headers + + + \ No newline at end of file -- cgit v1.2.3