mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-02-25 13:11:00 +00:00
[qfcc] Generate dependencies only if not using cpp
cpp does this for us so the double-generation is redundant (and currently wrong anyway with things like <built-in> and <command-line> getting into the list of dependencies).
This commit is contained in:
parent
6fa1d9caa2
commit
dfd57ed74f
1 changed files with 1 additions and 1 deletions
|
@ -713,7 +713,7 @@ cpp_set_quote_file (const char *path)
|
||||||
void
|
void
|
||||||
cpp_write_dependencies (const char *sourcefile)
|
cpp_write_dependencies (const char *sourcefile)
|
||||||
{
|
{
|
||||||
if (!options.dependencies) {
|
if (!options.dependencies || cpp_name) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (!cpp_dep_target) {
|
if (!cpp_dep_target) {
|
||||||
|
|
Loading…
Reference in a new issue