Convert configs/sim/ostest to use mconf tool; Add configs/sim/cxxtest
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5285 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
parent
b41f7d1c5e
commit
b2a7f2fdc8
@ -54,7 +54,7 @@ ifeq ($(CONFIG_EXAMPLES_COMPOSITE),y)
|
||||
CONFIGURED_APPS += examples/composite
|
||||
endif
|
||||
|
||||
ifeq ($(CONFIG_EXAMPLES_CXXTEST,y)
|
||||
ifeq ($(CONFIG_EXAMPLES_CXXTEST),y)
|
||||
CONFIGURED_APPS += examples/cxxtest
|
||||
endif
|
||||
|
||||
|
@ -86,22 +86,22 @@ public:
|
||||
|
||||
static void test_iostream(void)
|
||||
{
|
||||
int a;
|
||||
string s;
|
||||
|
||||
cout << "test iostream===========================" << endl;
|
||||
cout << "Hello, this is only a test" << endl;
|
||||
cout << "Print an int: " << 190 << endl;
|
||||
cout << "Print a char: " << 'd' << endl;
|
||||
cout << "Print a char: " << 'd' << endl;
|
||||
|
||||
#if 0
|
||||
int a;
|
||||
string s;
|
||||
|
||||
/*
|
||||
cout << "Please type in an int:" << endl;
|
||||
cin >> a;
|
||||
cout << "You type in: " << a << endl;
|
||||
cout << "Please type in a string:" << endl;
|
||||
cin >> s;
|
||||
cout << "You type in: " << s << endl;
|
||||
*/
|
||||
#endif
|
||||
}
|
||||
|
||||
//***************************************************************************
|
Loading…
Reference in New Issue
Block a user