updated build system from manual makefile to cmake. added versioning starting at 1.0 with this commit
This commit is contained in:
@@ -19,13 +19,14 @@
|
||||
#ifndef RECBACKLIGHT_CMD_H
|
||||
#define REXBACKLIGHT_CMD_H
|
||||
|
||||
#define OP_INC 1
|
||||
#define OP_DEC 2
|
||||
#define OP_SET 4
|
||||
#define OP_LIST 8
|
||||
#define OP_GET 128
|
||||
#define OP_NONE 0
|
||||
#define OP_USAGE 255
|
||||
#define OP_INC 1
|
||||
#define OP_DEC 2
|
||||
#define OP_SET 4
|
||||
#define OP_LIST 8
|
||||
#define OP_GET 128
|
||||
#define OP_NONE 0
|
||||
#define OP_VERSION 254
|
||||
#define OP_USAGE 255
|
||||
|
||||
struct cmd_arg{
|
||||
const char* lopt;
|
||||
|
||||
@@ -32,6 +32,7 @@
|
||||
extern int return_value;
|
||||
|
||||
void mem_error(void);
|
||||
_Noreturn void version(void);
|
||||
_Noreturn void usage(int exit_val);
|
||||
|
||||
|
||||
|
||||
2
include/config.h.in
Normal file
2
include/config.h.in
Normal file
@@ -0,0 +1,2 @@
|
||||
#define REXBACKLIGHT_VERSION_MAJOR 1
|
||||
#define REXBACKLIGHT_VERSION_MINOR 0
|
||||
Reference in New Issue
Block a user