Add setup_build project to install git hook
Signed-off-by: Dave Thaler <dthaler@ntdev.microsoft.com>
This commit is contained in:
Родитель
2557f029b9
Коммит
09637441c5
|
@ -1 +1,14 @@
|
|||
*.sh text eol=lf
|
||||
# Files identified as text should be checked in with LFs, and checked
|
||||
# out with the platform-specific EOL markers.
|
||||
#
|
||||
# Essentially runs `git config core.autocrlf true` for every clone.
|
||||
* text=auto
|
||||
|
||||
# Bash shell scripts should always have LFs.
|
||||
*.sh text eol=lf
|
||||
/scripts/** text eol=lf
|
||||
|
||||
# Windows build files should always have CRLFs.
|
||||
*.sln text eol=crlf
|
||||
*.vcxproj text eol=crlf
|
||||
*.vcxproj.filters text eol=crlf
|
||||
|
|
10
README.md
10
README.md
|
@ -16,12 +16,10 @@ The following must be installed in order to build this project:
|
|||
|
||||
1. ```git clone -b demo --recurse-submodules https://msazure.visualstudio.com/DefaultCollection/One/_git/EdgeOS-CoreNetworking-WindowsEbpf```
|
||||
2. ```cd EdgeOS-CoreNetworking-WindowsEbpf```
|
||||
2. ```cd external\ebpf-verifier```
|
||||
3. ```cmake -B build```
|
||||
4. ```cd ..\..```
|
||||
5. Open ebpf-demo.sln
|
||||
6. Switch to debug / x64
|
||||
7. Build solution
|
||||
3. ```cmake -S external\ebpf-verifier -B external\ebpf-verifier\build```
|
||||
4. Open ebpf-demo.sln
|
||||
5. Switch to debug / x64
|
||||
6. Build solution
|
||||
|
||||
## Demo script
|
||||
|
||||
|
|
111
ebpf-demo.sln
111
ebpf-demo.sln
|
@ -3,7 +3,10 @@ Microsoft Visual Studio Solution File, Format Version 12.00
|
|||
# Visual Studio Version 16
|
||||
VisualStudioVersion = 16.0.30907.101
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ebpfverifier", "external\ebpf-verifier\build\ebpfverifier.vcxproj", "{BD587773-916F-365F-82C0-2E8DB12F40A0}"
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ebpfverifier", "external\ebpf-verifier\build\ebpfverifier.vcxproj", "{D2E4CAC3-B91E-3DD8-BBAC-D570EC568C8B}"
|
||||
ProjectSection(ProjectDependencies) = postProject
|
||||
{231EE32B-EBA4-4FE5-A55B-DB18F539D403} = {231EE32B-EBA4-4FE5-A55B-DB18F539D403}
|
||||
EndProjectSection
|
||||
EndProject
|
||||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "libs", "libs", "{B02E60AE-1254-459C-8824-AC6CDB6AE52E}"
|
||||
EndProject
|
||||
|
@ -12,34 +15,69 @@ EndProject
|
|||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "kernel", "kernel", "{7C2E30D9-E07F-4913-BD8A-345B38F18A81}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ubpf_kernel", "src\ebpf\libs\ubpf\kernel\ubpf_kernel.vcxproj", "{675B59F8-089E-40B5-8388-56254447CFA3}"
|
||||
ProjectSection(ProjectDependencies) = postProject
|
||||
{231EE32B-EBA4-4FE5-A55B-DB18F539D403} = {231EE32B-EBA4-4FE5-A55B-DB18F539D403}
|
||||
EndProjectSection
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "execution_context_kernel", "src\ebpf\libs\execution_context\kernel\execution_context_kernel.vcxproj", "{26E7ED0B-C128-4D7C-A90E-C246DEF40AD3}"
|
||||
ProjectSection(ProjectDependencies) = postProject
|
||||
{231EE32B-EBA4-4FE5-A55B-DB18F539D403} = {231EE32B-EBA4-4FE5-A55B-DB18F539D403}
|
||||
EndProjectSection
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "execution_context_user", "src\ebpf\libs\execution_context\user\execution_context_user.vcxproj", "{18127B0D-8381-4AFE-9A3A-CF53241992D3}"
|
||||
ProjectSection(ProjectDependencies) = postProject
|
||||
{231EE32B-EBA4-4FE5-A55B-DB18F539D403} = {231EE32B-EBA4-4FE5-A55B-DB18F539D403}
|
||||
EndProjectSection
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ubpf_user", "src\ebpf\libs\ubpf\user\ubpf_user.vcxproj", "{245F0EC7-1EBC-4D68-8B1F-F758EA9196AE}"
|
||||
ProjectSection(ProjectDependencies) = postProject
|
||||
{231EE32B-EBA4-4FE5-A55B-DB18F539D403} = {231EE32B-EBA4-4FE5-A55B-DB18F539D403}
|
||||
EndProjectSection
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "api", "src\ebpf\libs\api\api.vcxproj", "{C8BF60C3-40A9-43AD-891A-8AA34F1C3A68}"
|
||||
ProjectSection(ProjectDependencies) = postProject
|
||||
{231EE32B-EBA4-4FE5-A55B-DB18F539D403} = {231EE32B-EBA4-4FE5-A55B-DB18F539D403}
|
||||
EndProjectSection
|
||||
EndProject
|
||||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "driver", "driver", "{97D3096A-20FB-4ACB-A038-88E652FE61E3}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "EbpfCore", "src\ebpf\sys\EbpfCore.vcxproj", "{97E52ABB-2F1E-4AD2-AEFD-6EB7FDC0A41D}"
|
||||
ProjectSection(ProjectDependencies) = postProject
|
||||
{231EE32B-EBA4-4FE5-A55B-DB18F539D403} = {231EE32B-EBA4-4FE5-A55B-DB18F539D403}
|
||||
EndProjectSection
|
||||
EndProject
|
||||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "dlls", "dlls", "{6129CA61-41A8-49B8-9694-B953C38570BD}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "EbpfApi", "src\ebpf\dll\ebpfapi.vcxproj", "{75FE223A-3E45-4B0E-A2E8-04285E52E440}"
|
||||
ProjectSection(ProjectDependencies) = postProject
|
||||
{231EE32B-EBA4-4FE5-A55B-DB18F539D403} = {231EE32B-EBA4-4FE5-A55B-DB18F539D403}
|
||||
EndProjectSection
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ebpfnetsh", "src\tools\netsh\ebpfnetsh.vcxproj", "{74803F80-A8BD-4A03-862B-FA96648A9BF6}"
|
||||
ProjectSection(ProjectDependencies) = postProject
|
||||
{231EE32B-EBA4-4FE5-A55B-DB18F539D403} = {231EE32B-EBA4-4FE5-A55B-DB18F539D403}
|
||||
EndProjectSection
|
||||
EndProject
|
||||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "tools", "tools", "{B09749EC-3D14-414B-BA9B-CD20E218DC84}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "dnsflood", "src\tools\dnsflood\dnsflood.vcxproj", "{21236F4F-341C-454F-B55B-C653897AB3E8}"
|
||||
ProjectSection(ProjectDependencies) = postProject
|
||||
{231EE32B-EBA4-4FE5-A55B-DB18F539D403} = {231EE32B-EBA4-4FE5-A55B-DB18F539D403}
|
||||
EndProjectSection
|
||||
EndProject
|
||||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "test", "test", "{492C9B22-9237-4996-9E33-CA14D3533616}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "sample", "src\test\sample\sample.vcxproj", "{B4AD72E3-754E-40CA-9CEA-D3F2C9170E51}"
|
||||
ProjectSection(ProjectDependencies) = postProject
|
||||
{231EE32B-EBA4-4FE5-A55B-DB18F539D403} = {231EE32B-EBA4-4FE5-A55B-DB18F539D403}
|
||||
EndProjectSection
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "end_to_end", "src\test\end_to_end\end_to_end.vcxproj", "{43B63487-B277-4912-BDA8-C805347B4BA8}"
|
||||
ProjectSection(ProjectDependencies) = postProject
|
||||
{231EE32B-EBA4-4FE5-A55B-DB18F539D403} = {231EE32B-EBA4-4FE5-A55B-DB18F539D403}
|
||||
EndProjectSection
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "setup_build", "scripts\setup_build\setup_build.vcxproj", "{231EE32B-EBA4-4FE5-A55B-DB18F539D403}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
|
@ -61,26 +99,26 @@ Global
|
|||
RelWithDebInfo|x86 = RelWithDebInfo|x86
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{BD587773-916F-365F-82C0-2E8DB12F40A0}.Debug|ARM.ActiveCfg = Debug|x64
|
||||
{BD587773-916F-365F-82C0-2E8DB12F40A0}.Debug|ARM64.ActiveCfg = Debug|x64
|
||||
{BD587773-916F-365F-82C0-2E8DB12F40A0}.Debug|x64.ActiveCfg = Debug|x64
|
||||
{BD587773-916F-365F-82C0-2E8DB12F40A0}.Debug|x64.Build.0 = Debug|x64
|
||||
{BD587773-916F-365F-82C0-2E8DB12F40A0}.Debug|x86.ActiveCfg = Debug|x64
|
||||
{BD587773-916F-365F-82C0-2E8DB12F40A0}.MinSizeRel|ARM.ActiveCfg = MinSizeRel|x64
|
||||
{BD587773-916F-365F-82C0-2E8DB12F40A0}.MinSizeRel|ARM64.ActiveCfg = MinSizeRel|x64
|
||||
{BD587773-916F-365F-82C0-2E8DB12F40A0}.MinSizeRel|x64.ActiveCfg = MinSizeRel|x64
|
||||
{BD587773-916F-365F-82C0-2E8DB12F40A0}.MinSizeRel|x64.Build.0 = MinSizeRel|x64
|
||||
{BD587773-916F-365F-82C0-2E8DB12F40A0}.MinSizeRel|x86.ActiveCfg = MinSizeRel|x64
|
||||
{BD587773-916F-365F-82C0-2E8DB12F40A0}.Release|ARM.ActiveCfg = Release|x64
|
||||
{BD587773-916F-365F-82C0-2E8DB12F40A0}.Release|ARM64.ActiveCfg = Release|x64
|
||||
{BD587773-916F-365F-82C0-2E8DB12F40A0}.Release|x64.ActiveCfg = MinSizeRel|x64
|
||||
{BD587773-916F-365F-82C0-2E8DB12F40A0}.Release|x64.Build.0 = MinSizeRel|x64
|
||||
{BD587773-916F-365F-82C0-2E8DB12F40A0}.Release|x86.ActiveCfg = Release|x64
|
||||
{BD587773-916F-365F-82C0-2E8DB12F40A0}.RelWithDebInfo|ARM.ActiveCfg = RelWithDebInfo|x64
|
||||
{BD587773-916F-365F-82C0-2E8DB12F40A0}.RelWithDebInfo|ARM64.ActiveCfg = RelWithDebInfo|x64
|
||||
{BD587773-916F-365F-82C0-2E8DB12F40A0}.RelWithDebInfo|x64.ActiveCfg = RelWithDebInfo|x64
|
||||
{BD587773-916F-365F-82C0-2E8DB12F40A0}.RelWithDebInfo|x64.Build.0 = RelWithDebInfo|x64
|
||||
{BD587773-916F-365F-82C0-2E8DB12F40A0}.RelWithDebInfo|x86.ActiveCfg = RelWithDebInfo|x64
|
||||
{D2E4CAC3-B91E-3DD8-BBAC-D570EC568C8B}.Debug|ARM.ActiveCfg = Debug|x64
|
||||
{D2E4CAC3-B91E-3DD8-BBAC-D570EC568C8B}.Debug|ARM64.ActiveCfg = Debug|x64
|
||||
{D2E4CAC3-B91E-3DD8-BBAC-D570EC568C8B}.Debug|x64.ActiveCfg = Debug|x64
|
||||
{D2E4CAC3-B91E-3DD8-BBAC-D570EC568C8B}.Debug|x64.Build.0 = Debug|x64
|
||||
{D2E4CAC3-B91E-3DD8-BBAC-D570EC568C8B}.Debug|x86.ActiveCfg = Debug|x64
|
||||
{D2E4CAC3-B91E-3DD8-BBAC-D570EC568C8B}.MinSizeRel|ARM.ActiveCfg = MinSizeRel|x64
|
||||
{D2E4CAC3-B91E-3DD8-BBAC-D570EC568C8B}.MinSizeRel|ARM64.ActiveCfg = MinSizeRel|x64
|
||||
{D2E4CAC3-B91E-3DD8-BBAC-D570EC568C8B}.MinSizeRel|x64.ActiveCfg = MinSizeRel|x64
|
||||
{D2E4CAC3-B91E-3DD8-BBAC-D570EC568C8B}.MinSizeRel|x64.Build.0 = MinSizeRel|x64
|
||||
{D2E4CAC3-B91E-3DD8-BBAC-D570EC568C8B}.MinSizeRel|x86.ActiveCfg = MinSizeRel|x64
|
||||
{D2E4CAC3-B91E-3DD8-BBAC-D570EC568C8B}.Release|ARM.ActiveCfg = Release|x64
|
||||
{D2E4CAC3-B91E-3DD8-BBAC-D570EC568C8B}.Release|ARM64.ActiveCfg = Release|x64
|
||||
{D2E4CAC3-B91E-3DD8-BBAC-D570EC568C8B}.Release|x64.ActiveCfg = MinSizeRel|x64
|
||||
{D2E4CAC3-B91E-3DD8-BBAC-D570EC568C8B}.Release|x64.Build.0 = MinSizeRel|x64
|
||||
{D2E4CAC3-B91E-3DD8-BBAC-D570EC568C8B}.Release|x86.ActiveCfg = Release|x64
|
||||
{D2E4CAC3-B91E-3DD8-BBAC-D570EC568C8B}.RelWithDebInfo|ARM.ActiveCfg = RelWithDebInfo|x64
|
||||
{D2E4CAC3-B91E-3DD8-BBAC-D570EC568C8B}.RelWithDebInfo|ARM64.ActiveCfg = RelWithDebInfo|x64
|
||||
{D2E4CAC3-B91E-3DD8-BBAC-D570EC568C8B}.RelWithDebInfo|x64.ActiveCfg = RelWithDebInfo|x64
|
||||
{D2E4CAC3-B91E-3DD8-BBAC-D570EC568C8B}.RelWithDebInfo|x64.Build.0 = RelWithDebInfo|x64
|
||||
{D2E4CAC3-B91E-3DD8-BBAC-D570EC568C8B}.RelWithDebInfo|x86.ActiveCfg = RelWithDebInfo|x64
|
||||
{675B59F8-089E-40B5-8388-56254447CFA3}.Debug|ARM.ActiveCfg = Debug|ARM
|
||||
{675B59F8-089E-40B5-8388-56254447CFA3}.Debug|ARM.Build.0 = Debug|ARM
|
||||
{675B59F8-089E-40B5-8388-56254447CFA3}.Debug|ARM.Deploy.0 = Debug|ARM
|
||||
|
@ -449,12 +487,40 @@ Global
|
|||
{43B63487-B277-4912-BDA8-C805347B4BA8}.RelWithDebInfo|x64.Build.0 = Release|x64
|
||||
{43B63487-B277-4912-BDA8-C805347B4BA8}.RelWithDebInfo|x86.ActiveCfg = Release|Win32
|
||||
{43B63487-B277-4912-BDA8-C805347B4BA8}.RelWithDebInfo|x86.Build.0 = Release|Win32
|
||||
{231EE32B-EBA4-4FE5-A55B-DB18F539D403}.Debug|ARM.ActiveCfg = Debug|Win32
|
||||
{231EE32B-EBA4-4FE5-A55B-DB18F539D403}.Debug|ARM64.ActiveCfg = Debug|Win32
|
||||
{231EE32B-EBA4-4FE5-A55B-DB18F539D403}.Debug|x64.ActiveCfg = Debug|x64
|
||||
{231EE32B-EBA4-4FE5-A55B-DB18F539D403}.Debug|x64.Build.0 = Debug|x64
|
||||
{231EE32B-EBA4-4FE5-A55B-DB18F539D403}.Debug|x86.ActiveCfg = Debug|Win32
|
||||
{231EE32B-EBA4-4FE5-A55B-DB18F539D403}.Debug|x86.Build.0 = Debug|Win32
|
||||
{231EE32B-EBA4-4FE5-A55B-DB18F539D403}.MinSizeRel|ARM.ActiveCfg = Debug|Win32
|
||||
{231EE32B-EBA4-4FE5-A55B-DB18F539D403}.MinSizeRel|ARM.Build.0 = Debug|Win32
|
||||
{231EE32B-EBA4-4FE5-A55B-DB18F539D403}.MinSizeRel|ARM64.ActiveCfg = Debug|Win32
|
||||
{231EE32B-EBA4-4FE5-A55B-DB18F539D403}.MinSizeRel|ARM64.Build.0 = Debug|Win32
|
||||
{231EE32B-EBA4-4FE5-A55B-DB18F539D403}.MinSizeRel|x64.ActiveCfg = Debug|x64
|
||||
{231EE32B-EBA4-4FE5-A55B-DB18F539D403}.MinSizeRel|x64.Build.0 = Debug|x64
|
||||
{231EE32B-EBA4-4FE5-A55B-DB18F539D403}.MinSizeRel|x86.ActiveCfg = Debug|Win32
|
||||
{231EE32B-EBA4-4FE5-A55B-DB18F539D403}.MinSizeRel|x86.Build.0 = Debug|Win32
|
||||
{231EE32B-EBA4-4FE5-A55B-DB18F539D403}.Release|ARM.ActiveCfg = Release|Win32
|
||||
{231EE32B-EBA4-4FE5-A55B-DB18F539D403}.Release|ARM64.ActiveCfg = Release|Win32
|
||||
{231EE32B-EBA4-4FE5-A55B-DB18F539D403}.Release|x64.ActiveCfg = Release|x64
|
||||
{231EE32B-EBA4-4FE5-A55B-DB18F539D403}.Release|x64.Build.0 = Release|x64
|
||||
{231EE32B-EBA4-4FE5-A55B-DB18F539D403}.Release|x86.ActiveCfg = Release|Win32
|
||||
{231EE32B-EBA4-4FE5-A55B-DB18F539D403}.Release|x86.Build.0 = Release|Win32
|
||||
{231EE32B-EBA4-4FE5-A55B-DB18F539D403}.RelWithDebInfo|ARM.ActiveCfg = Debug|Win32
|
||||
{231EE32B-EBA4-4FE5-A55B-DB18F539D403}.RelWithDebInfo|ARM.Build.0 = Debug|Win32
|
||||
{231EE32B-EBA4-4FE5-A55B-DB18F539D403}.RelWithDebInfo|ARM64.ActiveCfg = Debug|Win32
|
||||
{231EE32B-EBA4-4FE5-A55B-DB18F539D403}.RelWithDebInfo|ARM64.Build.0 = Debug|Win32
|
||||
{231EE32B-EBA4-4FE5-A55B-DB18F539D403}.RelWithDebInfo|x64.ActiveCfg = Release|x64
|
||||
{231EE32B-EBA4-4FE5-A55B-DB18F539D403}.RelWithDebInfo|x64.Build.0 = Release|x64
|
||||
{231EE32B-EBA4-4FE5-A55B-DB18F539D403}.RelWithDebInfo|x86.ActiveCfg = Release|Win32
|
||||
{231EE32B-EBA4-4FE5-A55B-DB18F539D403}.RelWithDebInfo|x86.Build.0 = Release|Win32
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
GlobalSection(NestedProjects) = preSolution
|
||||
{BD587773-916F-365F-82C0-2E8DB12F40A0} = {69CDB6A1-434D-4BC9-9BFF-D12DF7EDBB6B}
|
||||
{D2E4CAC3-B91E-3DD8-BBAC-D570EC568C8B} = {69CDB6A1-434D-4BC9-9BFF-D12DF7EDBB6B}
|
||||
{69CDB6A1-434D-4BC9-9BFF-D12DF7EDBB6B} = {B02E60AE-1254-459C-8824-AC6CDB6AE52E}
|
||||
{7C2E30D9-E07F-4913-BD8A-345B38F18A81} = {B02E60AE-1254-459C-8824-AC6CDB6AE52E}
|
||||
{675B59F8-089E-40B5-8388-56254447CFA3} = {7C2E30D9-E07F-4913-BD8A-345B38F18A81}
|
||||
|
@ -468,6 +534,7 @@ Global
|
|||
{21236F4F-341C-454F-B55B-C653897AB3E8} = {B09749EC-3D14-414B-BA9B-CD20E218DC84}
|
||||
{B4AD72E3-754E-40CA-9CEA-D3F2C9170E51} = {492C9B22-9237-4996-9E33-CA14D3533616}
|
||||
{43B63487-B277-4912-BDA8-C805347B4BA8} = {492C9B22-9237-4996-9E33-CA14D3533616}
|
||||
{231EE32B-EBA4-4FE5-A55B-DB18F539D403} = {B09749EC-3D14-414B-BA9B-CD20E218DC84}
|
||||
EndGlobalSection
|
||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||
SolutionGuid = {3D5F862D-74C6-4357-9F95-0B152E33B7B8}
|
||||
|
|
|
@ -38,7 +38,7 @@ fi
|
|||
scripts=$(git rev-parse --show-toplevel)/scripts
|
||||
|
||||
if ! "$scripts/format-code" --quiet --whatif --files="${files[*]}"; then
|
||||
exit_ "Commit failed: please run './scripts/format-code --staged' to fix the formatting"
|
||||
exit_ "Commit failed: to fix the formatting please run './scripts/format-code --staged' in bash or '.\\scripts\\format-code.ps1 --staged' in powershell"
|
||||
fi
|
||||
if ! "$scripts/check-license.sh" "${files[@]}"; then
|
||||
exit_ "Commit failed: please add license headers to the above files"
|
||||
|
|
|
@ -0,0 +1,155 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup Label="ProjectConfigurations">
|
||||
<ProjectConfiguration Include="Debug|Win32">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|Win32">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Debug|x64">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|x64">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<CopyFileToFolders Include="..\pre-commit">
|
||||
<FileType>Document</FileType>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">echo copy %(FullPath) $(SolutionDir).git\hooks</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(SolutionDir).git\hooks\%(Filename)</Outputs>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">echo copy %(FullPath) $(SolutionDir).git\hooks</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(SolutionDir).git\hooks\%(Filename)</Outputs>
|
||||
<DestinationFolders Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(SolutionDir).git\hooks</DestinationFolders>
|
||||
<DestinationFolders Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(SolutionDir).git\hooks</DestinationFolders>
|
||||
</CopyFileToFolders>
|
||||
</ItemGroup>
|
||||
<PropertyGroup Label="Globals">
|
||||
<VCProjectVersion>16.0</VCProjectVersion>
|
||||
<Keyword>Win32Proj</Keyword>
|
||||
<ProjectGuid>{231ee32b-eba4-4fe5-a55b-db18f539d403}</ProjectGuid>
|
||||
<RootNamespace>setupbuild</RootNamespace>
|
||||
<WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
<PlatformToolset>v142</PlatformToolset>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
<PlatformToolset>v142</PlatformToolset>
|
||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
<PlatformToolset>v142</PlatformToolset>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
<PlatformToolset>v142</PlatformToolset>
|
||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||
<ImportGroup Label="ExtensionSettings">
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="Shared">
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<PropertyGroup Label="UserMacros" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<LinkIncremental>true</LinkIncremental>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<LinkIncremental>false</LinkIncremental>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
<LinkIncremental>true</LinkIncremental>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
<LinkIncremental>false</LinkIncremental>
|
||||
</PropertyGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<ClCompile>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<SDLCheck>true</SDLCheck>
|
||||
<PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Console</SubSystem>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<ClCompile>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||
<SDLCheck>true</SDLCheck>
|
||||
<PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Console</SubSystem>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
<ClCompile>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<SDLCheck>true</SDLCheck>
|
||||
<PreprocessorDefinitions>_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Console</SubSystem>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
<ClCompile>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||
<SDLCheck>true</SDLCheck>
|
||||
<PreprocessorDefinitions>NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Console</SubSystem>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
<ImportGroup Label="ExtensionTargets">
|
||||
</ImportGroup>
|
||||
</Project>
|
|
@ -0,0 +1,22 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup>
|
||||
<Filter Include="Source Files">
|
||||
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
|
||||
<Extensions>cpp;c;cc;cxx;c++;cppm;ixx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
|
||||
</Filter>
|
||||
<Filter Include="Header Files">
|
||||
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
|
||||
<Extensions>h;hh;hpp;hxx;h++;hm;inl;inc;ipp;xsd</Extensions>
|
||||
</Filter>
|
||||
<Filter Include="Resource Files">
|
||||
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
|
||||
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
|
||||
</Filter>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<CopyFileToFolders Include="..\pre-commit">
|
||||
<Filter>Source Files</Filter>
|
||||
</CopyFileToFolders>
|
||||
</ItemGroup>
|
||||
</Project>
|
|
@ -127,7 +127,7 @@
|
|||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\..\..\external\ebpf-verifier\build\ebpfverifier.vcxproj">
|
||||
<Project>{bd587773-916f-365f-82c0-2e8db12f40a0}</Project>
|
||||
<Project>{d2e4cac3-b91e-3dd8-bbac-d570ec568c8b}</Project>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\libs\api\api.vcxproj">
|
||||
<Project>{c8bf60c3-40a9-43ad-891a-8aa34f1c3a68}</Project>
|
||||
|
|
Загрузка…
Ссылка в новой задаче