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/util/Makemodule.am | 2 + lib/util/libutil.vcxproj | 171 +++++++++++++++++++++++++++++++++++++++ lib/util/libutil.vcxproj.filters | 41 ++++++++++ 3 files changed, 214 insertions(+) create mode 100644 lib/util/libutil.vcxproj create mode 100644 lib/util/libutil.vcxproj.filters (limited to 'lib/util') diff --git a/lib/util/Makemodule.am b/lib/util/Makemodule.am index 5cff2dd..f3ce23d 100644 --- a/lib/util/Makemodule.am +++ b/lib/util/Makemodule.am @@ -6,3 +6,5 @@ libutil_a_CFLAGS = $(AM_CFLAGS) libutil_a_CPPFLAGS = $(AM_CPPFLAGS) noinst_LIBRARIES += libutil.a + +EXTRA_DIST += lib/util/libutil.vcxproj lib/util/libutil.vcxproj.filters diff --git a/lib/util/libutil.vcxproj b/lib/util/libutil.vcxproj new file mode 100644 index 0000000..f70bc3b --- /dev/null +++ b/lib/util/libutil.vcxproj @@ -0,0 +1,171 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + Debug + x64 + + + Release + x64 + + + + 16.0 + {E25396A6-AF76-4695-BA23-01D88009B7EC} + libutil + 10.0 + + + + StaticLibrary + true + v142 + Unicode + + + StaticLibrary + false + v142 + true + Unicode + + + StaticLibrary + true + v142 + Unicode + + + StaticLibrary + false + v142 + true + Unicode + + + + + + + + + + + + + + + + + + + + + false + + + true + $(SolutionDir)$(Platform)\$(Configuration)\ + $(Platform)\$(Configuration)\ + + + true + + + false + $(SolutionDir)$(Platform)\$(Configuration)\ + $(Platform)\$(Configuration)\ + + + + Level3 + true + true + true + NDEBUG;_CONSOLE;%(PreprocessorDefinitions) + true + $(SolutionDir)\include\win32;$(SolutionDir)\include;%(AdditionalIncludeDirectories) + $(IntDir)\%(RelativeDir) + CompileAsC + + + Console + true + true + true + + + + + 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 + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/lib/util/libutil.vcxproj.filters b/lib/util/libutil.vcxproj.filters new file mode 100644 index 0000000..a1e95ff --- /dev/null +++ b/lib/util/libutil.vcxproj.filters @@ -0,0 +1,41 @@ + + + + + {93995380-89BD-4b04-88EB-625FBE52EBFB} + h;hh;hpp;hxx;h++;hm;inl;inc;ipp;xsd + + + {4FC737F1-C7A5-4376-A066-2A32D752A2FF} + cpp;c;cc;cxx;c++;def;odl;idl;hpj;bat;asm;asmx + + + + + Source + + + Source + + + Source + + + Source + + + + + Headers + + + Headers + + + Headers + + + Headers + + + \ No newline at end of file -- cgit v1.2.3