From 3db6413ab08516d5c939611f254dbcff0c09bf5d Mon Sep 17 00:00:00 2001 From: segfault Date: Sun, 18 Sep 2022 16:15:38 +0200 Subject: Fixed VS2019 build. Signed-off-by: Toni Uhlig --- windows/nDPI.sln | 3 - windows/nDPI.vcxproj | 153 ++----------------------------------------- windows/nDPI.vcxproj.filters | 7 +- windows/src/ndpi_config.h | 3 + 4 files changed, 16 insertions(+), 150 deletions(-) create mode 100644 windows/src/ndpi_config.h (limited to 'windows') diff --git a/windows/nDPI.sln b/windows/nDPI.sln index e98141873..23caaf218 100644 --- a/windows/nDPI.sln +++ b/windows/nDPI.sln @@ -8,13 +8,10 @@ EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|x64 = Debug|x64 - Release|x64 = Release|x64 EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution {7331961B-A2B5-45B1-B144-AFDEFBB0EB01}.Debug|x64.ActiveCfg = Debug|x64 {7331961B-A2B5-45B1-B144-AFDEFBB0EB01}.Debug|x64.Build.0 = Debug|x64 - {7331961B-A2B5-45B1-B144-AFDEFBB0EB01}.Release|x64.ActiveCfg = Release|x64 - {7331961B-A2B5-45B1-B144-AFDEFBB0EB01}.Release|x64.Build.0 = Release|x64 EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE diff --git a/windows/nDPI.vcxproj b/windows/nDPI.vcxproj index f7f74d0e7..e83f270a7 100644 --- a/windows/nDPI.vcxproj +++ b/windows/nDPI.vcxproj @@ -1,22 +1,10 @@  - - Debug - Win32 - Debug x64 - - Release - Win32 - - - Release - x64 - {7331961B-A2B5-45B1-B144-AFDEFBB0EB01} @@ -26,26 +14,6 @@ 10.0 - - DynamicLibrary - v140 - true - Unicode - false - - - DynamicLibrary - v142 - true - Unicode - false - - - StaticLibrary - v140 - MultiByte - false - DynamicLibrary v142 @@ -55,15 +23,6 @@ - - - - - - - - - @@ -71,54 +30,12 @@ <_ProjectFileVersion>11.0.50727.1 - - $(ProjectDir)bin\$(Platform)_$(Configuration)\ - $(SolutionDir)obj\$(ProjectName)_$(Configuration)_$(Platform)\ - true - true $(SolutionDir)obj\$(ProjectName)_$(Configuration)_$(Platform)\ $(ProjectDir)bin\$(Platform)_$(Configuration)\ - $(ProjectDir);$(ProjectDir)dummy\folder\;$(IncludePath) - - - $(ProjectDir)bin\$(Platform)_$(Configuration)\ - $(SolutionDir)obj\$(ProjectName)_$(Configuration)_$(Platform)\ - false - $(ProjectDir);$(ProjectDir)dummy\folder\;$(IncludePath) - - - false - $(SolutionDir)obj\$(ProjectName)_$(Configuration)_$(Platform)\ - $(ProjectDir)bin\$(Platform)_$(Configuration)\ - $(ProjectDir);$(ProjectDir)dummy\folder\;$(IncludePath) + $(IncludePath) - - - Disabled - $(ProjectDir)..\src\lib\protocols\;$(ProjectDir)..\src\include\;$(ProjectDir)..\;$(ProjectDir)..\src\lib\third_party\include\;%(AdditionalIncludeDirectories) - WIN32;_DEBUG;_WINDOWS;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions) - false - Default - MultiThreadedDebugDLL - - Level3 - ProgramDatabase - false - $(TargetDir)$(TargetName).pdb - false - true - - - true - Windows - MachineX86 - Ws2_32.lib;%(AdditionalDependencies) - true - true - - Disabled @@ -147,67 +64,6 @@ - - - WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions) - MultiThreaded - - TurnOffAllWarnings - None - $(ProjectDir)..\src\lib\protocols\;$(ProjectDir)..\src\include\;$(ProjectDir)..\;$(ProjectDir)..\src\lib\third_party\include\;%(AdditionalIncludeDirectories) - Full - AnySuitable - true - Speed - true - true - true - $(TargetDir)$(TargetName).pdb - true - $(ProjectDir);%(AdditionalUsingDirectories) - true - Sync - - - false - Console - true - true - MachineX86 - Ws2_32.lib;%(AdditionalDependencies) - - - - - WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions) - MultiThreaded - - - TurnOffAllWarnings - None - $(ProjectDir)..\src\lib\protocols\;$(ProjectDir)..\src\include\;$(ProjectDir)..\;$(ProjectDir)..\src\lib\third_party\include\;%(AdditionalIncludeDirectories) - Full - AnySuitable - true - Speed - true - true - true - $(TargetDir)$(TargetName).pdb - true - $(ProjectDir);%(AdditionalUsingDirectories) - Sync - true - Default - - - false - Console - true - true - Ws2_32.lib;%(AdditionalDependencies) - - @@ -233,6 +89,7 @@ + @@ -255,6 +112,7 @@ + @@ -269,6 +127,7 @@ + @@ -422,7 +281,6 @@ - @@ -446,8 +304,11 @@ + + + diff --git a/windows/nDPI.vcxproj.filters b/windows/nDPI.vcxproj.filters index 5f296cd2a..e4af1e99b 100644 --- a/windows/nDPI.vcxproj.filters +++ b/windows/nDPI.vcxproj.filters @@ -228,10 +228,12 @@ + + + - @@ -284,9 +286,12 @@ third_party + + + diff --git a/windows/src/ndpi_config.h b/windows/src/ndpi_config.h new file mode 100644 index 000000000..5e96b1f81 --- /dev/null +++ b/windows/src/ndpi_config.h @@ -0,0 +1,3 @@ +#pragma once + +#define NDPI_GIT_RELEASE "unknown" \ No newline at end of file -- cgit v1.2.3