vcpkg/ports/sfml/vcpkg.json
simolis3 163b97d462
[sfml] Add different libraries as features (#41866)
Co-authored-by: Kai Pastor <dg0yt@darc.de>
2024-11-01 00:48:41 -07:00

62 lines
1.1 KiB
JSON

{
"name": "sfml",
"version": "2.6.1",
"port-version": 1,
"description": "Simple and fast multimedia library",
"homepage": "https://github.com/SFML/SFML",
"license": "Zlib",
"dependencies": [
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}
],
"default-features": [
"audio",
"graphics",
"network",
"window"
],
"features": {
"audio": {
"description": "Use sfml-audio library",
"dependencies": [
"libflac",
"libogg",
"libvorbis",
"openal-soft"
]
},
"graphics": {
"description": "Use sfml-graphics library",
"dependencies": [
{
"name": "freetype",
"default-features": false
},
{
"name": "sfml",
"default-features": false,
"features": [
"window"
]
},
"stb"
]
},
"network": {
"description": "Use sfml-network library"
},
"window": {
"description": "Use sfml-window library",
"dependencies": [
"opengl"
]
}
}
}