You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
naka/include/project.h

24 lines
616 B

//! Re-exports Makefile defines as more usable types
#ifndef _PROJECT_H
#define _PROJECT_H
#include "version.h"
/// Project version, as a raw version identifier (u32).
/// Use `v_rawtoc()` to convert to `version_t`.
#define PROG_VERSION VERSION(_VERSION_MAJOR, \
_VERSION_MINOR, \
_VERSION_BUGFIX, \
_VERSION_REVISION)
/// Project name. Output binary name
#define PROG_NAME _PROJECT_NAME
/// Project description
#define PROG_DESCRIPTION _PROJECT_DESCRIPTION
/// Project authour(s)
#define PROG_AUTHOUR _PROJECT_AUTHOR
/// Project license
#define PROG_LICENSE _PROJECT_LICENSE
#endif /* _PROJECT_H */