Display the names of parsed file only if they are found.

Unstall UseLATEX cmake macro.
This commit is contained in:
Jean-Paul Chaput 2011-01-09 18:57:52 +00:00
parent 214bb4dda4
commit 9111c4cce2
3 changed files with 9 additions and 13 deletions

View File

@ -1,3 +1,4 @@
install ( FILES FindCORIOLIS.cmake
FindOPENACCESS.cmake
UseLATEX.cmake
DESTINATION share/cmake/Modules )

View File

@ -210,8 +210,6 @@ namespace {
envPath = env.getCORIOLIS_TOP() + "/" + sysConfDir + "/coriolis2/environment.alliance.xml" ;
}
cmess1 << " - <" << envPath << ">." << endl;
return ep._load ( envPath, warnNotFound );
}

View File

@ -1,17 +1,12 @@
// -*- C++ -*-
# include <cassert>
# include <string>
# include <QFile>
# include <QXmlStreamReader>
# include "crlcore/XmlParser.h"
#include <cassert>
#include <string>
#include <QFile>
#include <QXmlStreamReader>
#include "crlcore/Utilities.h"
#include "crlcore/XmlParser.h"
namespace CRL {
@ -40,6 +35,8 @@ namespace CRL {
return false;
}
cmess1 << " - <" << path << ">." << endl;
QXmlStreamReader reader ( &file );
_reader = &reader;