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
Dubský Jan
asgn
Commits
05d761fd
Commit
05d761fd
authored
Apr 08, 2020
by
Bednárek David RNDr. Ph.D.
Browse files
Corrected undefined CMAKE_BUILD_TYPE handling
parent
da42ae06
Changes
1
Hide whitespace changes
Inline
Side-by-side
CMakeConf.cmake
View file @
05d761fd
...
...
@@ -72,7 +72,8 @@ if(NOT DEFINED GOLD_SUFFIX)
endif
()
function
(
TARGET_GOLD_SOURCES TARGET PREFIX
)
if
(
${
CMAKE_BUILD_TYPE
}
MATCHES
"Debug"
)
#message("CMAKE_BUILD_TYPE=\"${CMAKE_BUILD_TYPE}\"")
if
(
CMAKE_BUILD_TYPE MATCHES
"^(Debug|)$"
)
message
(
"Using gold check file
${
PREFIX
}
debug.cpp"
)
target_sources
(
${
TARGET
}
PUBLIC
"
${
PREFIX
}
debug.cpp"
)
else
()
...
...
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