WSL/SLF GitLab Repository
Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
snow-models
inishell
Commits
d38dd18b
Commit
d38dd18b
authored
Dec 10, 2021
by
Mathias Bavay
Browse files
The version number macro was not working anymore
parent
40870cf3
Changes
2
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
d38dd18b
...
...
@@ -2,10 +2,10 @@
CMAKE_MINIMUM_REQUIRED
(
VERSION 3.1.0
)
LIST
(
APPEND CMAKE_MODULE_PATH
"
${
CMAKE_SOURCE_DIR
}
/tools/cmake/"
)
PROJECT
(
inishell
)
SET
(
VERSION_MAJOR 2 CACHE INTERNAL
""
)
SET
(
VERSION_MINOR 0 CACHE INTERNAL
""
)
SET
(
VERSION_PATCH 7 CACHE INTERNAL
""
)
PROJECT
(
inishell VERSION
${
VERSION_MAJOR
}
.
${
VERSION_MINOR
}
.
${
VERSION_PATCH
}
)
CONFIGURE_FILE
(
${
PROJECT_SOURCE_DIR
}
/src/main/config.h.in
${
PROJECT_SOURCE_DIR
}
/src/main/config.h
)
###########################################################
...
...
src/main/common.h
View file @
d38dd18b
...
...
@@ -25,6 +25,7 @@
#ifndef COMMON_H
#define COMMON_H
//this is a cmake generated file
#include
<src/main/config.h>
#include
<QIcon>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment