This commit is contained in:
Thomas Nagy 2016-10-18 18:20:27 +02:00
parent cd50b17e7b
commit 152f40f51a
No known key found for this signature in database
GPG Key ID: 49B4C67C05277AAA
3 changed files with 18 additions and 0 deletions

3
playground/unity/a.c Normal file
View File

@ -0,0 +1,3 @@
int foo() {
return 34;
}

3
playground/unity/main.c Normal file
View File

@ -0,0 +1,3 @@
int main() {
return 0;
}

12
playground/unity/wscript Normal file
View File

@ -0,0 +1,12 @@
#! /usr/bin/env python
def options(opt):
opt.load('compiler_c')
def configure(conf):
conf.load('compiler_c')
conf.load('unity')
def build(bld):
bld.program(source='a.c main.c', target='app')