Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
iwr
amdis
Commits
50aa6372
Commit
50aa6372
authored
Jul 20, 2011
by
Naumann, Andreas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
set amdisversion to 0.9.SVN_REVISION
parent
0da8d6cc
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
0 deletions
+14
-0
AMDiS/CMakeLists.txt
AMDiS/CMakeLists.txt
+14
-0
No files found.
AMDiS/CMakeLists.txt
View file @
50aa6372
...
...
@@ -10,6 +10,20 @@ SET(MTL_INCLUDE_DIR ${LIB_DIR}/mtl4/ CACHE PATH "mtl4 directory")
set
(
CMAKE_CXX_FLAGS_RELEASE
"
${
CMAKE_CXX_FLAGS_RELEASE
}
-g -Wall -DDEBUG=0"
)
set
(
CMAKE_CXX_FLAGS_DEBUG
"
${
CMAKE_CXX_FLAGS_DEBUG
}
-Wall -DDEBUG=1 -O0"
)
if
(
NOT CurrentRevision
)
find_package
(
Subversion
)
if
(
Subversion_FOUND
)
Subversion_WC_INFO
(
${
CMAKE_CURRENT_SOURCE_DIR
}
svn_info
)
#message("svn-rev: ${svn_info_WC_REVISION}")
set
(
CurrentRevision
"0.9.
${
svn_info_WC_REVISION
}
"
)
endif
()
endif
()
if
(
NOT AMDIS_MAJOR
)
set
(
AMDIS_MAJOR
"0"
)
endif
()
if
(
NOT AMDIS_MINOR
)
set
(
AMDIS_MINOR
"9"
)
endif
()
set
(
COMPILEFLAGS
"-DAMDIS_VERSION=
${
CurrentRevision
}
"
)
#define the build type, empty can be everything and nothing
...
...
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