Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
iwr
amdis
Commits
50aa6372
Commit
50aa6372
authored
Jul 20, 2011
by
Naumann, Andreas
Browse files
set amdisversion to 0.9.SVN_REVISION
parent
0da8d6cc
Changes
1
Hide whitespace changes
Inline
Side-by-side
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
Supports
Markdown
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