Mercurial > projects > hoofbaby
diff src/build/frankenbuild.d @ 3:e6cf9f26d0e7
Added a separate "transcode" app for testing transcoding
author | fraserofthenight |
---|---|
date | Wed, 08 Jul 2009 07:29:48 -0700 |
parents | 3425707ddbf6 |
children | a1202aac1124 |
line wrap: on
line diff
--- a/src/build/frankenbuild.d Tue Jul 07 20:23:49 2009 -0700 +++ b/src/build/frankenbuild.d Wed Jul 08 07:29:48 2009 -0700 @@ -60,6 +60,21 @@ cats ~= "debug"; cats ~= "release"; } + + if(cats.contains("transcode")) + { + targetFound = true; + cats ~= "platif-debug"; + char[] cargs = cbase.dup; + cargs ~= " -g"; + cargs ~= " -debug -debug=AVBuffer"; + cargs ~= " -ofhoofbaby-d/transcode.exe"; + cargs ~= " -I../src/test"; + cargs ~= " -oqobjs/debug"; + cargs ~= " ../src/test/hoofbaby/test/adhoc/transcode.d"; + commands ~= { return cpp("../src/platif/platif.h", "../src/impl/hoofbaby/platinum/platif.d"); }; + commands ~= { return rebuild(cargs); }; + } if(cats.contains("debug")) {