diff options
Diffstat (limited to 'mkspecs/features/gn_generator.prf')
-rw-r--r-- | mkspecs/features/gn_generator.prf | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/mkspecs/features/gn_generator.prf b/mkspecs/features/gn_generator.prf index efb8a65a1..b1f04e570 100644 --- a/mkspecs/features/gn_generator.prf +++ b/mkspecs/features/gn_generator.prf @@ -222,6 +222,14 @@ GN_CONTENTS += " \":generate_cpp_mocs\"," GN_CONTENTS += " ]" GN_CONTENTS += " }" GN_CONTENTS += "}" +GN_CONTENTS += " if (!defined(core_include_dirs)) {"\ + " core_include_dirs = []"\ + " }" +!isEmpty(GN_CORE_INCLUDE_DIRS) { + GN_CONTENTS += "core_include_dirs += [" + for (inc, GN_CORE_INCLUDE_DIRS): GN_CONTENTS += " \"$$inc\"," + GN_CONTENTS += "]" +} !isEmpty(GN_INCLUDES) { for (inc, GN_INCLUDES): GN_CONTENTS += $$cat($$inc,lines) } |