1af8936522
Fixes #1442 Signed-off-by: Dave Thaler <dthaler@microsoft.com> Signed-off-by: Dave Thaler <dthaler@microsoft.com> |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
README.md | ||
drivers.xml |
README.md
Packaging instructions
Prerequisites
The WiX toolset should be installed and reachable via PATH.
Configure the main project with -DEBPFFORWINDOWS_ENABLE_INSTALL=true
cmake -S . -B build -DEBPFFORWINDOWS_ENABLE_INSTALL=true
Build and install the project
Note that this will install ebpf-for-windows to the /Program Files/ebpf-for-windows
directory. You can use the DESTDIR
environment variable to override this.
cmake --build . --config Debug --target install
Configure the packaging project
The generator can either be:
- WIX
- NuGet
scripts\create_package_data.bat x64\Release
cmake -S tools\setup -B build\setup -DEBPFFORWINDOWS_PROGRAM_DATA=".\x64\Release\package_data" -DEBPFFORWINDOWS_VERSION=1.0.0 -DCPACK_GENERATOR=WIX
Build the package
cmake --build build\setup --target package