summaryrefslogtreecommitdiffstats
path: root/Tests/CMakeLib/testXMLParser.cxx
diff options
context:
space:
mode:
authorAlex Turbov <i.zaufi@gmail.com>2024-08-12 22:15:35 (GMT)
committerAlex Turbov <i.zaufi@gmail.com>2024-08-13 02:06:25 (GMT)
commit3d9c018f3168d183b70c85aa3ce7b5e8847a3f35 (patch)
treef425f3fc4036a8444374d139583551bbe5ef8950 /Tests/CMakeLib/testXMLParser.cxx
parenta48097f7ae375ca52db4f204d3e93f9ccb8c40f2 (diff)
downloadCMake-3d9c018f3168d183b70c85aa3ce7b5e8847a3f35.zip
CMake-3d9c018f3168d183b70c85aa3ce7b5e8847a3f35.tar.gz
CMake-3d9c018f3168d183b70c85aa3ce7b5e8847a3f35.tar.bz2
CMakeLibTests: Generate `testConfig.h` with source/build paths defined
And use it in all tests that had their particular files before.
Diffstat (limited to 'Tests/CMakeLib/testXMLParser.cxx')
-rw-r--r--Tests/CMakeLib/testXMLParser.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Tests/CMakeLib/testXMLParser.cxx b/Tests/CMakeLib/testXMLParser.cxx
index 32ee3ec..3b7af3a 100644
--- a/Tests/CMakeLib/testXMLParser.cxx
+++ b/Tests/CMakeLib/testXMLParser.cxx
@@ -1,9 +1,9 @@
-#include "testXMLParser.h"
-
#include <iostream>
#include "cmXMLParser.h"
+#include "testConfig.h"
+
int testXMLParser(int /*unused*/, char* /*unused*/[])
{
// TODO: Derive from parser and check attributes.