summaryrefslogtreecommitdiffstats
path: root/Source/cmCreateTestSourceList.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2003-07-03 15:39:33 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2003-07-03 15:39:33 (GMT)
commit711febc82d45cb9fdced4a1f511e4bb469497b32 (patch)
tree5ca33e9a9dccf830b3092d5f90751b2b8334d2a2 /Source/cmCreateTestSourceList.cxx
parentedcaaabe99db01a7a303997e327696b6c7fa86b0 (diff)
downloadCMake-711febc82d45cb9fdced4a1f511e4bb469497b32.zip
CMake-711febc82d45cb9fdced4a1f511e4bb469497b32.tar.gz
CMake-711febc82d45cb9fdced4a1f511e4bb469497b32.tar.bz2
ENH: null terminate at the end of the list
Diffstat (limited to 'Source/cmCreateTestSourceList.cxx')
-rw-r--r--Source/cmCreateTestSourceList.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/cmCreateTestSourceList.cxx b/Source/cmCreateTestSourceList.cxx
index cef2d46..59de369 100644
--- a/Source/cmCreateTestSourceList.cxx
+++ b/Source/cmCreateTestSourceList.cxx
@@ -186,7 +186,9 @@ bool cmCreateTestSourceList::InitialPass(std::vector<std::string> const& args)
" },\n";
numTests++;
}
-
+ // end with an empty struct
+ fout << " {0,0}\n";
+
fout <<
"};\n"
"\n"