https://github.com/rdb/panda3d-thirdparty
Scripts to build the thirdparty packages for Panda3D
https://github.com/rdb/panda3d-thirdparty
Last synced: about 1 year ago
JSON representation
Scripts to build the thirdparty packages for Panda3D
- Host: GitHub
- URL: https://github.com/rdb/panda3d-thirdparty
- Owner: rdb
- Created: 2016-04-19T13:29:06.000Z (about 10 years ago)
- Default Branch: main
- Last Pushed: 2024-11-07T14:52:54.000Z (over 1 year ago)
- Last Synced: 2024-11-07T15:46:39.716Z (over 1 year ago)
- Language: Python
- Size: 1.94 MB
- Stars: 34
- Watchers: 10
- Forks: 27
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
This repository contains a CMake script to build the thirdparty packages that
are necessary for building Panda3D.
Usage example on Windows:
mkdir build
cd build
cmake -G"Visual Studio 16 2019" -A x64 ..
# to build everything:
cmake --build . --config Release
# to just build ffmpeg and its dependencies:
cmake --build . --config Release --target ffmpeg
Usage example on other systems:
mkdir build
cd build
cmake ..
make ffmpeg # just build ffmpeg and dependencies
make all # build everything
Some packages are still forthcoming. The included packages are ticked.
- [x] artoolkit
- [x] assimp
- [x] bullet
- [x] eigen
- [x] fcollada
- [x] ffmpeg
- [ ] fmodex
- [x] freetype
- [x] harfbuzz
- [x] jpeg
- [x] mimalloc
- [x] nvidiacg (except arm64 or Android)
- [x] ode
- [x] openal
- [x] opencv (macOS only)
- [x] openexr
- [x] openssl
- [x] opus
- [x] png
- [x] squish
- [x] tiff
- [x] vorbis
- [x] vrpn
- [x] zlib
If you want to build a subset of packages, it is easiest to just pass the name
of the target to the build system. For example, to just build VRPN, you can
call `make vrpn` or add the `--target vrpn` flag to `cmake --build`.
This will still build its dependencies if one package depends on another one.
A way to force a certain package to be disabled is by using the `BUILD_*`
options, eg. `-DBUILD_VRPN=OFF` disables building VRPN, even if it is a
dependency of another package.