PricingDownload
Product

Platform

All features44 capabilities, from IDE to CICompliance KitsISO 26262, DO-178C, IEC 62304...AI GovernanceControl AI-generated C/C++ codeWhat’s new in 2027Latest version highlightsScreenshotsSee the product in action

Analyze & improve

Coding standardsMISRA, CERT, CWE, AUTOSARArchitecture & dependenciesGraphs, matrix, cyclesTechnical debtMeasured in hours and dollarsQuality gatesStop regressions in CISmart Code CityYour codebase in 3D

Integrations

IDE pluginsVisual Studio, VS Code, CLion...CI/CD pipelinesJenkins, Azure DevOps, GitHub, GitLabSonarQube pluginC/C++ results in SonarQubeExternal analyzersClang-Tidy, Cppcheck, coverageFeature on Demand
Solutions

By need

Functional safetyCompliance kits per standardCoding standardsMISRA, CERT, AUTOSAR, ISO...Legacy modernizationRefactor large C/C++ safelyCode auditExpert review of your codebaseM&A due diligenceAssess technical health fast

By role

DevelopersSoftware architectsTech leadsDevOps engineersEngineering managersProject managers

CTOsCIOs / IT leadersQA engineersSecurity leadersComplianceConsultantsRequest a guided PoC
Industries

Safety-critical

AutomotiveISO 26262, MISRA, AUTOSARAerospace & DefenseDO-178C programsMedical DevicesIEC 62304 softwareEnergy & UtilitiesIEC 61508 systemsEmbedded SystemsFirmware and devices

Enterprise

Financial ServicesTrading and paymentsGame DevelopmentEngines and large C++Software VendorsCommercial C/C++ productsGovernmentAgencies and contractorsAll industries & case studies
Resources

Learn

DocumentationGuides, rules and CI setupKnowledge baseFrequently asked questionsBlogC and C++ code quality articlesRelease notesEvery version since 2009

Customers

Case studiesSuccess storiesTestimonialsWhat users sayOur customersCompanies using CppDependGold Code QualityOpen source projects we rate

Programs & company

Feature on DemandMissing features built for freeFree for open sourceLicenses for OSS and studentsContact usSales and supportEULALicense agreement
Docs
Documentation

Analysis & Report

Exclude Files

1 min readAnalysis & ReportCppDepend 2027

Exclude code and refine the externals

Introduction

Exclude third party sources.
Move code from my code to external projects.
Move code from external projects to my code.
Group external symbols in a lib.

Introduction

CppDepend automatically analyzes your code base, distinguishing between your code and external symbols. However, sometimes it's necessary to manually adjust this by excluding certain parsed sources from your project when they are part of a third-party library. This involves reclassifying some symbols, moving them from your code to external projects or vice versa, to ensure a more accurate representation in CppDepend's analysis.
Go to top
Exclude third party sources.
When your project includes a third-party library as source code, CppDepend may recognize these files as part of your project. To address this, you can exclude these specific source files by navigating to "Project Properties -> Code To Analyze -> Exclude Projects, Folders and Files" in CppDepend. This allows for more accurate analysis by omitting the third-party library files from consideration.
Several exclusion options are offered, including:

Exclude projects:

Remove an entire project by its name.

Exclude folders:

Omit an entire folder.

Exclude files:

Exclude specific files individually.

Exclude using Regex path:

Utilize Regex paths for flexible exclusion of files or folders.
Go to top
Transfer code from your own project to external projects.
If CppDepend mistakenly identifies external symbols as part of your code, you can reassign them to an external library by following a specific set of steps. This process

Was this page helpful?
Evaluating CppDepend on a production codebase?Get a guided proof of concept with our static analysis architects.
Request a PoC