Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
CMake
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
André Pedro
CMake
Commits
235cb021
Commit
235cb021
authored
16 years ago
by
Alexander Neundorf
Browse files
Options
Downloads
Patches
Plain Diff
BUG: fix #7471, only put build directories and CMakeFiles/ in the blacklist
Alex
parent
5295385c
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Source/cmGlobalKdevelopGenerator.cxx
+9
-4
9 additions, 4 deletions
Source/cmGlobalKdevelopGenerator.cxx
with
9 additions
and
4 deletions
Source/cmGlobalKdevelopGenerator.cxx
+
9
−
4
View file @
235cb021
...
...
@@ -280,9 +280,9 @@ void cmGlobalKdevelopGenerator
}
else
{
// add all subdirectories
to the kdevelop blacklist
// so they are not monitored for added or removed files
// since this is
basically
handled by adding files to the cmake files
// add all subdirectories
which are cmake build directories to the
//
kdevelop blacklist
so they are not monitored for added or removed files
// since this is handled by adding files to the cmake files
cmsys
::
Directory
d
;
if
(
d
.
Load
(
projectDir
.
c_str
()))
{
...
...
@@ -297,7 +297,12 @@ void cmGlobalKdevelopGenerator
tmp
+=
nextFile
;
if
(
cmSystemTools
::
FileIsDirectory
(
tmp
.
c_str
()))
{
this
->
Blacklist
.
push_back
(
nextFile
);
tmp
+=
"/CMakeCache.txt"
;
if
((
nextFile
==
"CMakeFiles"
)
||
(
cmSystemTools
::
FileExists
(
tmp
.
c_str
())))
{
this
->
Blacklist
.
push_back
(
nextFile
);
}
}
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment