summaryrefslogtreecommitdiffstats
path: root/Tests/CMakeLib/testXMLParser.cxx
blob: 1fd5113c4da22599b89d841321c36eddad346c75 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include "testXMLParser.h"

#include "cmXMLParser.h"

#include <iostream>

int testXMLParser(int, char* [])
{
  // TODO: Derive from parser and check attributes.
  cmXMLParser parser;
  if (!parser.ParseFile(SOURCE_DIR "/testXMLParser.xml")) {
    std::cerr << "cmXMLParser failed!" << std::endl;
    return 1;
  }
  return 0;
}