mirror of
https://git.rtems.org/rtems-tools/
synced 2025-06-11 20:28:41 +08:00
24 lines
375 B
C++
24 lines
375 B
C++
#include "ConfigFile.h"
|
|
#include <stdio.h>
|
|
|
|
Configuration::Options_t Options[] = {
|
|
{ "projectName", NULL },
|
|
{ "verbose", NULL },
|
|
{ NULL, NULL }
|
|
};
|
|
|
|
int main(
|
|
int argc,
|
|
char *argv[]
|
|
)
|
|
{
|
|
Configuration::FileReader *config;
|
|
|
|
config = new Configuration::FileReader(Options);
|
|
|
|
config->processFile( "configFile.txt" );
|
|
config->printOptions();
|
|
|
|
}
|
|
|