mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-10-29 01:30:22 +00:00
Sample JSBuild file showing the usage javascript as scripting language.
This commit is contained in:
12
samples/JavaScript/jsbuild.jsb
Normal file
12
samples/JavaScript/jsbuild.jsb
Normal 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();
|
||||
Reference in New Issue
Block a user