comparison src/build/frankenbuild.d @ 9:05c88622db6b default tip

- Adhoc transcoder now doesn't rely on Platinum - Moved the adhoc transcoder to the main source tree; it can be moved back into test once it's more stable
author fraserofthenight
date Tue, 14 Jul 2009 22:04:05 -0700
parents 270343d824ae
children
comparison
equal deleted inserted replaced
8:71ebad05f542 9:05c88622db6b
62 } 62 }
63 63
64 if(cats.contains("transcode")) 64 if(cats.contains("transcode"))
65 { 65 {
66 targetFound = true; 66 targetFound = true;
67 cats ~= "platif-debug";
68 char[] cargs = cbase.dup; 67 char[] cargs = cbase.dup;
69 cargs ~= " -g"; 68 cargs ~= " -g";
70 cargs ~= " -debug -debug=AVBuffer"; 69 cargs ~= " -debug -debug=AVBuffer";
71 cargs ~= " -ofhoofbaby-d/transcode.exe"; 70 cargs ~= " -ofhoofbaby-d/transcode.exe";
72 cargs ~= " -I../src/test"; 71 cargs ~= " -I../src/test";
73 cargs ~= " -oqobjs/debug"; 72 cargs ~= " -oqobjs/transcode";
74 cargs ~= " ../src/test/hoofbaby/test/adhoc/transcode.d"; 73 cargs ~= " ../src/impl/hoofbaby/app/transcode.d";
75 commands ~= { return cpp("../src/platif/platif.h", "../src/impl/hoofbaby/platinum/platif.d"); };
76 commands ~= { return rebuild(cargs); }; 74 commands ~= { return rebuild(cargs); };
77 } 75 }
78 76
79 if(cats.contains("debug")) 77 /+ if(cats.contains("debug"))
80 { 78 {
81 targetFound = true; 79 targetFound = true;
82 cats ~= "platif-debug"; 80 cats ~= "platif-debug";
83 char[] cargs = cbase.dup; 81 char[] cargs = cbase.dup;
84 cargs ~= " -g"; 82 cargs ~= " -g";
85 cargs ~= " -debug -debug=AVBuffer"; 83 cargs ~= " -debug -debug=AVBuffer";
84 cargs ~= " -version=UPnP";
86 cargs ~= " -ofhoofbaby-d/hoofbaby.exe"; 85 cargs ~= " -ofhoofbaby-d/hoofbaby.exe";
87 cargs ~= " -oqobjs/debug"; 86 cargs ~= " -oqobjs/debug";
88 cargs ~= " ../src/impl/hoofbaby/app/main.d"; 87 cargs ~= " ../src/impl/hoofbaby/app/main.d";
89 commands ~= { return cpp("../src/platif/platif.h", "../src/impl/hoofbaby/platinum/platif.d"); }; 88 commands ~= { return cpp("../src/platif/platif.h", "../src/impl/hoofbaby/platinum/platif.d"); };
90 commands ~= { return rebuild(cargs); }; 89 commands ~= { return rebuild(cargs); };
94 { 93 {
95 targetFound = true; 94 targetFound = true;
96 cats ~= "platif-release"; 95 cats ~= "platif-release";
97 char[] cargs = cbase.dup; 96 char[] cargs = cbase.dup;
98 cargs ~= " -O -inline"; 97 cargs ~= " -O -inline";
98 cargs ~= " -version=UPnP";
99 cargs ~= " -ofhoofbaby/hoofbaby.exe"; 99 cargs ~= " -ofhoofbaby/hoofbaby.exe";
100 cargs ~= " -oqobjs/release"; 100 cargs ~= " -oqobjs/release";
101 cargs ~= " ../src/impl/hoofbaby/app/main.d"; 101 cargs ~= " ../src/impl/hoofbaby/app/main.d";
102 commands ~= { return cpp("../src/platif/platif.h", "../src/impl/hoofbaby/platinum/platif.d"); }; 102 commands ~= { return cpp("../src/platif/platif.h", "../src/impl/hoofbaby/platinum/platif.d"); };
103 commands ~= { return rebuild(cargs); }; 103 commands ~= { return rebuild(cargs); };
104 commands ~= { return upx("hoofbaby/hoofbaby.exe"); };// D executables are enormous 104 commands ~= { return upx("hoofbaby/hoofbaby.exe"); };// D executables are enormous
105 } 105 } +/
106 106
107 if(cats.contains("platif-debug")) 107 if(cats.contains("platif-debug"))
108 { 108 {
109 targetFound = true; 109 targetFound = true;
110 char[] cargs = `..\deps\Platinum\Build\Targets\x86-microsoft-win32-vs2008\Platinum.sln /build "Debug|Win32" /project platif`; 110 char[] cargs = `..\deps\Platinum\Build\Targets\x86-microsoft-win32-vs2008\Platinum.sln /build "Debug|Win32" /project platif`;