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
- Host: GitHub
- URL: https://github.com/bekraft/bitubocctwin
- Owner: bekraft
- License: mit
- Created: 2024-06-08T16:45:31.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-06-11T12:38:44.000Z (almost 2 years ago)
- Last Synced: 2025-02-10T22:35:26.402Z (over 1 year ago)
- Topics: nuget-package, occt, opencascade
- Language: PowerShell
- Homepage:
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.