Show execution time of tests
[reactos.git] / reactos / tools / rbuild / cdfile.cpp
1 #include "pch.h"
2 #include <assert.h>
3
4 #include "rbuild.h"
5
6 using std::string;
7
8 CDFile::CDFile ( const Project& project_,
9 const XMLElement& cdfileNode,
10 const string& path )
11 : project ( project_ ),
12 node ( cdfileNode )
13 {
14 const XMLAttribute* att = node.GetAttribute ( "base", false );
15 if ( att != NULL )
16 base = att->value;
17 else
18 base = "";
19
20 att = node.GetAttribute ( "nameoncd", false );
21 if ( att != NULL )
22 nameoncd = att->value;
23 else
24 nameoncd = node.value;
25 name = node.value;
26 this->path = path;
27 }
28
29 CDFile::~CDFile ()
30 {
31 }
32
33 string
34 CDFile::GetPath () const
35 {
36 return path + SSEP + name;
37 }
38
39 void
40 CDFile::ProcessXML()
41 {
42 }