Skip to content

Commit

Permalink
testing versioning
Browse files Browse the repository at this point in the history
  • Loading branch information
raphaelscholle committed Dec 30, 2023
1 parent fd3077b commit e9154cf
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion include/rtw_version.h
Original file line number Diff line number Diff line change
@@ -1 +1,12 @@
#define DRIVERVERSION "v5.2.20.2_28373.20190919"
#ifndef RTW_VERSION_H
#define RTW_VERSION_H

// Helper macro to convert a macro to a string
#define STR_HELPER(x) #x
#define STR(x) STR_HELPER(x)

// Generate the version string with the current date
#define CURRENT_DATE __DATE__
#define DRIVERVERSION "v5.2.20.2_ohd_" STR(CURRENT_DATE)

#endif // RTW_VERSION_H

0 comments on commit e9154cf

Please sign in to comment.