export declare class CmakeUtils { /** * Scan the CMakeLists.txt files in the directory and obtain all dependent header file directories. * @param dir - the target project directory. * @returns - include directories set by CMakeLists.txt */ static scanCMakeIncludeDirsOnly(dir: string): string[]; /** * Get the variable and definition in the set statements, e.g. set(VAR value) * @param line - The line content in CMakeLists. * @returns - an array containing variable names and set values, or null */ private static extractSetVar; /** * Recursively parse variables in current CMakeLists. * @param val - the definition of variables. e.g. set(VAR value) * @param varTable - variable definition record * @param depth - current recursive depth * @returns - include directory set by Set statement. */ private static resolveCMakeVar; /** * Determine whether the current line is the start of include_directories or target_include_directories, * If so, enter the collection state and handle scenarios where a single line is immediately closed. * @param line - The line content in CMakeLists. * @param results - Include directories. * @returns new collecting state, funcType, buffer(supporting multi-line parameters). */ private static tryStartCollectingIncludeDirs; /** * Extract all include directories from CMakeLists. * @param lines - All lines in CMakeLists. * @returns - include Directories. */ private static extractAllIncludeDirs; /** * Parse parameters in line buffer. * @param buffer - line buffer. * @param isTarget - is it a target variable name * @returns - parameters. */ private static parseCMakeArgs; } //# sourceMappingURL=cmakeUtils.d.ts.map