Merge topic 'code-blocks-include-order'
38995d19
CodeBlocks: List C++ includes first
This commit is contained in:
commit
388a40942b
|
@ -593,7 +593,7 @@ void cmExtraCodeBlocksGenerator::AppendTarget(
|
||||||
includes.end());
|
includes.end());
|
||||||
|
|
||||||
std::string systemIncludeDirs = makefile->GetSafeDefinition(
|
std::string systemIncludeDirs = makefile->GetSafeDefinition(
|
||||||
"CMAKE_EXTRA_GENERATOR_C_SYSTEM_INCLUDE_DIRS");
|
"CMAKE_EXTRA_GENERATOR_CXX_SYSTEM_INCLUDE_DIRS");
|
||||||
if (!systemIncludeDirs.empty()) {
|
if (!systemIncludeDirs.empty()) {
|
||||||
std::vector<std::string> dirs;
|
std::vector<std::string> dirs;
|
||||||
cmSystemTools::ExpandListArgument(systemIncludeDirs, dirs);
|
cmSystemTools::ExpandListArgument(systemIncludeDirs, dirs);
|
||||||
|
@ -601,7 +601,7 @@ void cmExtraCodeBlocksGenerator::AppendTarget(
|
||||||
}
|
}
|
||||||
|
|
||||||
systemIncludeDirs = makefile->GetSafeDefinition(
|
systemIncludeDirs = makefile->GetSafeDefinition(
|
||||||
"CMAKE_EXTRA_GENERATOR_CXX_SYSTEM_INCLUDE_DIRS");
|
"CMAKE_EXTRA_GENERATOR_C_SYSTEM_INCLUDE_DIRS");
|
||||||
if (!systemIncludeDirs.empty()) {
|
if (!systemIncludeDirs.empty()) {
|
||||||
std::vector<std::string> dirs;
|
std::vector<std::string> dirs;
|
||||||
cmSystemTools::ExpandListArgument(systemIncludeDirs, dirs);
|
cmSystemTools::ExpandListArgument(systemIncludeDirs, dirs);
|
||||||
|
|
Loading…
Reference in New Issue