document pkg-config

This commit is contained in:
Hunter 2024-09-29 10:41:31 -04:00
parent 3183c676de
commit 8ff3047aec
3 changed files with 16 additions and 24 deletions

View file

@ -5,7 +5,7 @@ Extensions can be loaded at runtime using grbc_ext(...), functions are then dump
Extensions are built into the grbc executable, or can be compiled as a shared library and put into ```/usr/local/share/grbc/extensions```, ```C:\GRBC\Extensions\```, or ```~/.local/share/grbc/extensions``` Extensions are built into the grbc executable, or can be compiled as a shared library and put into ```/usr/local/share/grbc/extensions```, ```C:\GRBC\Extensions\```, or ```~/.local/share/grbc/extensions```
## Extension list ## Extension list
* GRBC_EXT_pkg_config [NOSUPPORT] * GRBC_EXT_pkg_config
* GRBC_EXT_multi_file [NOSUPPORT] * GRBC_EXT_multi_file [NOSUPPORT]
* GRBC_EXT_cmake [NOSUPPORT] * GRBC_EXT_cmake [NOSUPPORT]

View file

@ -1,23 +0,0 @@
# GRBC_EXT_multi_file
Multiple file support
## Support
GRBC_EXT_multi_file is supported on all systems
## Example
```lua
-- No need to check since its always present!
grbc_ext("GRBC_EXT_multi_file")
-- Load a project from a folder which contains an HConfig file
grbc_multi_file_import("FusionVk")
-- Load a project from a file besides HConfig
grbc_multi_file_import("OtherProject.hcfg")
```
## Functions
### grbc_multi_file_import(file_path: String) -> Void
Import a project from the given folder

View file

@ -0,0 +1,15 @@
# GRBC_EXT_pkg_config
pkg-config support in GRBC
## About
Author: Interfiber
Release Date: 9/29/24
## Example
```lua
-- Load extension
grbc_ext("GRBC_EXT_pkg_config")
-- Get a Package object for the given package
grbc_pkg_config("lua")
```