Skip to content

Instantly share code, notes, and snippets.

@wess
Created August 15, 2010 02:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wess/524981 to your computer and use it in GitHub Desktop.
Save wess/524981 to your computer and use it in GitHub Desktop.
(function(){
var conf = new Configure();
conf.verbose(true);
conf.compiler('gcc');
conf.includes(['src/headers', 'deps/v8/include']);
conf.libs(['deps/v8/libv8.a']);
conf.flags(['lpthread', 'g']);
conf.src(['src/bob.cc', 'src/configure.cc', 'src/environment.cc', 'src/filesys.cc', 'system.cc', 'utils.cc']);
conf.target('build/bob');
conf.run();
/*** OR ***/
conf.build({
verbose: true,
compiler: 'gcc',
includes: ['src/headers', 'deps/v8/include'],
libs: ['deps/v8/libv8.a'],
flags: ['lpthread', 'g'],
src: [
'src/bob.cc',
'src/configure.cc',
'src/environment.cc',
'src/filesys.cc',
'system.cc',
'utils.cc'],
target: 'build/bob'
}).run();
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment