Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Nektar
Nektar
Commits
94637c38
Commit
94637c38
authored
Mar 31, 2013
by
Dave Moxey
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'fix/cmake-version' of localhost:nektar
parents
d49e26bc
bc0c341c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
CMakeLists.txt
CMakeLists.txt
+7
-3
No files found.
CMakeLists.txt
View file @
94637c38
...
...
@@ -8,9 +8,13 @@ PROJECT(Nektar++)
# Helps organize projects in IDEs.
SET_PROPERTY
(
GLOBAL PROPERTY USE_FOLDERS ON
)
SET
(
NEKTAR_VERSION_MAJOR 3
)
SET
(
NEKTAR_VERSION_MINOR 2
)
SET
(
NEKTAR_VERSION_PATCH 0
)
# Extract the version number from the VERSION file and set in CMake
# The format of this file must be X.X.X
FILE
(
STRINGS
"VERSION"
NEKVER
)
STRING
(
REPLACE
"."
";"
NEKVERLIST
${
NEKVER
}
)
LIST
(
GET NEKVERLIST 0 NEKTAR_VERSION_MAJOR
)
LIST
(
GET NEKVERLIST 1 NEKTAR_VERSION_MINOR
)
LIST
(
GET NEKVERLIST 2 NEKTAR_VERSION_PATCH
)
SET
(
NEKTAR_VERSION
${
NEKTAR_VERSION_MAJOR
}
.
${
NEKTAR_VERSION_MINOR
}
.
${
NEKTAR_VERSION_PATCH
}
)
INCLUDE
(
CMakeExportBuildSettings
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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