Skip to content

Commit

Permalink
Version file and changelog (#368)
Browse files Browse the repository at this point in the history
* 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 <[email protected]>
  • Loading branch information
stephenhensley and stephenhensley authored Jul 1, 2021
1 parent 157f04a commit 10d6142
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 1 deletion.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# libDaisy Changelog

## v0.1.0

Initial Release

2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
project (libdaisy)
project (libdaisy VERSION 0.1.0)
cmake_minimum_required(VERSION 3.20)

set(TARGET daisy)
Expand Down
1 change: 1 addition & 0 deletions src/daisy.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

#include <stdint.h>
#include "daisy_core.h"
#include "version.h"

/** @addtogroup boards
@{
Expand Down
9 changes: 9 additions & 0 deletions src/version.h
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 10d6142

Please sign in to comment.