codecat / ccpm

Premake5 framework.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CCPM

The Codecat Premake framework. Works with the latest version of premake5.

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.

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.

About

Premake5 framework.

License:MIT License


Languages

Language:Lua 91.0%Language:C++ 8.7%Language:C 0.3%