Sample JSBuild file showing the usage javascript as scripting language.

This commit is contained in:
Vivek Galatage
2014-09-22 00:15:35 +05:30
parent ebe45e6f37
commit d8b4d4639c

View File

@@ -0,0 +1,12 @@
jsb.library('mylibrary', jsb.STATIC_LIBRARY, function(libObject) {
libObject.outputName = 'mylibrary';
libObject.cflags = [ '-Wall' ];
libObject.ldflags = [ '-pthread' ];
libObject.includePaths = [ 'src/include' ];
libObject.sources = [
'src/main.cpp',
'src/app.cpp'
];
});
jsb.build();