forked from prusa3d/PrusaSlicer
-
-
Notifications
You must be signed in to change notification settings - Fork 539
Expand file tree
/
Copy pathversion.inc
More file actions
40 lines (37 loc) · 1.94 KB
/
Copy pathversion.inc
File metadata and controls
40 lines (37 loc) · 1.94 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Included by CMakeLists, edited by the build script
# (the version numbers are generated by the build script from the git current label)
# name of the slicer
set(SLIC3R_APP_NAME "SuperSlicer")
# Key fo the slicer, must only contains ascii chars and no spaces (be valid in all filesystems)
set(SLIC3R_APP_KEY "SuperSlicer")
# exe name of the slicer, should be lowercase and valid in all os
set(SLIC3R_APP_CMD "superslicer")
# id for windows registry ([a-z] [A-Z] [0-9] '_' and '.' only)
set(SLIC3R_APP_PROG_ID "superslicer.1")
# windows guid to identify the app, can begenerated via powershell running [guid]::NewGuid()
set(SLIC3R_GUID "a81705b0-978a-4a7d-bf67-8671e631dd4c")
# versions
set(SLIC3R_VERSION_TAG "-beta2+UNKNOWN")
set(SLIC3R_RC_VERSION "2,7,62,0")
set(SLIC3R_RC_VERSION_DOTS "2.7.62.0")
message(STATUS "SLIC3R_RC_VERSION = ${SLIC3R_RC_VERSION}")
message(STATUS "SLIC3R_RC_VERSION_DOTS = ${SLIC3R_RC_VERSION_DOTS}")
message(STATUS "SLIC3R_VERSION_TAG = ${SLIC3R_VERSION_TAG}")
set(SLIC3R_VERSION "2.7.62${SLIC3R_VERSION_TAG}")
set(SLIC3R_VERSION_FULL "${SLIC3R_RC_VERSION_DOTS}${SLIC3R_VERSION_TAG}")
message(STATUS "SLIC3R_VERSION = ${SLIC3R_VERSION}")
message(STATUS "SLIC3R_VERSION_FULL = ${SLIC3R_VERSION_FULL}")
# add an '+UNKNOWN' at the end of SLIC3R_BUILD_ID if it's not in the SLIC3R_VERSION_FULL
set(SLIC3R_BUILD_ID "${SLIC3R_APP_KEY}_${SLIC3R_VERSION_FULL}")
# Same as the slicer name but for gcodeviewer
set(GCODEVIEWER_APP_NAME "${SLIC3R_APP_NAME} G-code Viewer")
set(GCODEVIEWER_APP_KEY "${SLIC3R_APP_KEY}-gcodeviewer")
set(GCODEVIEWER_APP_CMD "${SLIC3R_APP_CMD}-gcodeviewer")
set(GCODEVIEWER_APP_PROG_ID "${SLIC3R_APP_NAME}.GCodeViewer.1")
# string to be added after the SLIC3R_APP_NAME on some places
set(SLIC3R_BASED_ON " based on PrusaSlicer")
# to get he github repo
set(SLIC3R_GITHUB "supermerill/SuperSlicer")
# download url
set(SLIC3R_DOWNLOAD "https://github.com/supermerill/SuperSlicer/releases")
set(SLIC3R_DOC_URL "https://manual.slic3r.org/")