Menu

SyntaxStmtExecutable

Brad Lanam

Wiki Home
Syntax

Syntax: executable

executable defines an executable to be built. This is not an imperative statement. The build is started with the build statement.

executable helloworld {
  source helloworld.c;
}
Examples
executable helloworld {
  source 'helloworld.c';
}

executable helloworld {
  source 'helloworld.c';
  compiler_flags '-g';
}

executable helloworld {
  source hello.c world.c;
}
Attributes

Wiki Home
Syntax


Related

Wiki: Home
Wiki: Syntax
Wiki: SyntaxAttrCompileFlag
Wiki: SyntaxAttrLinkFlag
Wiki: SyntaxAttrSource
Wiki: SyntaxStmtBuild