-
-
Notifications
You must be signed in to change notification settings - Fork 376
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add version.h with the following values. This values are managed/updated via CMake ``` #pragma once #define RTC_VERSION_MAJOR 0 #define RTC_VERSION_MINOR 20 #define RTC_VERSION_PATCH 1 #define RTC_VERSION "0.20.1" ``` # Please enter the commit message for your changes. Lines starting # with '#' will be kept; you may remove them yourself if you want to. # An empty message aborts the commit. # # Date: Fri Feb 16 10:25:47 2024 -0500 # # On branch version-macro # Changes to be committed: # modified: CMakeLists.txt # new file: cmake/version.h.in # modified: include/rtc/rtc.h # new file: include/rtc/version.h # # Untracked files: # install/ #
- Loading branch information
Showing
4 changed files
with
15 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#pragma once | ||
|
||
#define RTC_VERSION_MAJOR @PROJECT_VERSION_MAJOR@ | ||
#define RTC_VERSION_MINOR @PROJECT_VERSION_MINOR@ | ||
#define RTC_VERSION_PATCH @PROJECT_VERSION_PATCH@ | ||
#define RTC_VERSION "@PROJECT_VERSION@" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,6 +9,8 @@ | |
#ifndef RTC_C_API | ||
#define RTC_C_API | ||
|
||
#include "version.h" | ||
|
||
#ifdef __cplusplus | ||
extern "C" { | ||
#endif | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
|