fix target name not written when not overridden
This commit is contained in:
parent
98b44ec923
commit
640046ee1e
5
main.cpp
5
main.cpp
@ -378,11 +378,8 @@ int main(int argc, char ** args) {
|
|||||||
if (!openOutfile(outfile)) {
|
if (!openOutfile(outfile)) {
|
||||||
continue; // just skip this file
|
continue; // just skip this file
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
// check for target override
|
writeTarget(outfile, filename);
|
||||||
if (config.targetName.empty()) {
|
|
||||||
config.targetName = filename;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
for (auto it = list.begin(); it != list.end(); it++) {
|
for (auto it = list.begin(); it != list.end(); it++) {
|
||||||
|
Loading…
Reference in New Issue
Block a user