Skip to content

Commit 15cc156

Browse files
committed
Adds identifier for debug builds when creating version string.
1 parent c43b85c commit 15cc156

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Diff for: include/build_utilities/build_version_utils.hpp

+3-1
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,9 @@ namespace build_info
155155
std::to_string(VERSION_PATCH) + "+" +
156156
std::to_string(BUILD_INDEX) + "." +
157157
std::string(REPO_INDEX);
158-
158+
#ifdef _DEBUG
159+
version += std::string("-DEBUG");
160+
#endif // _DEBUG
159161
return version;
160162
}
161163
}

0 commit comments

Comments
 (0)