KhronosGroup / KhronosGroup/SPIRV-Cross
support spirv-cross C++ library via pkg-config
- Dominant language
- GLSL
- Stars
- 2.5k
- Forks
- 713
- Avg merge
- 2d 18h
- Merged PRs (30d)
- 16
Description
Can spirv-cross add support for using spirv-cross C++ library via pkg-config?
Something like: spirv-cross.pc.in
prefix=@CMAKE_INSTALL_PREFIX@
exec_prefix=${prefix}
libdir=${prefix}/lib
includedir=${prefix}/include
Name: spirv-cross
Description: SPIRV-Cross
Version: @SPIRV_CROSS_VERSION@
Requires:
Libs: -L${libdir} -lspirv-cross-cpp -lspirv-cross-core -lspirv-cross-glsl -lspirv-cross-hlsl -lspirv-cross-msl -lspirv-cross-reflect -lspirv-cross-util -lspirv-cross-c
Cflags: -I${includedir}
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the proposed spirv-cross.pc.in template and trace how installed library and header paths are configured. Add support for generating and installing pkg-config metadata for the SPIRV-Cross C++ library, including the listed libraries and include path, then verify that pkg-config exposes the expected flags.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- build-system
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100