https://github.com/codecat/ccpm
Premake5 framework.
https://github.com/codecat/ccpm
lua pkgconfig premake5
Last synced: 8 months ago
JSON representation
Premake5 framework.
- Host: GitHub
- URL: https://github.com/codecat/ccpm
- Owner: codecat
- License: mit
- Created: 2020-02-29T15:16:12.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-05-07T16:11:15.000Z (about 6 years ago)
- Last Synced: 2025-07-07T12:04:33.462Z (11 months ago)
- Topics: lua, pkgconfig, premake5
- Language: Lua
- Size: 7.81 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
- License: License.txt
Awesome Lists containing this project
README
# CCPM
The Codecat Premake framework. Works with the latest version of [premake5](https://premake.github.io/).
Also includes a way to link libraries using `pkg-config` files, by using the `ccpm_pkg()` function.
## Example usage
The following premake file will create a `test` workspace with a `test` console application project, which has its source code located in the `test` folder, and also links with SFML using the `sfml-all` package.
```lua
dofile('ccpm/ccpm.lua')
ccpm_workspace 'test'
ccpm_consoleapp 'test'
ccpm_sources 'test'
ccpm_pkg 'sfml-all'
ccpm_report()
```
Note that `ccpm_pkg()` currently only works on Linux. There is no Windows support yet. It currently also only handles `-L`, `-l`, `-I`, and `-D` flags.
## Documentation
Sorry, not yet.