Skip to content

Commit

Permalink
Log the project version
Browse files Browse the repository at this point in the history
  • Loading branch information
JesseTG committed Nov 6, 2023
1 parent e6e29b4 commit c6d7032
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ file(STRINGS "CHANGELOG.md" CHANGELOG REGEX "^## \\[([0-9]+\\.[0-9]+\\.[0-9]+)\\
list(TRANSFORM CHANGELOG REPLACE "^## \\[([0-9]+\\.[0-9]+\\.[0-9]+)\\].+" "\\1")
list(SORT CHANGELOG COMPARE NATURAL ORDER DESCENDING)
list(GET CHANGELOG 0 VERSION)
message(STATUS "Project version is ${VERSION}")

project("melonDS DS"
VERSION "${VERSION}"
Expand Down

0 comments on commit c6d7032

Please sign in to comment.