document pkg-config
This commit is contained in:
parent
3183c676de
commit
8ff3047aec
|
@ -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]
|
||||||
|
|
||||||
|
|
|
@ -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
|
|
15
spec/ext/GRBC_EXT_pkg_config.md
Normal file
15
spec/ext/GRBC_EXT_pkg_config.md
Normal 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")
|
||||||
|
```
|
Loading…
Reference in a new issue