From 80201624cc42760a3440e5e1a8846b6c525acf65 Mon Sep 17 00:00:00 2001 From: Alan Jowett Date: Fri, 13 Dec 2024 08:38:26 -0800 Subject: [PATCH] Build only ELF during cross-compilation Signed-off-by: Alan Jowett --- tests/sample/sample.vcxproj | 43 +++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/tests/sample/sample.vcxproj b/tests/sample/sample.vcxproj index 739ff4bcda..19445a4134 100644 --- a/tests/sample/sample.vcxproj +++ b/tests/sample/sample.vcxproj @@ -269,6 +269,27 @@ true + + + + CppCode + + $(ClangExec) $(ClangFlags) -I../xdp -I../socket -I./ext/inc -I../../netebpfext -c %(Filename).c -o $(OutputPath)%(Filename).o + + $(OutputPath)%(Filename).o + + true + + + + Document + + xcopy unsafe\%(Filename).o $(OutputPath) /Y + + $(OutputPath)%(Filename).o + true + + + true + + @@ -359,6 +391,17 @@ true + + + CppCode + + $(ClangExec) $(ClangFlags) -I../xdp -I../socket -I./ext/inc -I../../netebpfext -c custom_program_type\%(Filename).c -o $(OutputPath)%(Filename).o + + $(OutputPath)%(Filename).o;$(OutputPath)%(Filename)_um.dll;$(OutputPath)%(Filename).sys + + true + + CppCode