mirror of
https://github.com/Kitware/CMake.git
synced 2026-03-09 01:09:30 -05:00
18 lines
333 B
C++
18 lines
333 B
C++
#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;
|
|
}
|