From 99a5c0f59aeadc8a459b86d1a9fc5191f2e3f651 Mon Sep 17 00:00:00 2001 From: littleGnAl Date: Mon, 4 Mar 2024 15:56:27 +0800 Subject: [PATCH] [cxx-parser] Allow add prefix to the build directory name --- cxx-parser/src/cxx_parser_configs.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cxx-parser/src/cxx_parser_configs.ts b/cxx-parser/src/cxx_parser_configs.ts index 3bafc5d..0af01df 100644 --- a/cxx-parser/src/cxx_parser_configs.ts +++ b/cxx-parser/src/cxx_parser_configs.ts @@ -50,12 +50,12 @@ export class CXXParserConfigs { .flat(1), definesMacros: original.definesMacros ?? [], parseFiles: { - include: (original.parseFiles.include ?? []) + include: (original.parseFiles?.include ?? []) .map((it) => { return _resolvePaths(it, configDir); }) .flat(1), - exclude: (original.parseFiles.exclude ?? []) + exclude: (original.parseFiles?.exclude ?? []) .map((it) => { return _resolvePaths(it, configDir); })