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
84b32875
Commit
84b32875
authored
Oct 29, 2015
by
Naumann, Andreas
Browse files
amdis with subminor svn revision
parent
811f3e87
Changes
2
Hide whitespace changes
Inline
Side-by-side
AMDiS/AMDISConfig.cmake.in
View file @
84b32875
...
...
@@ -110,6 +110,7 @@ set(AMDIS_COMPILEFLAGS "@COMPILEFLAGS@")
set(AMDIS_VERSION @CurrentRevision@)
set(AMDIS_MAJOR_VERSION @AMDIS_MAJOR@)
set(AMDIS_MINOR_VERSION @AMDIS_MINOR@)
set(AMDIS_SUB_MINOR_VERSION @AMDIS_SUB_MINOR@)
if(CMAKE_BUILD_TYPE STREQUAL "")
set(CMAKE_BUILD_TYPE "Release")
...
...
AMDiS/CMakeLists.txt
View file @
84b32875
...
...
@@ -14,9 +14,13 @@ SET(MTL_INCLUDE_DIR ${LIB_DIR}/mtl4/ CACHE PATH "mtl4 directory")
set
(
CMAKE_CXX_FLAGS_RELEASE
"
${
CMAKE_CXX_FLAGS_RELEASE
}
-DDEBUG=0"
)
#-Wno-unused-but-set-variable
set
(
CMAKE_CXX_FLAGS_DEBUG
"
${
CMAKE_CXX_FLAGS_DEBUG
}
-DDEBUG=1 -O0"
)
#-Wno-unused-but-set-variable
if
(
NOT CurrentRevision
)
set
(
CurrentRevision
"0.9"
)
find_package
(
Subversion
)
if
(
Subversion_FOUND
)
Subversion_WC_INFO
(
${
CMAKE_CURRENT_SOURCE_DIR
}
svn_info
)
#message("svn-rev: ${svn_info_WC_REVISION}")
set
(
AMDIS_SUB_MINOR
"
${
svn_info_WC_REVISION
}
"
)
endif
()
set
(
CurrentRevision
"0.9"
)
if
(
NOT AMDIS_MAJOR
)
set
(
AMDIS_MAJOR
"0"
)
endif
()
...
...
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