5
Last change
on this file since fb987e8 was
100f517,
checked in by Chris Johns <chrisj@…>, on 05/09/14 at 11:50:37
|
covoar: Merger the covoar source from rtems-testing.git.
Use waf to build covoar.
|
-
Property mode set to
100644
|
File size:
375 bytes
|
Line | |
---|
1 | #include "ConfigFile.h" |
---|
2 | #include <stdio.h> |
---|
3 | |
---|
4 | Configuration::Options_t Options[] = { |
---|
5 | { "projectName", NULL }, |
---|
6 | { "verbose", NULL }, |
---|
7 | { NULL, NULL } |
---|
8 | }; |
---|
9 | |
---|
10 | int main( |
---|
11 | int argc, |
---|
12 | char *argv[] |
---|
13 | ) |
---|
14 | { |
---|
15 | Configuration::FileReader *config; |
---|
16 | |
---|
17 | config = new Configuration::FileReader(Options); |
---|
18 | |
---|
19 | config->processFile( "configFile.txt" ); |
---|
20 | config->printOptions(); |
---|
21 | |
---|
22 | } |
---|
23 | |
---|
Note: See
TracBrowser
for help on using the repository browser.