From 0a69c504588d8561472328054065802d8d310759 Mon Sep 17 00:00:00 2001 From: Mike Leach Date: Thu, 20 Oct 2022 13:28:18 +0100 Subject: opencsd: build: Create windows VS2022 build directory Convert VS2015 build in a new directory for VS2022. Ensure all variants - debug, release for win32, win64 work. Fix up DLL example demo build for c_api_pkt_print_test program with library built as DLL. Fixup .gitignore for new generated files in VS2022 that do not need to appear in the repo. Signed-off-by: Mike Leach --- .../c_api_pkt_print_test.vcxproj | 346 +++++++++++++++++++++ 1 file changed, 346 insertions(+) create mode 100644 decoder/tests/build/win-vs2022/c_api_pkt_print_test/c_api_pkt_print_test.vcxproj (limited to 'decoder/tests/build/win-vs2022/c_api_pkt_print_test/c_api_pkt_print_test.vcxproj') diff --git a/decoder/tests/build/win-vs2022/c_api_pkt_print_test/c_api_pkt_print_test.vcxproj b/decoder/tests/build/win-vs2022/c_api_pkt_print_test/c_api_pkt_print_test.vcxproj new file mode 100644 index 0000000..05ff8b6 --- /dev/null +++ b/decoder/tests/build/win-vs2022/c_api_pkt_print_test/c_api_pkt_print_test.vcxproj @@ -0,0 +1,346 @@ + + + + + debug-dll + Win32 + + + debug-dll + x64 + + + Debug + Win32 + + + Debug + x64 + + + Release-dll + Win32 + + + Release-dll + x64 + + + Release + Win32 + + + Release + x64 + + + + + + + {3AC169DA-E156-4D16-95DF-73D7302A5606} + Win32Proj + c_api_pkt_print_test + 10.0 + + + + Application + true + MultiByte + v143 + + + Application + true + MultiByte + v143 + + + Application + true + MultiByte + v143 + + + Application + true + MultiByte + v143 + + + Application + false + true + MultiByte + v143 + + + Application + false + true + MultiByte + v143 + + + Application + false + true + MultiByte + v143 + + + Application + false + true + MultiByte + v143 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + true + ..\..\..\bin\win$(PlatformArchitecture)\dbg\ + + + true + ..\..\..\bin\win$(PlatformArchitecture)\dbg\ + $(ProjectName)_dll + + + true + ..\..\..\bin\win$(PlatformArchitecture)\dbg\ + + + true + ..\..\..\bin\win$(PlatformArchitecture)\dbg\ + $(ProjectName)_dll + + + false + ..\..\..\bin\win$(PlatformArchitecture)\rel\ + + + false + ..\..\..\bin\win$(PlatformArchitecture)\rel\ + $(ProjectName)_dll + + + false + ..\..\..\bin\win$(PlatformArchitecture)\rel\ + + + false + ..\..\..\bin\win$(PlatformArchitecture)\rel\ + $(ProjectName)_dll + + + + + + Level3 + Disabled + WIN32;_DEBUG;_CONSOLE;_CRT_SECURE_NO_WARNINGS;OCSD_USE_STATIC_C_API;%(PreprocessorDefinitions) + ..\..\..\..\include;..\..\..\..\tests\ext_dcd_test_eg\c_api_echo_test + + + Console + true + ..\..\..\..\lib\win$(PlatformArchitecture)\dbg\;..\..\..\..\tests\lib\win$(PlatformArchitecture)\dbg\ + lib$(LIB_CAPI_NAME).lib;lib$(LIB_BASE_NAME).lib;ext_dcd_echo_test.lib;%(AdditionalDependencies) + + + + + + + + + + + Level3 + Disabled + WIN32;_DEBUG;_CONSOLE;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions) + ..\..\..\..\include;..\..\..\..\tests\ext_dcd_test_eg\c_api_echo_test + + + Console + true + ..\..\..\..\lib\win$(PlatformArchitecture)\dbg\;..\..\..\..\tests\lib\win$(PlatformArchitecture)\dbg\ + lib$(LIB_CAPI_NAME).lib;ext_dcd_echo_test.lib;%(AdditionalDependencies) + + + copy ..\..\..\..\lib\win32\dbg\*.dll ..\..\..\bin\win32\dbg\. + + + false + + + + + + + Level3 + Disabled + WIN32;_DEBUG;_CONSOLE;_CRT_SECURE_NO_WARNINGS;OCSD_USE_STATIC_C_API;%(PreprocessorDefinitions) + ..\..\..\..\include;..\..\..\..\tests\ext_dcd_test_eg\c_api_echo_test + + + Console + true + lib$(LIB_CAPI_NAME).lib;lib$(LIB_BASE_NAME).lib;ext_dcd_echo_test.lib;%(AdditionalDependencies) + ..\..\..\..\lib\win$(PlatformArchitecture)\dbg\;..\..\..\..\tests\lib\win$(PlatformArchitecture)\dbg\ + + + + + + + Level3 + Disabled + WIN32;_DEBUG;_CONSOLE;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions) + ..\..\..\..\include;..\..\..\..\tests\ext_dcd_test_eg\c_api_echo_test + + + Console + true + lib$(LIB_CAPI_NAME).lib;ext_dcd_echo_test.lib;%(AdditionalDependencies) + ..\..\..\..\lib\win$(PlatformArchitecture)\dbg\;..\..\..\..\tests\lib\win$(PlatformArchitecture)\dbg\ + + + false + + + copy ..\..\..\..\lib\win64\dbg\*.dll ..\..\..\bin\win64\dbg\. + + + + + Level3 + + + MaxSpeed + true + true + WIN32;NDEBUG;_CONSOLE;_CRT_SECURE_NO_WARNINGS;OCSD_USE_STATIC_C_API;%(PreprocessorDefinitions) + ..\..\..\..\include;..\..\..\..\tests\ext_dcd_test_eg\c_api_echo_test + + + Console + true + true + true + ..\..\..\..\lib\win$(PlatformArchitecture)\rel\;..\..\..\..\tests\lib\win$(PlatformArchitecture)\rel\ + lib$(LIB_CAPI_NAME).lib;lib$(LIB_BASE_NAME).lib;ext_dcd_echo_test.lib;%(AdditionalDependencies) + + + + + Level3 + + + MaxSpeed + true + true + WIN32;NDEBUG;_CONSOLE;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions) + ..\..\..\..\include;..\..\..\..\tests\ext_dcd_test_eg\c_api_echo_test + + + Console + true + true + true + ..\..\..\..\lib\win$(PlatformArchitecture)\rel\;..\..\..\..\tests\lib\win$(PlatformArchitecture)\rel\ + lib$(LIB_CAPI_NAME).lib;ext_dcd_echo_test.lib;%(AdditionalDependencies) + + + false + + + copy ..\..\..\..\lib\win32\rel\*.dll ..\..\..\bin\win32\rel\. + + + + + Level3 + + + MaxSpeed + true + true + WIN32;NDEBUG;_CONSOLE;_CRT_SECURE_NO_WARNINGS;OCSD_USE_STATIC_C_API;%(PreprocessorDefinitions) + ..\..\..\..\include;..\..\..\..\tests\ext_dcd_test_eg\c_api_echo_test + + + Console + true + true + true + ..\..\..\..\lib\win$(PlatformArchitecture)\rel\;..\..\..\..\tests\lib\win$(PlatformArchitecture)\rel\ + lib$(LIB_CAPI_NAME).lib;lib$(LIB_BASE_NAME).lib;ext_dcd_echo_test.lib;%(AdditionalDependencies) + + + + + Level3 + + + MaxSpeed + true + true + WIN32;NDEBUG;_CONSOLE;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions) + ..\..\..\..\include;..\..\..\..\tests\ext_dcd_test_eg\c_api_echo_test + + + Console + true + true + true + ..\..\..\..\lib\win$(PlatformArchitecture)\rel\;..\..\..\..\tests\lib\win$(PlatformArchitecture)\rel\ + lib$(LIB_CAPI_NAME).lib;ext_dcd_echo_test.lib;%(AdditionalDependencies) + + + false + + + copy ..\..\..\..\lib\win64\rel\*.dll ..\..\..\bin\win64\rel\. + + + + + + \ No newline at end of file -- cgit v1.2.3 From f1afa1152da9bbcb201181f4ef53e4eba06c8215 Mon Sep 17 00:00:00 2001 From: Mike Leach Date: Thu, 19 Jan 2023 16:24:54 +0000 Subject: build: win32: debug: Enable ASAN for debug build ocsdlib has ASAN enabled for this build - follow suit with test progs to allow use of ASAN checks in debug. Signed-off-by: Mike Leach --- .../build/win-vs2022/c_api_pkt_print_test/c_api_pkt_print_test.vcxproj | 1 + 1 file changed, 1 insertion(+) (limited to 'decoder/tests/build/win-vs2022/c_api_pkt_print_test/c_api_pkt_print_test.vcxproj') diff --git a/decoder/tests/build/win-vs2022/c_api_pkt_print_test/c_api_pkt_print_test.vcxproj b/decoder/tests/build/win-vs2022/c_api_pkt_print_test/c_api_pkt_print_test.vcxproj index 05ff8b6..985a84e 100644 --- a/decoder/tests/build/win-vs2022/c_api_pkt_print_test/c_api_pkt_print_test.vcxproj +++ b/decoder/tests/build/win-vs2022/c_api_pkt_print_test/c_api_pkt_print_test.vcxproj @@ -55,6 +55,7 @@ true MultiByte v143 + true Application -- cgit v1.2.3