Skip to content
Snippets Groups Projects
Commit 13c2c406 authored by Daniel Teske's avatar Daniel Teske
Browse files

Cmake: Read the build.ninja file only once


The first getCmakeCXXFlags that reads the build.ninja file
stores the contents in the inout parameter cachedBuildNinja.
Further calls to getCMakeCXXFlags just use this cached value.

This prevents excessive locking of this file while constructing
the code model information.

Change-Id: I81e1431194bed6913c69abb2d954068c999a5c1b
Task-number: QTCREATORBUG-14639
Reviewed-by: Tom Tanner
Reviewed-by: default avatarTobias Hunger <tobias.hunger@theqtcompany.com>
parent 42d86726
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment