Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cknieling/msi installer #197

Open
wants to merge 14 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
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
18 changes: 14 additions & 4 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,20 @@ set(HOUDINI_RELATIVE_PALLADIO_PATH "${HOUDINI_RELATIVE_PACKAGES_PATH}/palladio")

### versioning

set(PLD_VERSION_MAJOR 2)
set(PLD_VERSION_MINOR 0)
set(PLD_VERSION_PATCH 0)
set(PLD_VERSION_PRE "-beta.1") # set to empty string for final releases
file(READ "${CMAKE_CURRENT_LIST_DIR}/../version.txt" VERSION_FILE)

string(REGEX MATCH "PLD_VERSION_MAJOR ([^\n]*)" _ ${VERSION_FILE})
set(PLD_VERSION_MAJOR ${CMAKE_MATCH_1})

string(REGEX MATCH "PLD_VERSION_MINOR ([^\n]*)" _ ${VERSION_FILE})
set(PLD_VERSION_MINOR ${CMAKE_MATCH_1})

string(REGEX MATCH "PLD_VERSION_PATCH ([^\n]*)" _ ${VERSION_FILE})
set(PLD_VERSION_PATCH ${CMAKE_MATCH_1})

string(REGEX MATCH "PLD_VERSION_PRE ([^\n]*)" _ ${VERSION_FILE})
set(PLD_VERSION_PRE ${CMAKE_MATCH_1})

chr11115 marked this conversation as resolved.
Show resolved Hide resolved
if (NOT PLD_VERSION_BUILD)
set(PLD_VERSION_BUILD DEV)
endif ()
Expand Down
4 changes: 4 additions & 0 deletions version.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
PLD_VERSION_MAJOR 2
PLD_VERSION_MINOR 0
PLD_VERSION_PATCH 0
PLD_VERSION_PRE -beta.1
chr11115 marked this conversation as resolved.
Show resolved Hide resolved