From 10d6142fe6573c1b23dc8a90da8a18e25bbebcc3 Mon Sep 17 00:00:00 2001 From: Stephen Hensley Date: Thu, 1 Jul 2021 15:41:47 -0700 Subject: [PATCH] Version file and changelog (#368) * added version.h file for v0.1 release, and included in daisy.h * added version to CMakeLists.txt * added changelog file. Co-authored-by: stephenhensley --- CHANGELOG.md | 6 ++++++ CMakeLists.txt | 2 +- src/daisy.h | 1 + src/version.h | 9 +++++++++ 4 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 CHANGELOG.md create mode 100644 src/version.h diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 000000000..408147799 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,6 @@ +# libDaisy Changelog + +## v0.1.0 + +Initial Release + diff --git a/CMakeLists.txt b/CMakeLists.txt index 63d805fcb..6fab68352 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,4 @@ -project (libdaisy) +project (libdaisy VERSION 0.1.0) cmake_minimum_required(VERSION 3.20) set(TARGET daisy) diff --git a/src/daisy.h b/src/daisy.h index 283bb67cc..4ef1f7caa 100644 --- a/src/daisy.h +++ b/src/daisy.h @@ -3,6 +3,7 @@ #include #include "daisy_core.h" +#include "version.h" /** @addtogroup boards @{ diff --git a/src/version.h b/src/version.h new file mode 100644 index 000000000..4d8aaadaa --- /dev/null +++ b/src/version.h @@ -0,0 +1,9 @@ +#pragma once +#ifndef DSY_VERSION_H +#define DSY_VERSION_H + +#define LIBDAISY_VER_MAJ 0 +#define LIBDAISY_VER_MIN 1 +#define LIBDAISY_VER_PATCH 0 + +#endif