From 2da9e83a1e5a24b7802435c40fe64593dc422e9f Mon Sep 17 00:00:00 2001 From: Ivan Gagis Date: Fri, 8 Nov 2024 15:04:42 +0200 Subject: [PATCH] msvs --- android/veg/build.gradle | 1 - debian/control.in | 2 +- msvs_solution/libveg/libveg.vcxproj | 958 ++++++++++++++++++ msvs_solution/libveg/libveg.vcxproj.filters | 27 + msvs_solution/libveg/libveg.vcxproj.user | 4 + msvs_solution/libveg/packages.config | 11 + msvs_solution/msvs_solution.sln | 192 ++++ msvs_solution/unit_tests/packages.config | 15 + msvs_solution/unit_tests/unit_tests.vcxproj | 771 ++++++++++++++ .../unit_tests/unit_tests.vcxproj.filters | 46 + .../unit_tests/unit_tests.vcxproj.user | 4 + nuget/build_nuget.ps1 | 85 ++ nuget/nuget.autopkg.in | 130 +++ tests/makefile | 3 + tests/unit/makefile | 21 + tests/unit/src/basic.cpp | 8 + 16 files changed, 2276 insertions(+), 2 deletions(-) create mode 100644 msvs_solution/libveg/libveg.vcxproj create mode 100644 msvs_solution/libveg/libveg.vcxproj.filters create mode 100755 msvs_solution/libveg/libveg.vcxproj.user create mode 100755 msvs_solution/libveg/packages.config create mode 100644 msvs_solution/msvs_solution.sln create mode 100644 msvs_solution/unit_tests/packages.config create mode 100644 msvs_solution/unit_tests/unit_tests.vcxproj create mode 100644 msvs_solution/unit_tests/unit_tests.vcxproj.filters create mode 100644 msvs_solution/unit_tests/unit_tests.vcxproj.user create mode 100644 nuget/build_nuget.ps1 create mode 100644 nuget/nuget.autopkg.in create mode 100644 tests/makefile create mode 100644 tests/unit/makefile create mode 100644 tests/unit/src/basic.cpp diff --git a/android/veg/build.gradle b/android/veg/build.gradle index a5e917a..306979a 100755 --- a/android/veg/build.gradle +++ b/android/veg/build.gradle @@ -50,7 +50,6 @@ repositories { } dependencies { implementation 'io.github.cppfw:utki:+' - implementation 'io.github.cppfw:svgdom:+' implementation 'io.github.cppfw:agg:+' implementation 'io.github.cppfw:rasterimage:+' } diff --git a/debian/control.in b/debian/control.in index bad494f..aa5f728 100644 --- a/debian/control.in +++ b/debian/control.in @@ -36,7 +36,7 @@ Package: libveg-dev Section: libdevel Architecture: any Depends: libveg$(soname) (= ${binary:Version}), ${misc:Depends}, - libsvgdom-dev, libr4-dev + libr4-dev, librasterimage-dev Suggests: libveg-doc Description: cross-platform C++ vector graphics library. Vector graphics library. diff --git a/msvs_solution/libveg/libveg.vcxproj b/msvs_solution/libveg/libveg.vcxproj new file mode 100644 index 0000000..44f0ca2 --- /dev/null +++ b/msvs_solution/libveg/libveg.vcxproj @@ -0,0 +1,958 @@ + + + + + v140_Debug + Win32 + + + v140_Release + Win32 + + + v140_Debug + x64 + + + v140_Release + x64 + + + v141_Debug + Win32 + + + v141_Debug + x64 + + + v141_Release + Win32 + + + v141_Release + x64 + + + v142_Debug_MD + Win32 + + + v142_Debug_MD + x64 + + + v142_Debug_MT + Win32 + + + v142_Debug_MT + x64 + + + v142_Release_MD + Win32 + + + v142_Release_MD + x64 + + + v142_Release_MT + Win32 + + + v142_Release_MT + x64 + + + v143_Debug_MD + Win32 + + + v143_Debug_MD + x64 + + + v143_Debug_MT + Win32 + + + v143_Debug_MT + x64 + + + v143_Release_MD + Win32 + + + v143_Release_MD + x64 + + + v143_Release_MT + Win32 + + + v143_Release_MT + x64 + + + + {8C7D8E1D-25CE-4365-A772-18643E6D52E8} + Win32Proj + libveg + 10.0.19041.0 + + + + StaticLibrary + true + v140 + MultiByte + + + StaticLibrary + true + v141 + MultiByte + + + StaticLibrary + true + v142 + MultiByte + + + StaticLibrary + true + v143 + MultiByte + + + StaticLibrary + true + v142 + MultiByte + + + StaticLibrary + true + v143 + MultiByte + + + StaticLibrary + false + v140 + true + MultiByte + + + StaticLibrary + false + v141 + true + MultiByte + + + StaticLibrary + false + v142 + true + MultiByte + + + StaticLibrary + false + v143 + true + MultiByte + + + StaticLibrary + false + v142 + true + MultiByte + + + StaticLibrary + false + v143 + true + MultiByte + + + StaticLibrary + true + v140 + MultiByte + + + StaticLibrary + true + v141 + MultiByte + + + StaticLibrary + true + v142 + MultiByte + + + StaticLibrary + true + v143 + MultiByte + + + StaticLibrary + true + v142 + MultiByte + + + StaticLibrary + true + v143 + MultiByte + + + StaticLibrary + false + v140 + true + MultiByte + + + StaticLibrary + false + v141 + true + MultiByte + + + StaticLibrary + false + v142 + true + MultiByte + + + StaticLibrary + false + v143 + true + MultiByte + + + StaticLibrary + false + v142 + true + MultiByte + + + StaticLibrary + false + v143 + true + MultiByte + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + MultiThreadedDebugDLL + + + MultiThreadedDebugDLL + + + MultiThreadedDebugDLL + + + MultiThreadedDebugDLL + + + MultiThreadedDebug + + + MultiThreadedDebug + + + MultiThreadedDebug + + + MultiThreadedDebug + + + MultiThreadedDLL + + + MultiThreadedDLL + + + MultiThreadedDLL + + + MultiThreadedDLL + + + MultiThreaded + + + MultiThreaded + + + MultiThreaded + + + MultiThreaded + + + + + + Level3 + Disabled + WIN32;_DEBUG;_LIB;%(PreprocessorDefinitions);_USE_MATH_DEFINES + %(AdditionalIncludeDirectories) + OldStyle + false + + + Windows + true + + + false + + + + + + + Level3 + Disabled + WIN32;_DEBUG;_LIB;%(PreprocessorDefinitions);_USE_MATH_DEFINES + %(AdditionalIncludeDirectories) + OldStyle + false + stdcpp17 + + + Windows + true + + + false + + + + + + + Level3 + Disabled + WIN32;_DEBUG;_LIB;%(PreprocessorDefinitions);_USE_MATH_DEFINES + %(AdditionalIncludeDirectories) + OldStyle + false + stdcpp17 + + + Windows + true + + + false + + + + + + + Level3 + Disabled + WIN32;_DEBUG;_LIB;%(PreprocessorDefinitions);_USE_MATH_DEFINES + %(AdditionalIncludeDirectories) + OldStyle + false + stdcpp17 + + + Windows + true + + + false + + + + + + + Level3 + Disabled + WIN32;_DEBUG;_LIB;%(PreprocessorDefinitions);_USE_MATH_DEFINES + %(AdditionalIncludeDirectories) + OldStyle + false + MultiThreadedDebug + stdcpp17 + + + Windows + true + + + false + + + + + + + Level3 + Disabled + WIN32;_DEBUG;_LIB;%(PreprocessorDefinitions);_USE_MATH_DEFINES + %(AdditionalIncludeDirectories) + OldStyle + false + MultiThreadedDebug + stdcpp17 + + + Windows + true + + + false + + + + + + + Level3 + Disabled + _DEBUG;_LIB;%(PreprocessorDefinitions);_USE_MATH_DEFINES + %(AdditionalIncludeDirectories) + OldStyle + false + + + Windows + true + + + false + + + + + + + Level3 + Disabled + _DEBUG;_LIB;%(PreprocessorDefinitions);_USE_MATH_DEFINES + %(AdditionalIncludeDirectories) + OldStyle + false + stdcpp17 + + + Windows + true + + + false + + + + + + + Level3 + Disabled + _DEBUG;_LIB;%(PreprocessorDefinitions);_USE_MATH_DEFINES + %(AdditionalIncludeDirectories) + OldStyle + false + stdcpp17 + + + Windows + true + + + false + + + + + + + Level3 + Disabled + _DEBUG;_LIB;%(PreprocessorDefinitions);_USE_MATH_DEFINES + %(AdditionalIncludeDirectories) + OldStyle + false + stdcpp17 + + + Windows + true + + + false + + + + + + + Level3 + Disabled + _DEBUG;_LIB;%(PreprocessorDefinitions);_USE_MATH_DEFINES + %(AdditionalIncludeDirectories) + OldStyle + false + MultiThreadedDebug + stdcpp17 + + + Windows + true + + + false + + + + + + + Level3 + Disabled + _DEBUG;_LIB;%(PreprocessorDefinitions);_USE_MATH_DEFINES + %(AdditionalIncludeDirectories) + OldStyle + false + MultiThreadedDebug + stdcpp17 + + + Windows + true + + + false + + + + + Level3 + + + MaxSpeed + true + true + WIN32;NDEBUG;_LIB;%(PreprocessorDefinitions);_USE_MATH_DEFINES + %(AdditionalIncludeDirectories) + OldStyle + false + + + Windows + true + true + true + + + false + + + + + Level3 + + + MaxSpeed + true + true + WIN32;NDEBUG;_LIB;%(PreprocessorDefinitions);_USE_MATH_DEFINES + %(AdditionalIncludeDirectories) + OldStyle + false + stdcpp17 + + + Windows + true + true + true + + + false + + + + + Level3 + + + MaxSpeed + true + true + WIN32;NDEBUG;_LIB;%(PreprocessorDefinitions);_USE_MATH_DEFINES + %(AdditionalIncludeDirectories) + OldStyle + false + stdcpp17 + + + Windows + true + true + true + + + false + + + + + Level3 + + + MaxSpeed + true + true + WIN32;NDEBUG;_LIB;%(PreprocessorDefinitions);_USE_MATH_DEFINES + %(AdditionalIncludeDirectories) + OldStyle + false + stdcpp17 + + + Windows + true + true + true + + + false + + + + + Level3 + + + MaxSpeed + true + true + WIN32;NDEBUG;_LIB;%(PreprocessorDefinitions);_USE_MATH_DEFINES + %(AdditionalIncludeDirectories) + OldStyle + false + MultiThreaded + stdcpp17 + + + Windows + true + true + true + + + false + + + + + Level3 + + + MaxSpeed + true + true + WIN32;NDEBUG;_LIB;%(PreprocessorDefinitions);_USE_MATH_DEFINES + %(AdditionalIncludeDirectories) + OldStyle + false + MultiThreaded + stdcpp17 + + + Windows + true + true + true + + + false + + + + + Level3 + + + MaxSpeed + true + true + NDEBUG;_LIB;%(PreprocessorDefinitions);_USE_MATH_DEFINES + %(AdditionalIncludeDirectories) + OldStyle + false + + + Windows + true + true + true + + + false + + + + + Level3 + + + MaxSpeed + true + true + NDEBUG;_LIB;%(PreprocessorDefinitions);_USE_MATH_DEFINES + %(AdditionalIncludeDirectories) + OldStyle + false + stdcpp17 + + + Windows + true + true + true + + + false + + + + + Level3 + + + MaxSpeed + true + true + NDEBUG;_LIB;%(PreprocessorDefinitions);_USE_MATH_DEFINES + %(AdditionalIncludeDirectories) + OldStyle + false + stdcpp17 + + + Windows + true + true + true + + + false + + + + + Level3 + + + MaxSpeed + true + true + NDEBUG;_LIB;%(PreprocessorDefinitions);_USE_MATH_DEFINES + %(AdditionalIncludeDirectories) + OldStyle + false + stdcpp17 + + + Windows + true + true + true + + + false + + + + + Level3 + + + MaxSpeed + true + true + NDEBUG;_LIB;%(PreprocessorDefinitions);_USE_MATH_DEFINES + %(AdditionalIncludeDirectories) + OldStyle + false + MultiThreaded + stdcpp17 + + + Windows + true + true + true + + + false + + + + + Level3 + + + MaxSpeed + true + true + NDEBUG;_LIB;%(PreprocessorDefinitions);_USE_MATH_DEFINES + %(AdditionalIncludeDirectories) + OldStyle + false + MultiThreaded + stdcpp17 + + + Windows + true + true + true + + + false + + + + + + + + + + + + + + + + + + + + + + + + + + + + This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. + + + + + + + + + + + \ No newline at end of file diff --git a/msvs_solution/libveg/libveg.vcxproj.filters b/msvs_solution/libveg/libveg.vcxproj.filters new file mode 100644 index 0000000..4bbf17e --- /dev/null +++ b/msvs_solution/libveg/libveg.vcxproj.filters @@ -0,0 +1,27 @@ + + + + + {4FC737F1-C7A5-4376-A066-2A32D752A2FF} + cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx + + + {93995380-89BD-4b04-88EB-625FBE52EBFB} + h;hh;hpp;hxx;hm;inl;inc;xsd + + + {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} + rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms + + + + + + + + + + + + + \ No newline at end of file diff --git a/msvs_solution/libveg/libveg.vcxproj.user b/msvs_solution/libveg/libveg.vcxproj.user new file mode 100755 index 0000000..6e2aec7 --- /dev/null +++ b/msvs_solution/libveg/libveg.vcxproj.user @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/msvs_solution/libveg/packages.config b/msvs_solution/libveg/packages.config new file mode 100755 index 0000000..fd8b834 --- /dev/null +++ b/msvs_solution/libveg/packages.config @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/msvs_solution/msvs_solution.sln b/msvs_solution/msvs_solution.sln new file mode 100644 index 0000000..aeee970 --- /dev/null +++ b/msvs_solution/msvs_solution.sln @@ -0,0 +1,192 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.4.33205.214 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libveg", "libveg\libveg.vcxproj", "{8C7D8E1D-25CE-4365-A772-18643E6D52E8}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "unit_tests", "unit_tests\unit_tests.vcxproj", "{06E4B047-922E-4329-A42A-E770CFFECA64}" + ProjectSection(ProjectDependencies) = postProject + {8C7D8E1D-25CE-4365-A772-18643E6D52E8} = {8C7D8E1D-25CE-4365-A772-18643E6D52E8} + EndProjectSection +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + v140_Debug|x64 = v140_Debug|x64 + v140_Debug|x86 = v140_Debug|x86 + v140_Release|x64 = v140_Release|x64 + v140_Release|x86 = v140_Release|x86 + v141_Debug|x64 = v141_Debug|x64 + v141_Debug|x86 = v141_Debug|x86 + v141_Release|x64 = v141_Release|x64 + v141_Release|x86 = v141_Release|x86 + v142_Debug_MD|x64 = v142_Debug_MD|x64 + v142_Debug_MD|x86 = v142_Debug_MD|x86 + v142_Debug_MT|x64 = v142_Debug_MT|x64 + v142_Debug_MT|x86 = v142_Debug_MT|x86 + v142_Release_MD|x64 = v142_Release_MD|x64 + v142_Release_MD|x86 = v142_Release_MD|x86 + v142_Release_MT|x64 = v142_Release_MT|x64 + v142_Release_MT|x86 = v142_Release_MT|x86 + v143_Debug_MD|x64 = v143_Debug_MD|x64 + v143_Debug_MD|x86 = v143_Debug_MD|x86 + v143_Debug_MT|x64 = v143_Debug_MT|x64 + v143_Debug_MT|x86 = v143_Debug_MT|x86 + v143_Release_MD|x64 = v143_Release_MD|x64 + v143_Release_MD|x86 = v143_Release_MD|x86 + v143_Release_MT|x64 = v143_Release_MT|x64 + v143_Release_MT|x86 = v143_Release_MT|x86 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {8C7D8E1D-25CE-4365-A772-18643E6D52E8}.v140_Debug|x64.ActiveCfg = v140_Debug|x64 + {8C7D8E1D-25CE-4365-A772-18643E6D52E8}.v140_Debug|x64.Build.0 = v140_Debug|x64 + {8C7D8E1D-25CE-4365-A772-18643E6D52E8}.v140_Debug|x86.ActiveCfg = v140_Debug|Win32 + {8C7D8E1D-25CE-4365-A772-18643E6D52E8}.v140_Debug|x86.Build.0 = v140_Debug|Win32 + {8C7D8E1D-25CE-4365-A772-18643E6D52E8}.v140_Release|x64.ActiveCfg = v140_Release|x64 + {8C7D8E1D-25CE-4365-A772-18643E6D52E8}.v140_Release|x64.Build.0 = v140_Release|x64 + {8C7D8E1D-25CE-4365-A772-18643E6D52E8}.v140_Release|x86.ActiveCfg = v140_Release|Win32 + {8C7D8E1D-25CE-4365-A772-18643E6D52E8}.v140_Release|x86.Build.0 = v140_Release|Win32 + {8C7D8E1D-25CE-4365-A772-18643E6D52E8}.v141_Debug|x64.ActiveCfg = v141_Debug|x64 + {8C7D8E1D-25CE-4365-A772-18643E6D52E8}.v141_Debug|x64.Build.0 = v141_Debug|x64 + {8C7D8E1D-25CE-4365-A772-18643E6D52E8}.v141_Debug|x86.ActiveCfg = v141_Debug|Win32 + {8C7D8E1D-25CE-4365-A772-18643E6D52E8}.v141_Debug|x86.Build.0 = v141_Debug|Win32 + {8C7D8E1D-25CE-4365-A772-18643E6D52E8}.v141_Release|x64.ActiveCfg = v141_Release|x64 + {8C7D8E1D-25CE-4365-A772-18643E6D52E8}.v141_Release|x64.Build.0 = v141_Release|x64 + {8C7D8E1D-25CE-4365-A772-18643E6D52E8}.v141_Release|x86.ActiveCfg = v141_Release|Win32 + {8C7D8E1D-25CE-4365-A772-18643E6D52E8}.v141_Release|x86.Build.0 = v141_Release|Win32 + {8C7D8E1D-25CE-4365-A772-18643E6D52E8}.v142_Debug_MD|x64.ActiveCfg = v142_Debug_MD|x64 + {8C7D8E1D-25CE-4365-A772-18643E6D52E8}.v142_Debug_MD|x64.Build.0 = v142_Debug_MD|x64 + {8C7D8E1D-25CE-4365-A772-18643E6D52E8}.v142_Debug_MD|x86.ActiveCfg = v142_Debug_MD|Win32 + {8C7D8E1D-25CE-4365-A772-18643E6D52E8}.v142_Debug_MD|x86.Build.0 = v142_Debug_MD|Win32 + {8C7D8E1D-25CE-4365-A772-18643E6D52E8}.v142_Debug_MT|x64.ActiveCfg = v142_Debug_MT|x64 + {8C7D8E1D-25CE-4365-A772-18643E6D52E8}.v142_Debug_MT|x64.Build.0 = v142_Debug_MT|x64 + {8C7D8E1D-25CE-4365-A772-18643E6D52E8}.v142_Debug_MT|x86.ActiveCfg = v142_Debug_MT|Win32 + {8C7D8E1D-25CE-4365-A772-18643E6D52E8}.v142_Debug_MT|x86.Build.0 = v142_Debug_MT|Win32 + {8C7D8E1D-25CE-4365-A772-18643E6D52E8}.v142_Release_MD|x64.ActiveCfg = v142_Release_MD|x64 + {8C7D8E1D-25CE-4365-A772-18643E6D52E8}.v142_Release_MD|x64.Build.0 = v142_Release_MD|x64 + {8C7D8E1D-25CE-4365-A772-18643E6D52E8}.v142_Release_MD|x86.ActiveCfg = v142_Release_MD|Win32 + {8C7D8E1D-25CE-4365-A772-18643E6D52E8}.v142_Release_MD|x86.Build.0 = v142_Release_MD|Win32 + {8C7D8E1D-25CE-4365-A772-18643E6D52E8}.v142_Release_MT|x64.ActiveCfg = v142_Release_MT|x64 + {8C7D8E1D-25CE-4365-A772-18643E6D52E8}.v142_Release_MT|x64.Build.0 = v142_Release_MT|x64 + {8C7D8E1D-25CE-4365-A772-18643E6D52E8}.v142_Release_MT|x86.ActiveCfg = v142_Release_MT|Win32 + {8C7D8E1D-25CE-4365-A772-18643E6D52E8}.v142_Release_MT|x86.Build.0 = v142_Release_MT|Win32 + {8C7D8E1D-25CE-4365-A772-18643E6D52E8}.v143_Debug_MD|x64.ActiveCfg = v143_Debug_MD|x64 + {8C7D8E1D-25CE-4365-A772-18643E6D52E8}.v143_Debug_MD|x64.Build.0 = v143_Debug_MD|x64 + {8C7D8E1D-25CE-4365-A772-18643E6D52E8}.v143_Debug_MD|x86.ActiveCfg = v143_Debug_MD|Win32 + {8C7D8E1D-25CE-4365-A772-18643E6D52E8}.v143_Debug_MD|x86.Build.0 = v143_Debug_MD|Win32 + {8C7D8E1D-25CE-4365-A772-18643E6D52E8}.v143_Debug_MT|x64.ActiveCfg = v143_Debug_MT|x64 + {8C7D8E1D-25CE-4365-A772-18643E6D52E8}.v143_Debug_MT|x64.Build.0 = v143_Debug_MT|x64 + {8C7D8E1D-25CE-4365-A772-18643E6D52E8}.v143_Debug_MT|x86.ActiveCfg = v143_Debug_MT|Win32 + {8C7D8E1D-25CE-4365-A772-18643E6D52E8}.v143_Debug_MT|x86.Build.0 = v143_Debug_MT|Win32 + {8C7D8E1D-25CE-4365-A772-18643E6D52E8}.v143_Release_MD|x64.ActiveCfg = v143_Release_MD|x64 + {8C7D8E1D-25CE-4365-A772-18643E6D52E8}.v143_Release_MD|x64.Build.0 = v143_Release_MD|x64 + {8C7D8E1D-25CE-4365-A772-18643E6D52E8}.v143_Release_MD|x86.ActiveCfg = v143_Release_MD|Win32 + {8C7D8E1D-25CE-4365-A772-18643E6D52E8}.v143_Release_MD|x86.Build.0 = v143_Release_MD|Win32 + {8C7D8E1D-25CE-4365-A772-18643E6D52E8}.v143_Release_MT|x64.ActiveCfg = v143_Release_MT|x64 + {8C7D8E1D-25CE-4365-A772-18643E6D52E8}.v143_Release_MT|x64.Build.0 = v143_Release_MT|x64 + {8C7D8E1D-25CE-4365-A772-18643E6D52E8}.v143_Release_MT|x86.ActiveCfg = v143_Release_MT|Win32 + {8C7D8E1D-25CE-4365-A772-18643E6D52E8}.v143_Release_MT|x86.Build.0 = v143_Release_MT|Win32 + {BD93A4AA-4CE1-4364-B3F8-5D77040DC0F6}.v140_Debug|x64.ActiveCfg = v140_Debug|x64 + {BD93A4AA-4CE1-4364-B3F8-5D77040DC0F6}.v140_Debug|x64.Build.0 = v140_Debug|x64 + {BD93A4AA-4CE1-4364-B3F8-5D77040DC0F6}.v140_Debug|x86.ActiveCfg = v140_Debug|Win32 + {BD93A4AA-4CE1-4364-B3F8-5D77040DC0F6}.v140_Debug|x86.Build.0 = v140_Debug|Win32 + {BD93A4AA-4CE1-4364-B3F8-5D77040DC0F6}.v140_Release|x64.ActiveCfg = v140_Release|x64 + {BD93A4AA-4CE1-4364-B3F8-5D77040DC0F6}.v140_Release|x64.Build.0 = v140_Release|x64 + {BD93A4AA-4CE1-4364-B3F8-5D77040DC0F6}.v140_Release|x86.ActiveCfg = v140_Release|Win32 + {BD93A4AA-4CE1-4364-B3F8-5D77040DC0F6}.v140_Release|x86.Build.0 = v140_Release|Win32 + {BD93A4AA-4CE1-4364-B3F8-5D77040DC0F6}.v141_Debug|x64.ActiveCfg = v141_Debug|x64 + {BD93A4AA-4CE1-4364-B3F8-5D77040DC0F6}.v141_Debug|x64.Build.0 = v141_Debug|x64 + {BD93A4AA-4CE1-4364-B3F8-5D77040DC0F6}.v141_Debug|x86.ActiveCfg = v141_Debug|Win32 + {BD93A4AA-4CE1-4364-B3F8-5D77040DC0F6}.v141_Debug|x86.Build.0 = v141_Debug|Win32 + {BD93A4AA-4CE1-4364-B3F8-5D77040DC0F6}.v141_Release|x64.ActiveCfg = v141_Release|x64 + {BD93A4AA-4CE1-4364-B3F8-5D77040DC0F6}.v141_Release|x64.Build.0 = v141_Release|x64 + {BD93A4AA-4CE1-4364-B3F8-5D77040DC0F6}.v141_Release|x86.ActiveCfg = v141_Release|Win32 + {BD93A4AA-4CE1-4364-B3F8-5D77040DC0F6}.v141_Release|x86.Build.0 = v141_Release|Win32 + {BD93A4AA-4CE1-4364-B3F8-5D77040DC0F6}.v142_Debug_MD|x64.ActiveCfg = v142_Debug_MD|x64 + {BD93A4AA-4CE1-4364-B3F8-5D77040DC0F6}.v142_Debug_MD|x64.Build.0 = v142_Debug_MD|x64 + {BD93A4AA-4CE1-4364-B3F8-5D77040DC0F6}.v142_Debug_MD|x86.ActiveCfg = v142_Debug_MD|Win32 + {BD93A4AA-4CE1-4364-B3F8-5D77040DC0F6}.v142_Debug_MD|x86.Build.0 = v142_Debug_MD|Win32 + {BD93A4AA-4CE1-4364-B3F8-5D77040DC0F6}.v142_Debug_MT|x64.ActiveCfg = v142_Debug_MT|x64 + {BD93A4AA-4CE1-4364-B3F8-5D77040DC0F6}.v142_Debug_MT|x64.Build.0 = v142_Debug_MT|x64 + {BD93A4AA-4CE1-4364-B3F8-5D77040DC0F6}.v142_Debug_MT|x86.ActiveCfg = v142_Debug_MT|Win32 + {BD93A4AA-4CE1-4364-B3F8-5D77040DC0F6}.v142_Debug_MT|x86.Build.0 = v142_Debug_MT|Win32 + {BD93A4AA-4CE1-4364-B3F8-5D77040DC0F6}.v142_Release_MD|x64.ActiveCfg = v142_Release_MD|x64 + {BD93A4AA-4CE1-4364-B3F8-5D77040DC0F6}.v142_Release_MD|x64.Build.0 = v142_Release_MD|x64 + {BD93A4AA-4CE1-4364-B3F8-5D77040DC0F6}.v142_Release_MD|x86.ActiveCfg = v142_Release_MD|Win32 + {BD93A4AA-4CE1-4364-B3F8-5D77040DC0F6}.v142_Release_MD|x86.Build.0 = v142_Release_MD|Win32 + {BD93A4AA-4CE1-4364-B3F8-5D77040DC0F6}.v142_Release_MT|x64.ActiveCfg = v142_Release_MT|x64 + {BD93A4AA-4CE1-4364-B3F8-5D77040DC0F6}.v142_Release_MT|x64.Build.0 = v142_Release_MT|x64 + {BD93A4AA-4CE1-4364-B3F8-5D77040DC0F6}.v142_Release_MT|x86.ActiveCfg = v142_Release_MT|Win32 + {BD93A4AA-4CE1-4364-B3F8-5D77040DC0F6}.v142_Release_MT|x86.Build.0 = v142_Release_MT|Win32 + {BD93A4AA-4CE1-4364-B3F8-5D77040DC0F6}.v143_Debug_MD|x64.ActiveCfg = v143_Debug_MD|x64 + {BD93A4AA-4CE1-4364-B3F8-5D77040DC0F6}.v143_Debug_MD|x64.Build.0 = v143_Debug_MD|x64 + {BD93A4AA-4CE1-4364-B3F8-5D77040DC0F6}.v143_Debug_MD|x86.ActiveCfg = v143_Debug_MD|Win32 + {BD93A4AA-4CE1-4364-B3F8-5D77040DC0F6}.v143_Debug_MD|x86.Build.0 = v143_Debug_MD|Win32 + {BD93A4AA-4CE1-4364-B3F8-5D77040DC0F6}.v143_Debug_MT|x64.ActiveCfg = v143_Debug_MT|x64 + {BD93A4AA-4CE1-4364-B3F8-5D77040DC0F6}.v143_Debug_MT|x64.Build.0 = v143_Debug_MT|x64 + {BD93A4AA-4CE1-4364-B3F8-5D77040DC0F6}.v143_Debug_MT|x86.ActiveCfg = v143_Debug_MT|Win32 + {BD93A4AA-4CE1-4364-B3F8-5D77040DC0F6}.v143_Debug_MT|x86.Build.0 = v143_Debug_MT|Win32 + {BD93A4AA-4CE1-4364-B3F8-5D77040DC0F6}.v143_Release_MD|x64.ActiveCfg = v143_Release_MD|x64 + {BD93A4AA-4CE1-4364-B3F8-5D77040DC0F6}.v143_Release_MD|x64.Build.0 = v143_Release_MD|x64 + {BD93A4AA-4CE1-4364-B3F8-5D77040DC0F6}.v143_Release_MD|x86.ActiveCfg = v143_Release_MD|Win32 + {BD93A4AA-4CE1-4364-B3F8-5D77040DC0F6}.v143_Release_MD|x86.Build.0 = v143_Release_MD|Win32 + {BD93A4AA-4CE1-4364-B3F8-5D77040DC0F6}.v143_Release_MT|x64.ActiveCfg = v143_Release_MT|x64 + {BD93A4AA-4CE1-4364-B3F8-5D77040DC0F6}.v143_Release_MT|x64.Build.0 = v143_Release_MT|x64 + {BD93A4AA-4CE1-4364-B3F8-5D77040DC0F6}.v143_Release_MT|x86.ActiveCfg = v143_Release_MT|Win32 + {BD93A4AA-4CE1-4364-B3F8-5D77040DC0F6}.v143_Release_MT|x86.Build.0 = v143_Release_MT|Win32 + {06E4B047-922E-4329-A42A-E770CFFECA64}.v140_Debug|x64.ActiveCfg = v140_Debug|x64 + {06E4B047-922E-4329-A42A-E770CFFECA64}.v140_Debug|x64.Build.0 = v140_Debug|x64 + {06E4B047-922E-4329-A42A-E770CFFECA64}.v140_Debug|x86.ActiveCfg = v140_Debug|Win32 + {06E4B047-922E-4329-A42A-E770CFFECA64}.v140_Debug|x86.Build.0 = v140_Debug|Win32 + {06E4B047-922E-4329-A42A-E770CFFECA64}.v140_Release|x64.ActiveCfg = v140_Release|x64 + {06E4B047-922E-4329-A42A-E770CFFECA64}.v140_Release|x64.Build.0 = v140_Release|x64 + {06E4B047-922E-4329-A42A-E770CFFECA64}.v140_Release|x86.ActiveCfg = v140_Release|Win32 + {06E4B047-922E-4329-A42A-E770CFFECA64}.v140_Release|x86.Build.0 = v140_Release|Win32 + {06E4B047-922E-4329-A42A-E770CFFECA64}.v141_Debug|x64.ActiveCfg = v141_Debug|x64 + {06E4B047-922E-4329-A42A-E770CFFECA64}.v141_Debug|x64.Build.0 = v141_Debug|x64 + {06E4B047-922E-4329-A42A-E770CFFECA64}.v141_Debug|x86.ActiveCfg = v141_Debug|Win32 + {06E4B047-922E-4329-A42A-E770CFFECA64}.v141_Debug|x86.Build.0 = v141_Debug|Win32 + {06E4B047-922E-4329-A42A-E770CFFECA64}.v141_Release|x64.ActiveCfg = v141_Release|x64 + {06E4B047-922E-4329-A42A-E770CFFECA64}.v141_Release|x64.Build.0 = v141_Release|x64 + {06E4B047-922E-4329-A42A-E770CFFECA64}.v141_Release|x86.ActiveCfg = v141_Release|Win32 + {06E4B047-922E-4329-A42A-E770CFFECA64}.v141_Release|x86.Build.0 = v141_Release|Win32 + {06E4B047-922E-4329-A42A-E770CFFECA64}.v142_Debug_MD|x64.ActiveCfg = v142_Debug_MD|x64 + {06E4B047-922E-4329-A42A-E770CFFECA64}.v142_Debug_MD|x64.Build.0 = v142_Debug_MD|x64 + {06E4B047-922E-4329-A42A-E770CFFECA64}.v142_Debug_MD|x86.ActiveCfg = v142_Debug_MD|Win32 + {06E4B047-922E-4329-A42A-E770CFFECA64}.v142_Debug_MD|x86.Build.0 = v142_Debug_MD|Win32 + {06E4B047-922E-4329-A42A-E770CFFECA64}.v142_Debug_MT|x64.ActiveCfg = v142_Debug_MT|x64 + {06E4B047-922E-4329-A42A-E770CFFECA64}.v142_Debug_MT|x64.Build.0 = v142_Debug_MT|x64 + {06E4B047-922E-4329-A42A-E770CFFECA64}.v142_Debug_MT|x86.ActiveCfg = v142_Debug_MT|Win32 + {06E4B047-922E-4329-A42A-E770CFFECA64}.v142_Debug_MT|x86.Build.0 = v142_Debug_MT|Win32 + {06E4B047-922E-4329-A42A-E770CFFECA64}.v142_Release_MD|x64.ActiveCfg = v142_Release_MD|x64 + {06E4B047-922E-4329-A42A-E770CFFECA64}.v142_Release_MD|x64.Build.0 = v142_Release_MD|x64 + {06E4B047-922E-4329-A42A-E770CFFECA64}.v142_Release_MD|x86.ActiveCfg = v142_Release_MD|Win32 + {06E4B047-922E-4329-A42A-E770CFFECA64}.v142_Release_MD|x86.Build.0 = v142_Release_MD|Win32 + {06E4B047-922E-4329-A42A-E770CFFECA64}.v142_Release_MT|x64.ActiveCfg = v142_Release_MT|x64 + {06E4B047-922E-4329-A42A-E770CFFECA64}.v142_Release_MT|x64.Build.0 = v142_Release_MT|x64 + {06E4B047-922E-4329-A42A-E770CFFECA64}.v142_Release_MT|x86.ActiveCfg = v142_Release_MT|Win32 + {06E4B047-922E-4329-A42A-E770CFFECA64}.v142_Release_MT|x86.Build.0 = v142_Release_MT|Win32 + {06E4B047-922E-4329-A42A-E770CFFECA64}.v143_Debug_MD|x64.ActiveCfg = v143_Debug_MD|x64 + {06E4B047-922E-4329-A42A-E770CFFECA64}.v143_Debug_MD|x64.Build.0 = v143_Debug_MD|x64 + {06E4B047-922E-4329-A42A-E770CFFECA64}.v143_Debug_MD|x86.ActiveCfg = v143_Debug_MD|Win32 + {06E4B047-922E-4329-A42A-E770CFFECA64}.v143_Debug_MD|x86.Build.0 = v143_Debug_MD|Win32 + {06E4B047-922E-4329-A42A-E770CFFECA64}.v143_Debug_MT|x64.ActiveCfg = v143_Debug_MT|x64 + {06E4B047-922E-4329-A42A-E770CFFECA64}.v143_Debug_MT|x64.Build.0 = v143_Debug_MT|x64 + {06E4B047-922E-4329-A42A-E770CFFECA64}.v143_Debug_MT|x86.ActiveCfg = v143_Debug_MT|Win32 + {06E4B047-922E-4329-A42A-E770CFFECA64}.v143_Debug_MT|x86.Build.0 = v143_Debug_MT|Win32 + {06E4B047-922E-4329-A42A-E770CFFECA64}.v143_Release_MD|x64.ActiveCfg = v143_Release_MD|x64 + {06E4B047-922E-4329-A42A-E770CFFECA64}.v143_Release_MD|x64.Build.0 = v143_Release_MD|x64 + {06E4B047-922E-4329-A42A-E770CFFECA64}.v143_Release_MD|x86.ActiveCfg = v143_Release_MD|Win32 + {06E4B047-922E-4329-A42A-E770CFFECA64}.v143_Release_MD|x86.Build.0 = v143_Release_MD|Win32 + {06E4B047-922E-4329-A42A-E770CFFECA64}.v143_Release_MT|x64.ActiveCfg = v143_Release_MT|x64 + {06E4B047-922E-4329-A42A-E770CFFECA64}.v143_Release_MT|x64.Build.0 = v143_Release_MT|x64 + {06E4B047-922E-4329-A42A-E770CFFECA64}.v143_Release_MT|x86.ActiveCfg = v143_Release_MT|Win32 + {06E4B047-922E-4329-A42A-E770CFFECA64}.v143_Release_MT|x86.Build.0 = v143_Release_MT|Win32 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {A17BA522-0271-4BCE-BA0E-F5342ACC2AFC} + EndGlobalSection +EndGlobal diff --git a/msvs_solution/unit_tests/packages.config b/msvs_solution/unit_tests/packages.config new file mode 100644 index 0000000..b3aa89b --- /dev/null +++ b/msvs_solution/unit_tests/packages.config @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/msvs_solution/unit_tests/unit_tests.vcxproj b/msvs_solution/unit_tests/unit_tests.vcxproj new file mode 100644 index 0000000..03b03f9 --- /dev/null +++ b/msvs_solution/unit_tests/unit_tests.vcxproj @@ -0,0 +1,771 @@ + + + + + v140_Debug + Win32 + + + v140_Debug + x64 + + + v140_Release + Win32 + + + v140_Release + x64 + + + v141_Debug + Win32 + + + v141_Release + Win32 + + + v141_Debug + x64 + + + v141_Release + x64 + + + v142_Debug_MD + Win32 + + + v142_Debug_MD + x64 + + + v142_Debug_MT + Win32 + + + v142_Debug_MT + x64 + + + v142_Release_MD + Win32 + + + v142_Release_MD + x64 + + + v142_Release_MT + Win32 + + + v142_Release_MT + x64 + + + v143_Debug_MD + Win32 + + + v143_Debug_MD + x64 + + + v143_Debug_MT + Win32 + + + v143_Debug_MT + x64 + + + v143_Release_MD + Win32 + + + v143_Release_MD + x64 + + + v143_Release_MT + Win32 + + + v143_Release_MT + x64 + + + + 15.0 + {06E4B047-922E-4329-A42A-E770CFFECA64} + unittests + 10.0.19041.0 + + + + Application + true + v141 + MultiByte + + + Application + true + v142 + MultiByte + + + Application + true + v143 + MultiByte + + + Application + true + v142 + MultiByte + + + Application + true + v143 + MultiByte + + + Application + true + v140 + MultiByte + + + Application + false + v141 + true + MultiByte + + + Application + false + v142 + true + MultiByte + + + Application + false + v143 + true + MultiByte + + + Application + false + v142 + true + MultiByte + + + Application + false + v143 + true + MultiByte + + + Application + false + v140 + true + MultiByte + + + Application + true + v141 + MultiByte + + + Application + true + v142 + MultiByte + + + Application + true + v143 + MultiByte + + + Application + true + v142 + MultiByte + + + Application + true + v143 + MultiByte + + + Application + true + v140 + MultiByte + + + Application + false + v141 + true + MultiByte + + + Application + false + v142 + true + MultiByte + + + Application + false + v143 + true + MultiByte + + + Application + false + v142 + true + MultiByte + + + Application + false + v143 + true + MultiByte + + + Application + false + v140 + true + MultiByte + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + MultiThreadedDebugDLL + static + static + + + MultiThreadedDebugDLL + static + static + + + MultiThreadedDebugDLL + static + static + + + MultiThreadedDebugDLL + static + static + + + MultiThreadedDebug + + + MultiThreadedDebug + + + MultiThreadedDebug + + + MultiThreadedDebug + + + MultiThreadedDLL + + + MultiThreadedDLL + + + MultiThreadedDLL + + + MultiThreadedDLL + + + MultiThreaded + + + MultiThreaded + + + MultiThreaded + + + MultiThreaded + + + + Level3 + Disabled + true + stdcpp17 + + + Console + + + + + Level3 + Disabled + true + MultiThreadedDebug + stdcpp17 + + + Console + + + + + Level3 + Disabled + true + MultiThreadedDebug + stdcpp17 + + + Console + + + + + Level3 + Disabled + true + stdcpp17 + + + + + false + Console + + + + + Level3 + Disabled + true + stdcpp17 + + + + + false + Console + + + + + Level3 + Disabled + true + + + Console + + + + + Level3 + Disabled + true + stdcpp17 + + + Console + + + + + Level3 + Disabled + true + MultiThreadedDebug + stdcpp17 + + + Console + + + + + Level3 + Disabled + true + MultiThreadedDebug + stdcpp17 + + + Console + + + + + Level3 + Disabled + true + stdcpp17 + + + + + false + Console + + + + + Level3 + Disabled + true + stdcpp17 + + + + + false + Console + + + + + Level3 + Disabled + true + + + Console + + + + + Level3 + MaxSpeed + true + true + true + stdcpp17 + + + true + true + Console + + + + + Level3 + MaxSpeed + true + true + true + MultiThreaded + stdcpp17 + + + true + true + Console + + + + + Level3 + MaxSpeed + true + true + true + MultiThreaded + stdcpp17 + + + true + true + Console + + + + + Level3 + MaxSpeed + true + true + true + stdcpp17 + + + true + true + Console + + + + + Level3 + MaxSpeed + true + true + true + stdcpp17 + + + true + true + Console + + + + + Level3 + MaxSpeed + true + true + true + + + true + true + Console + + + + + Level3 + MaxSpeed + true + true + true + stdcpp17 + + + true + true + Console + + + + + Level3 + MaxSpeed + true + true + true + MultiThreaded + stdcpp17 + + + true + true + Console + + + + + Level3 + MaxSpeed + true + true + true + MultiThreaded + stdcpp17 + + + true + true + Console + + + + + Level3 + MaxSpeed + true + true + true + OldStyle + stdcpp17 + + + true + true + Console + + + + + Level3 + MaxSpeed + true + true + true + OldStyle + stdcpp17 + + + true + true + Console + + + + + Level3 + MaxSpeed + true + true + true + + + true + true + Console + + + + + {8c7d8e1d-25ce-4365-a772-18643e6d52e8} + + + + + + + + + + + + + + + + + + + + + + + + + + This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/msvs_solution/unit_tests/unit_tests.vcxproj.filters b/msvs_solution/unit_tests/unit_tests.vcxproj.filters new file mode 100644 index 0000000..2679a75 --- /dev/null +++ b/msvs_solution/unit_tests/unit_tests.vcxproj.filters @@ -0,0 +1,46 @@ + + + + + {4FC737F1-C7A5-4376-A066-2A32D752A2FF} + cpp;c;cc;cxx;c++;cppm;ixx;def;odl;idl;hpj;bat;asm;asmx + + + {93995380-89BD-4b04-88EB-625FBE52EBFB} + h;hh;hpp;hxx;h++;hm;inl;inc;ipp;xsd + + + {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} + rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms + + + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + + + + \ No newline at end of file diff --git a/msvs_solution/unit_tests/unit_tests.vcxproj.user b/msvs_solution/unit_tests/unit_tests.vcxproj.user new file mode 100644 index 0000000..0f14913 --- /dev/null +++ b/msvs_solution/unit_tests/unit_tests.vcxproj.user @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/nuget/build_nuget.ps1 b/nuget/build_nuget.ps1 new file mode 100644 index 0000000..b6edd68 --- /dev/null +++ b/nuget/build_nuget.ps1 @@ -0,0 +1,85 @@ +Push-Location +$scriptdir = Split-Path $MyInvocation.MyCommand.Path +cd $scriptdir + +#extract version from debian/changelog +$ver = (Get-Content ..\debian\changelog -Head 1) -replace ".*\((\d*\.\d*\.\d*)(\-\d+){0,1}\).*",'$1' +#Write-Host $ver + +#insert version into all *.in files +Get-ChildItem "." -Filter *.in | Foreach-Object{ + $content = Get-Content $_.FullName + + #filter and save content to the original file + #$content | Where-Object {$_ -match 'step[49]'} | Set-Content $_.FullName + + #filter and save content to a new file + ($content -replace '\$\(version\)',"$ver") | Set-Content ($_.BaseName) +} + +"%VS142COMNTOOLS%\VsMSBuildCmd.bat" + +# msbuild ../msvs_solution/msvs_solution.sln /t:Rebuild /p:Configuration=v140_Debug /p:Platform=x86 /v:minimal /nologo +# If(!$?){exit 1} +# msbuild ../msvs_solution/msvs_solution.sln /t:Rebuild /p:Configuration=v140_Release /p:Platform=x86 /v:minimal /nologo +# If(!$?){exit 1} +# msbuild ../msvs_solution/msvs_solution.sln /t:Rebuild /p:Configuration=v140_Debug /p:Platform=x64 /v:minimal /nologo +# If(!$?){exit 1} +# msbuild ../msvs_solution/msvs_solution.sln /t:Rebuild /p:Configuration=v140_Release /p:Platform=x64 /v:minimal /nologo +# If(!$?){exit 1} + +# msbuild ../msvs_solution/msvs_solution.sln /t:Rebuild /p:Configuration=v141_Debug /p:Platform=x86 /v:minimal /nologo +# If(!$?){exit 1} +# msbuild ../msvs_solution/msvs_solution.sln /t:Rebuild /p:Configuration=v141_Release /p:Platform=x86 /v:minimal /nologo +# If(!$?){exit 1} +# msbuild ../msvs_solution/msvs_solution.sln /t:Rebuild /p:Configuration=v141_Debug /p:Platform=x64 /v:minimal /nologo +# If(!$?){exit 1} +# msbuild ../msvs_solution/msvs_solution.sln /t:Rebuild /p:Configuration=v141_Release /p:Platform=x64 /v:minimal /nologo +# If(!$?){exit 1} + +msbuild /m ../msvs_solution/msvs_solution.sln /t:Rebuild /p:Configuration=v142_Debug_MD /p:Platform=x86 /v:minimal /nologo; If(!$?){exit 1} +msbuild /m ../msvs_solution/msvs_solution.sln /t:Rebuild /p:Configuration=v142_Release_MD /p:Platform=x86 /v:minimal /nologo; If(!$?){exit 1} +msbuild /m ../msvs_solution/msvs_solution.sln /t:Rebuild /p:Configuration=v142_Debug_MD /p:Platform=x64 /v:minimal /nologo; If(!$?){exit 1} +msbuild /m ../msvs_solution/msvs_solution.sln /t:Rebuild /p:Configuration=v142_Release_MD /p:Platform=x64 /v:minimal /nologo; If(!$?){exit 1} +msbuild /m ../msvs_solution/msvs_solution.sln /t:Rebuild /p:Configuration=v142_Debug_MT /p:Platform=x86 /v:minimal /nologo; If(!$?){exit 1} +msbuild /m ../msvs_solution/msvs_solution.sln /t:Rebuild /p:Configuration=v142_Release_MT /p:Platform=x86 /v:minimal /nologo; If(!$?){exit 1} +msbuild /m ../msvs_solution/msvs_solution.sln /t:Rebuild /p:Configuration=v142_Debug_MT /p:Platform=x64 /v:minimal /nologo; If(!$?){exit 1} +msbuild /m ../msvs_solution/msvs_solution.sln /t:Rebuild /p:Configuration=v142_Release_MT /p:Platform=x64 /v:minimal /nologo; If(!$?){exit 1} + +msbuild /m ../msvs_solution/msvs_solution.sln /t:Rebuild /p:Configuration=v143_Debug_MD /p:Platform=x86 /v:minimal /nologo; If(!$?){exit 1} +msbuild /m ../msvs_solution/msvs_solution.sln /t:Rebuild /p:Configuration=v143_Release_MD /p:Platform=x86 /v:minimal /nologo; If(!$?){exit 1} +msbuild /m ../msvs_solution/msvs_solution.sln /t:Rebuild /p:Configuration=v143_Debug_MD /p:Platform=x64 /v:minimal /nologo; If(!$?){exit 1} +msbuild /m ../msvs_solution/msvs_solution.sln /t:Rebuild /p:Configuration=v143_Release_MD /p:Platform=x64 /v:minimal /nologo; If(!$?){exit 1} +msbuild /m ../msvs_solution/msvs_solution.sln /t:Rebuild /p:Configuration=v143_Debug_MT /p:Platform=x86 /v:minimal /nologo; If(!$?){exit 1} +msbuild /m ../msvs_solution/msvs_solution.sln /t:Rebuild /p:Configuration=v143_Release_MT /p:Platform=x86 /v:minimal /nologo; If(!$?){exit 1} +msbuild /m ../msvs_solution/msvs_solution.sln /t:Rebuild /p:Configuration=v143_Debug_MT /p:Platform=x64 /v:minimal /nologo; If(!$?){exit 1} +msbuild /m ../msvs_solution/msvs_solution.sln /t:Rebuild /p:Configuration=v143_Release_MT /p:Platform=x64 /v:minimal /nologo; If(!$?){exit 1} + +# run tests + +Push-Location +cd ../tests/unit + +# ../../msvs_solution/v142_Debug_MD/unit_tests.exe --jobs=2 --junit-out=junit_x86_v142_debug_md.xml; If(!$?){exit 1} +# ../../msvs_solution/v142_Debug_MT/unit_tests.exe --jobs=2 --junit-out=junit_x86_v142_debug_mt.xml; If(!$?){exit 1} +# ../../msvs_solution/v142_Release_MD/unit_tests.exe --jobs=2 --junit-out=junit_x86_v142_release_md.xml; If(!$?){exit 1} +# ../../msvs_solution/v142_Release_MT/unit_tests.exe --jobs=2 --junit-out=junit_x86_v142_release_mt.xml; If(!$?){exit 1} +# ../../msvs_solution/x64/v142_Debug_MD/unit_tests.exe --jobs=2 --junit-out=junit_x64_v142_debug_md.xml; If(!$?){exit 1} +# ../../msvs_solution/x64/v142_Debug_MT/unit_tests.exe --jobs=2 --junit-out=junit_x64_v142_debug_mt.xml; If(!$?){exit 1} +# ../../msvs_solution/x64/v142_Release_MD/unit_tests.exe --jobs=2 --junit-out=junit_x64_v142_release_md.xml; If(!$?){exit 1} +# ../../msvs_solution/x64/v142_Release_MT/unit_tests.exe --jobs=2 --junit-out=junit_x64_v142_release_mt.xml; If(!$?){exit 1} + + ../../msvs_solution/v143_Debug_MD/unit_tests.exe --jobs=2 --junit-out=junit_x86_v143_debug_md.xml; If(!$?){exit 1} + ../../msvs_solution/v143_Debug_MT/unit_tests.exe --jobs=2 --junit-out=junit_x86_v143_debug_mt.xml; If(!$?){exit 1} + ../../msvs_solution/v143_Release_MD/unit_tests.exe --jobs=2 --junit-out=junit_x86_v143_release_md.xml; If(!$?){exit 1} + ../../msvs_solution/v143_Release_MT/unit_tests.exe --jobs=2 --junit-out=junit_x86_v143_release_mt.xml; If(!$?){exit 1} +../../msvs_solution/x64/v143_Debug_MD/unit_tests.exe --jobs=2 --junit-out=junit_x64_v143_debug_md.xml; If(!$?){exit 1} +../../msvs_solution/x64/v143_Debug_MT/unit_tests.exe --jobs=2 --junit-out=junit_x64_v143_debug_mt.xml; If(!$?){exit 1} +../../msvs_solution/x64/v143_Release_MD/unit_tests.exe --jobs=2 --junit-out=junit_x64_v143_release_md.xml; If(!$?){exit 1} +../../msvs_solution/x64/v143_Release_MT/unit_tests.exe --jobs=2 --junit-out=junit_x64_v143_release_mt.xml; If(!$?){exit 1} + +Pop-Location + +Write-NuGetPackage nuget.autopkg +If(!$?){exit 1} +Pop-Location diff --git a/nuget/nuget.autopkg.in b/nuget/nuget.autopkg.in new file mode 100644 index 0000000..dab25c2 --- /dev/null +++ b/nuget/nuget.autopkg.in @@ -0,0 +1,130 @@ +configurations { + UserPlatformToolset { + // Needed because autopackage lacks VS2015+ support + key = "PlatformToolset"; + choices: "v140,v141,v142,v143"; + }; + + RuntimeLibrary { + key = "RuntimeLibrary"; // This is the key you can find in .vcxproj file + choices: "MultiThreaded,MultiThreadedDebug,MultiThreadedDLL,MultiThreadedDebugDLL"; // these choices must be valid values for .vcxproj file + }; +} + +nuget{ + nuspec{ + id = libveg; + version : $(version); + title: C++ vector graphics library; + authors: {Ivan Gagis}; + owners: {Ivan Gagis}; + licenseUrl: "https://raw.githubusercontent.com/cppfw/veg/master/LICENSE"; + projectUrl: "https://github.com/cppfw/veg"; + iconUrl: "https://github.com/cppfw/veg/blob/master/logo.svg"; + requireLicenseAcceptance:false; + summary: C++ vector graphics library; + + description: @"C++ vector graphics library"; + releaseNotes: "Initial release"; + copyright: Copyright 2024 Ivan Gagis; + tags: {native}; + } + dependencies { + packages : { + libagg/2.8.3; + libutki/1.1.123; + librasterimage/0.1.3; + }; + } + files { + //this is needed to put headers in the base folder + nestedInclude: { + #destination = ${d_include}veg; + "..\src\veg\**\*.hpp" + }; + + //==== v140 tools ===== +/* + [x86,v140,release] { + lib: ..\msvs_solution\v140_Release\libveg.lib; + } + [x86,v140,debug] { + lib: ..\msvs_solution\v140_Debug\libveg.lib; + } + [x64,v140,release] { + lib: ..\msvs_solution\x64\v140_Release\libveg.lib; + } + [x64,v140,debug] { + lib: ..\msvs_solution\x64\v140_Debug\libveg.lib; + } +*/ + //==== v141 tools ==== +/* + [x86,v141,release] { + lib: ..\msvs_solution\v141_Release\libveg.lib; + } + [x86,v141,debug] { + lib: ..\msvs_solution\v141_Debug\libveg.lib; + } + [x64,v141,release] { + lib: ..\msvs_solution\x64\v141_Release\libveg.lib; + } + [x64,v141,debug] { + lib: ..\msvs_solution\x64\v141_Debug\libveg.lib; + } +*/ + //==== v142 tools ==== + + [x86,v142,release,MultiThreaded] { + lib: ..\msvs_solution\v142_Release_MT\libveg.lib; + } + [x86,v142,debug,MultiThreadedDebug] { + lib: ..\msvs_solution\v142_Debug_MT\libveg.lib; + } + [x64,v142,release,MultiThreaded] { + lib: ..\msvs_solution\x64\v142_Release_MT\libveg.lib; + } + [x64,v142,debug,MultiThreadedDebug] { + lib: ..\msvs_solution\x64\v142_Debug_MT\libveg.lib; + } + [x86,v142,release,MultiThreadedDLL] { + lib: ..\msvs_solution\v142_Release_MD\libveg.lib; + } + [x86,v142,debug,MultiThreadedDebugDLL] { + lib: ..\msvs_solution\v142_Debug_MD\libveg.lib; + } + [x64,v142,release,MultiThreadedDLL] { + lib: ..\msvs_solution\x64\v142_Release_MD\libveg.lib; + } + [x64,v142,debug,MultiThreadedDebugDLL] { + lib: ..\msvs_solution\x64\v142_Debug_MD\libveg.lib; + } + + //==== v143 tools ==== + + [x86,v143,release,MultiThreaded] { + lib: ..\msvs_solution\v143_Release_MT\libveg.lib; + } + [x86,v143,debug,MultiThreadedDebug] { + lib: ..\msvs_solution\v143_Debug_MT\libveg.lib; + } + [x64,v143,release,MultiThreaded] { + lib: ..\msvs_solution\x64\v143_Release_MT\libveg.lib; + } + [x64,v143,debug,MultiThreadedDebug] { + lib: ..\msvs_solution\x64\v143_Debug_MT\libveg.lib; + } + [x86,v143,release,MultiThreadedDLL] { + lib: ..\msvs_solution\v143_Release_MD\libveg.lib; + } + [x86,v143,debug,MultiThreadedDebugDLL] { + lib: ..\msvs_solution\v143_Debug_MD\libveg.lib; + } + [x64,v143,release,MultiThreadedDLL] { + lib: ..\msvs_solution\x64\v143_Release_MD\libveg.lib; + } + [x64,v143,debug,MultiThreadedDebugDLL] { + lib: ..\msvs_solution\x64\v143_Debug_MD\libveg.lib; + } + } +} diff --git a/tests/makefile b/tests/makefile new file mode 100644 index 0000000..03e3f90 --- /dev/null +++ b/tests/makefile @@ -0,0 +1,3 @@ +include prorab.mk + +$(eval $(prorab-include-subdirs)) diff --git a/tests/unit/makefile b/tests/unit/makefile new file mode 100644 index 0000000..93c6425 --- /dev/null +++ b/tests/unit/makefile @@ -0,0 +1,21 @@ +include prorab.mk +include prorab-test.mk + +this_name := tests + +this_srcs += $(call prorab-src-dir, src) + +$(eval $(call prorab-config, ../../config)) + +this_ldlibs += ../../src/out/$(c)/libveg$(dot_so) -lutki -ltst -lrasterimage + +this_no_install := true + +$(eval $(prorab-build-app)) + +this_test_cmd := $(prorab_this_name) --junit-out=out/$(c)/junit.xml +this_test_deps := $(prorab_this_name) +this_test_ld_path := ../../src/out/$(c) +$(eval $(prorab-test)) + +$(eval $(call prorab-include, ../../src/makefile)) diff --git a/tests/unit/src/basic.cpp b/tests/unit/src/basic.cpp new file mode 100644 index 0000000..f9e36ec --- /dev/null +++ b/tests/unit/src/basic.cpp @@ -0,0 +1,8 @@ +#include +#include + +namespace{ +const tst::set set("basic", [](tst::suite& suite){ + // TODO: +}); +} \ No newline at end of file