Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
dumux-repositories
dumux
Commits
de6ff9be
Commit
de6ff9be
authored
Apr 29, 2021
by
Timo Koch
Browse files
[cmake] Avoid disallowed escape sequence (fixes cmake 3.16)
parent
4bc0cde1
Changes
1
Hide whitespace changes
Inline
Side-by-side
cmake/modules/DumuxTestMacros.cmake
View file @
de6ff9be
...
...
@@ -258,7 +258,7 @@ function(dumux_add_test)
file
(
MAKE_DIRECTORY
"
${
CMAKE_BINARY_DIR
}
/TestMetaData"
)
file
(
WRITE
"
${
CMAKE_BINARY_DIR
}
/TestMetaData/
${
ADDTEST_NAME
}
.json"
"
\
{
\n
\"
name
\"
:
\"
${
ADDTEST_NAME
}
\"
,
\n
\"
target
\"
:
\"
${
ADDTEST_TARGET
}
\"\n
\
}
\n
"
)
"{
\n
\"
name
\"
:
\"
${
ADDTEST_NAME
}
\"
,
\n
\"
target
\"
:
\"
${
ADDTEST_TARGET
}
\"\n
}
\n
"
)
endfunction
()
# Evaluate test guards like dune_add_test internally does
...
...
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