The Meson Build System
http://mesonbuild.com/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
435 B
27 lines
435 B
5 years ago
|
#include <iostream>
|
||
|
#include "common.h"
|
||
|
|
||
|
struct X86Board: Board {
|
||
|
const char *target();
|
||
|
void say_hello();
|
||
|
};
|
||
|
|
||
|
const char *X86Board::target()
|
||
|
{
|
||
|
return THE_TARGET;
|
||
|
}
|
||
|
|
||
|
void X86Board::say_hello()
|
||
|
{
|
||
|
std::cout << ANSI_START << "I am a 1996 PC"
|
||
|
<< ANSI_END << std::endl;
|
||
|
}
|
||
|
|
||
|
void initialize_target()
|
||
|
{
|
||
|
std::cout << ANSI_START << "ready, set, go"
|
||
|
<< ANSI_END << std::endl;
|
||
|
}
|
||
|
|
||
|
static X86Board pc;
|