-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
API to obtain version number, closes 153
- Loading branch information
1 parent
225bf55
commit ea3f273
Showing
6 changed files
with
140 additions
and
5 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
Binary file not shown.
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
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,16 @@ | ||
#define OPENQL_MAJOR_VERSION 0 | ||
|
||
#define OPENQL_MINOR_VERSION 5 | ||
|
||
#define OPENQL_PATCH_VERSION 0 | ||
|
||
// Make it easier to check for QISA version dependencies. | ||
// This assumes the PATCH and MINOR version will not exceed 99 | ||
#define OPENQL_FULL_VERSION (OPENQL_MAJOR_VERSION * 10000 + OPENQL_MINOR_VERSION * 100 + OPENQL_PATCH_VERSION) | ||
|
||
#define OPENQL_VERSION_STRING_S1(arg) #arg | ||
#define OPENQL_VERSION_STRING_S(arg) OPENQL_VERSION_STRING_S1(arg) | ||
|
||
#define OPENQL_VERSION_STRING (OPENQL_VERSION_STRING_S(OPENQL_MAJOR_VERSION) "." \ | ||
OPENQL_VERSION_STRING_S(OPENQL_MINOR_VERSION) "." \ | ||
OPENQL_VERSION_STRING_S(OPENQL_PATCH_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