ebpf-for-windows/tools/setup
Dave Thaler 1af8936522
Split runtime component in two for base/native vs JIT additions (#1450)
Fixes #1442

Signed-off-by: Dave Thaler <dthaler@microsoft.com>

Signed-off-by: Dave Thaler <dthaler@microsoft.com>
2022-10-10 10:17:03 -07:00
..
CMakeLists.txt Split runtime component in two for base/native vs JIT additions (#1450) 2022-10-10 10:17:03 -07:00
README.md MSI should install drivers and services (#1271) 2022-07-08 12:58:56 -07:00
drivers.xml MSI should install drivers and services (#1271) 2022-07-08 12:58:56 -07:00

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