Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions include/camp/config.in.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,11 @@
#define CAMP_VERSION_MINOR @camp_VERSION_MINOR@
#define CAMP_VERSION_PATCH @camp_VERSION_PATCH@

#define CAMP_VERSION \
(CAMP_VERSION_MAJOR * 1000000) + (CAMP_VERSION_MINOR * 1000) \
// Since Camp now uses a date based versioning scheme, CAMP_VERSION will be
// of the format YYYYMMPP, where YYYY is the year, MM is the month, and PP
// is the patch number (e.g. 20260700).
#define CAMP_VERSION \
(CAMP_VERSION_MAJOR * 10000ULL) + (CAMP_VERSION_MINOR * 100ULL) \
+ (CAMP_VERSION_PATCH)

#if (defined(_WIN32) || defined(_WIN64)) && !defined(CAMP_WIN_STATIC_BUILD)
Expand Down
Loading