An open API service indexing awesome lists of open source software.

https://github.com/bekraft/bitubocctwin

OpenCascasde nuget redistribution package builder
https://github.com/bekraft/bitubocctwin

nuget-package occt opencascade

Last synced: about 1 year ago
JSON representation

OpenCascasde nuget redistribution package builder

Awesome Lists containing this project

README

          

# Bitub OCCT Redistribution Builder

Open Cascade (Occt) binary NuGet package builder. Builds and packages Occt as x86 and x64 prebuilt binaries
and headers files into a single nuget package.

See https://github.com/Open-Cascade-SAS/OCCT.

## Contents

- packages Occt libraries into `lib/native/`
- copies header files into `build/native/include`

## Build Nuget package

Builds Occt binaries with vcpkg from https://vcpkg.link/ports/opencascade. Either uses vcpkg shipped with Visual Studio (if installed during installation) or a manually installed vcpkg toolchain. See https://github.com/microsoft/vcpkg.

Run
```bash
./build.cmd
nuget pack .\Bitub.Occt.Win10.nuspec
```

## Add prebuilt Nuget package to VC project

Within the consuming project create a file `package.config`:
```xml

```

Add an additional `ImportGroup` to the consumer project configuration:
```xml



```

Let the entire solution being reloaded.