ADD: config.hpp template

This commit is contained in:
Dominik Meyer 2019-03-05 13:21:02 +01:00
parent 1a5003c7b2
commit 5e0999127b

10
src/config.hpp.in Normal file
View File

@ -0,0 +1,10 @@
#ifndef __CONFIG_HPP__
#define __CONFIG_HPP__
#define LIBTREE_PROJECT_NAME "@PROJECT_NAME@"
#define LIBTREE_VERSION_MAJOR @PROJECT_VERSION_MAJOR@
#define LIBTREE_VERSION_MINOR @PROJECT_VERSION_MINOR@
#define LIBTREE_VERSION_PATCH @PROJECT_VERSION_PATCH@
#define LIBTREE_PROJECT_VERSION "@PROJECT_VERSION_MAJOR@.@PROJECT_VERSION_MINOR@.@PROJECT_VERSION_PATCH@"
#endif