271_uppsrc.diff
| uppsrc/ide/Builders/OwcBuilder.icpp 2012-04-07 15:14:51 +0400 | ||
|---|---|---|
| 111 | 111 |
bool init = (i >= first_ifile); |
| 112 | 112 |
String objfile = CatAnyPath(outdir, GetFileName(fn) + ".obj"); |
| 113 | 113 |
if (HdependFileTime(fn) > GetFileTime(objfile)) {
|
| 114 |
PutConsole(GetFileNamePos(fn)); |
|
| 114 | 115 |
int time = GetTickCount(); |
| 115 | 116 |
bool execerr = false; |
| 116 | 117 |
if (rc) {
|
| 117 |
PutConsole(GetFileNamePos(fn)); |
|
| 118 | 118 |
objfile = ForceExt(objfile, ".res"); |
| 119 | 119 |
int slot = AllocSlot(); |
| 120 | 120 |
if (slot < 0 || !Run("wrc -q -r -x -fo=" + GetHostPathQ(objfile) + Includes(" -i=", package, pkg)
|
| ... | ... | |
| 123 | 123 |
} |
| 124 | 124 |
else |
| 125 | 125 |
if (brc) {
|
| 126 |
PutConsole(GetFileNamePos(fn)); |
|
| 127 | 126 |
try {
|
| 128 | 127 |
String hfn = GetHostPath(fn); |
| 129 | 128 |
String brcdata = LoadFile(hfn); |