[Cmake-commits] CMake branch, next, updated. v3.4.1-1667-g91798eb
Brad King
brad.king at kitware.com
Thu Dec 10 09:22:35 EST 2015
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "CMake".
The branch, next has been updated
via 91798eb761176a082e692411e981404474f48276 (commit)
via e0ad72d8af9bfba80d24f823d79440ebb9136bda (commit)
from 28552384b40e9516073bcd099fd5f73679578c80 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=91798eb761176a082e692411e981404474f48276
commit 91798eb761176a082e692411e981404474f48276
Merge: 2855238 e0ad72d
Author: Brad King <brad.king at kitware.com>
AuthorDate: Thu Dec 10 09:22:34 2015 -0500
Commit: CMake Topic Stage <kwrobot at kitware.com>
CommitDate: Thu Dec 10 09:22:34 2015 -0500
Merge topic 'graphviz-spaces' into next
e0ad72d8 Graphviz: Fix handling of spaces in GRAPHVIZ_GRAPH_NAME
https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=e0ad72d8af9bfba80d24f823d79440ebb9136bda
commit e0ad72d8af9bfba80d24f823d79440ebb9136bda
Author: Andrey Mishchenko <mishchea at gmail.com>
AuthorDate: Wed Dec 9 12:15:52 2015 -0500
Commit: Brad King <brad.king at kitware.com>
CommitDate: Thu Dec 10 09:22:06 2015 -0500
Graphviz: Fix handling of spaces in GRAPHVIZ_GRAPH_NAME
Without this patch, `SET (GRAPHVIZ_GRAPH_NAME "hello world")` does not
work (it results in a parsing error in GraphViz when the generated
output is processed), but `SET (GRAPHVIZ_GRAPH_NAME "\"hello world\"")`
does.
diff --git a/Source/cmGraphVizWriter.cxx b/Source/cmGraphVizWriter.cxx
index a63b6e3..448306f 100644
--- a/Source/cmGraphVizWriter.cxx
+++ b/Source/cmGraphVizWriter.cxx
@@ -292,7 +292,7 @@ void cmGraphVizWriter::WriteGlobalFile(const char* fileName)
void cmGraphVizWriter::WriteHeader(cmGeneratedFileStream& str) const
{
- str << this->GraphType << " " << this->GraphName << " {" << std::endl;
+ str << this->GraphType << " \"" << this->GraphName << "\" {" << std::endl;
str << this->GraphHeader << std::endl;
}
-----------------------------------------------------------------------
Summary of changes:
Source/cmGraphVizWriter.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
hooks/post-receive
--
CMake
More information about the Cmake-commits
mailing list