Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 771 Bytes

Readme.md

File metadata and controls

23 lines (16 loc) · 771 Bytes

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.