Implemented support for building cppcheck lib into a dll

Updated VS9 solution
New VS10 solution that builds cppcheck into a dll used by cli and testrunner.
Functional changes and advantages of new solution:
- Share code between testrunner and cli; ability to share code with gui as well (not yet implemented)
- Files of /lib are no longer compiled twice (should improve build time on single core machines)
- Added configuration for building with PCRE support
- Executables are build into /bin (/bin/debug in debug mode) folder (Should no longer require rebuild when switching between debug and release)
- Completely x64 compatible (contains also x64-debug configuration now)
This commit is contained in:
PKEuS 2012-06-10 05:19:09 -07:00
parent 171f570639
commit 4b80e91145
46 changed files with 1386 additions and 1023 deletions

247
cli/cli.vcxproj Normal file
View File

@ -0,0 +1,247 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Debug|x64">
<Configuration>Debug</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|Win32">
<Configuration>Release</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|x64">
<Configuration>Release</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{35CBDF51-2456-3EC3-99ED-113C30858883}</ProjectGuid>
<RootNamespace>cli</RootNamespace>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<OutputDirectory>debug\</OutputDirectory>
<ConfigurationType>Application</ConfigurationType>
<IntermediateDirectory>temp\</IntermediateDirectory>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
<OutputDirectory>debug\</OutputDirectory>
<ConfigurationType>Application</ConfigurationType>
<IntermediateDirectory>temp\</IntermediateDirectory>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<OutputDirectory>release\</OutputDirectory>
<ConfigurationType>Application</ConfigurationType>
<IntermediateDirectory>temp\</IntermediateDirectory>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
<OutputDirectory>release\</OutputDirectory>
<ConfigurationType>Application</ConfigurationType>
<IntermediateDirectory>temp\</IntermediateDirectory>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings" />
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup>
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\debug\</OutDir>
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">..\bin\debug\</OutDir>
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">temp\debug\</IntDir>
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">temp\debug\</IntDir>
<TargetName Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">cppcheck</TargetName>
<TargetName Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">cppcheck</TargetName>
<IgnoreImportLibrary Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</IgnoreImportLibrary>
<IgnoreImportLibrary Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</IgnoreImportLibrary>
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">..\bin\</OutDir>
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">..\bin\</OutDir>
<IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">temp\</IntDir>
<IntDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">temp\</IntDir>
<TargetName Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">cppcheck</TargetName>
<TargetName Condition="'$(Configuration)|$(Platform)'=='Release|x64'">cppcheck</TargetName>
<IgnoreImportLibrary Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</IgnoreImportLibrary>
<IgnoreImportLibrary Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</IgnoreImportLibrary>
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</LinkIncremental>
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</LinkIncremental>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<AdditionalIncludeDirectories>..\lib;..\externals;..\externals\tinyxml;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<AssemblerListingLocation>temp\</AssemblerListingLocation>
<BrowseInformation>false</BrowseInformation>
<BufferSecurityCheck>true</BufferSecurityCheck>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<ObjectFileName>temp\</ObjectFileName>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>CPPCHECKLIB_IMPORT;UNICODE;WIN32;_CRT_SECURE_NO_WARNINGS;WIN32_LEAN_AND_MEAN;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PreprocessToFile>false</PreprocessToFile>
<ProgramDataBaseFileName>.\</ProgramDataBaseFileName>
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
<SuppressStartupBanner>true</SuppressStartupBanner>
<WarningLevel>Level4</WarningLevel>
<DisableSpecificWarnings>4251</DisableSpecificWarnings>
</ClCompile>
<Link>
<AdditionalDependencies>shlwapi.lib;%(AdditionalDependencies)</AdditionalDependencies>
<AdditionalLibraryDirectories>../externals;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<GenerateDebugInformation>true</GenerateDebugInformation>
<IgnoreImportLibrary>true</IgnoreImportLibrary>
<SubSystem>Console</SubSystem>
<SuppressStartupBanner>true</SuppressStartupBanner>
<ProgramDatabaseFile>$(TargetDir)cli.pdb</ProgramDatabaseFile>
</Link>
<Midl />
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<ClCompile>
<AdditionalIncludeDirectories>..\lib;..\externals;..\externals\tinyxml;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<BrowseInformation>false</BrowseInformation>
<BufferSecurityCheck>true</BufferSecurityCheck>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>CPPCHECKLIB_IMPORT;UNICODE;WIN32;_CRT_SECURE_NO_WARNINGS;WIN32_LEAN_AND_MEAN;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PreprocessToFile>false</PreprocessToFile>
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
<SuppressStartupBanner>true</SuppressStartupBanner>
<WarningLevel>Level4</WarningLevel>
<DisableSpecificWarnings>4251</DisableSpecificWarnings>
<OmitFramePointers>false</OmitFramePointers>
</ClCompile>
<Link>
<AdditionalDependencies>shlwapi.lib;%(AdditionalDependencies)</AdditionalDependencies>
<AdditionalLibraryDirectories>../externals;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<GenerateDebugInformation>true</GenerateDebugInformation>
<IgnoreImportLibrary>true</IgnoreImportLibrary>
<SubSystem>Console</SubSystem>
<SuppressStartupBanner>true</SuppressStartupBanner>
<ProgramDatabaseFile>$(TargetDir)cli.pdb</ProgramDatabaseFile>
</Link>
<Midl />
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
<AdditionalIncludeDirectories>..\lib;..\externals;..\externals\tinyxml;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<BrowseInformation>false</BrowseInformation>
<BufferSecurityCheck>false</BufferSecurityCheck>
<Optimization>MaxSpeed</Optimization>
<PreprocessorDefinitions>CPPCHECKLIB_IMPORT;NDEBUG;UNICODE;WIN32;_CRT_SECURE_NO_WARNINGS;WIN32_LEAN_AND_MEAN;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PreprocessToFile>false</PreprocessToFile>
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
<SuppressStartupBanner>true</SuppressStartupBanner>
<WarningLevel>Level4</WarningLevel>
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
<IntrinsicFunctions>true</IntrinsicFunctions>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<OmitFramePointers>true</OmitFramePointers>
<WholeProgramOptimization>false</WholeProgramOptimization>
<DisableSpecificWarnings>4251</DisableSpecificWarnings>
<DebugInformationFormat>
</DebugInformationFormat>
</ClCompile>
<Link>
<AdditionalDependencies>shlwapi.lib;%(AdditionalDependencies)</AdditionalDependencies>
<AdditionalLibraryDirectories>../externals;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<GenerateDebugInformation>false</GenerateDebugInformation>
<IgnoreImportLibrary>true</IgnoreImportLibrary>
<SubSystem>Console</SubSystem>
<SuppressStartupBanner>true</SuppressStartupBanner>
<OptimizeReferences>true</OptimizeReferences>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<SetChecksum>true</SetChecksum>
<ProgramDatabaseFile>$(TargetDir)cli.pdb</ProgramDatabaseFile>
</Link>
<Midl />
<ProjectReference />
<ProjectReference />
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<ClCompile>
<AdditionalIncludeDirectories>..\lib;..\externals;..\externals\tinyxml;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<BrowseInformation>false</BrowseInformation>
<BufferSecurityCheck>false</BufferSecurityCheck>
<Optimization>MaxSpeed</Optimization>
<PreprocessorDefinitions>CPPCHECKLIB_IMPORT;NDEBUG;UNICODE;WIN32;_CRT_SECURE_NO_WARNINGS;WIN32_LEAN_AND_MEAN;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PreprocessToFile>false</PreprocessToFile>
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
<SuppressStartupBanner>true</SuppressStartupBanner>
<WarningLevel>Level4</WarningLevel>
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
<IntrinsicFunctions>true</IntrinsicFunctions>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<OmitFramePointers>true</OmitFramePointers>
<WholeProgramOptimization>false</WholeProgramOptimization>
<DisableSpecificWarnings>4251</DisableSpecificWarnings>
<DebugInformationFormat>
</DebugInformationFormat>
<StringPooling>true</StringPooling>
</ClCompile>
<Link>
<AdditionalDependencies>shlwapi.lib;%(AdditionalDependencies)</AdditionalDependencies>
<AdditionalLibraryDirectories>../externals;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<GenerateDebugInformation>false</GenerateDebugInformation>
<IgnoreImportLibrary>true</IgnoreImportLibrary>
<SubSystem>Console</SubSystem>
<SuppressStartupBanner>true</SuppressStartupBanner>
<OptimizeReferences>true</OptimizeReferences>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<SetChecksum>true</SetChecksum>
<ProgramDatabaseFile>$(TargetDir)cli.pdb</ProgramDatabaseFile>
</Link>
<Midl />
</ItemDefinitionGroup>
<ItemGroup>
<CustomBuild Include="temp\cppcheck.res" />
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="cppcheck.rc" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\externals\tinyxml\tinystr.h" />
<ClInclude Include="..\externals\tinyxml\tinyxml.h" />
<ClInclude Include="..\lib\config.h" />
<ClInclude Include="cmdlineparser.h" />
<ClInclude Include="cppcheckexecutor.h" />
<ClInclude Include="filelister.h" />
<ClInclude Include="pathmatch.h" />
<ClInclude Include="resource.h" />
<ClInclude Include="threadexecutor.h" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\lib\cppcheck.vcxproj">
<Project>{c183db5b-ad6c-423d-80ca-1f9549555a1a}</Project>
<Private>true</Private>
<ReferenceOutputAssembly>true</ReferenceOutputAssembly>
<CopyLocalSatelliteAssemblies>false</CopyLocalSatelliteAssemblies>
<LinkLibraryDependencies>true</LinkLibraryDependencies>
<UseLibraryDependencyInputs>false</UseLibraryDependencyInputs>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\externals\tinyxml\tinystr.cpp" />
<ClCompile Include="..\externals\tinyxml\tinyxml.cpp" />
<ClCompile Include="..\externals\tinyxml\tinyxmlerror.cpp" />
<ClCompile Include="..\externals\tinyxml\tinyxmlparser.cpp" />
<ClCompile Include="cmdlineparser.cpp" />
<ClCompile Include="cppcheckexecutor.cpp" />
<ClCompile Include="filelister.cpp" />
<ClCompile Include="main.cpp" />
<ClCompile Include="pathmatch.cpp" />
<ClCompile Include="threadexecutor.cpp" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets" />
</Project>

86
cli/cli.vcxproj.filters Normal file
View File

@ -0,0 +1,86 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Filter Include="Generated Files">
<UniqueIdentifier>{71ED8ED8-ACB9-4CE9-BBE1-E00B30144E11}</UniqueIdentifier>
<Extensions>cpp;c;cxx;moc;h;def;odl;idl;res</Extensions>
</Filter>
<Filter Include="Header Files">
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
<Extensions>h;hpp;hxx;hm;inl;inc;xsd</Extensions>
</Filter>
<Filter Include="Source Files">
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
<Extensions>cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
</Filter>
</ItemGroup>
<ItemGroup>
<CustomBuild Include="temp\cppcheck.res">
<Filter>Generated Files</Filter>
</CustomBuild>
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="cppcheck.rc" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\lib\config.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="cmdlineparser.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="threadexecutor.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="cppcheckexecutor.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="filelister.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="pathmatch.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="resource.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\externals\tinyxml\tinystr.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\externals\tinyxml\tinyxml.h">
<Filter>Header Files</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<ClCompile Include="main.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="pathmatch.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="threadexecutor.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="cppcheckexecutor.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="filelister.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="cmdlineparser.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\externals\tinyxml\tinystr.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\externals\tinyxml\tinyxml.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\externals\tinyxml\tinyxmlerror.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\externals\tinyxml\tinyxmlparser.cpp">
<Filter>Source Files</Filter>
</ClCompile>
</ItemGroup>
</Project>

View File

@ -1,229 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|Win32">
<Configuration>Release</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{331ECF0E-B735-3591-8117-F947568F31EE}</ProjectGuid>
<RootNamespace>cppcheck</RootNamespace>
<Keyword>Qt4VSv1.0</Keyword>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="&apos;$(Configuration)|$(Platform)&apos;==&apos;Debug|Win32&apos;" Label="Configuration">
<OutputDirectory>debug\</OutputDirectory>
<ATLMinimizesCRunTimeLibraryUsage>false</ATLMinimizesCRunTimeLibraryUsage>
<CharacterSet>NotSet</CharacterSet>
<ConfigurationType>Application</ConfigurationType>
<IntermediateDirectory>temp\</IntermediateDirectory>
</PropertyGroup>
<PropertyGroup Condition="&apos;$(Configuration)|$(Platform)&apos;==&apos;Release|Win32&apos;" Label="Configuration">
<OutputDirectory>release\</OutputDirectory>
<ATLMinimizesCRunTimeLibraryUsage>false</ATLMinimizesCRunTimeLibraryUsage>
<CharacterSet>NotSet</CharacterSet>
<ConfigurationType>Application</ConfigurationType>
<IntermediateDirectory>temp\</IntermediateDirectory>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings" />
<ImportGroup Condition="&apos;$(Configuration)|$(Platform)&apos;==&apos;Debug|Win32&apos;" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists(&apos;$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props&apos;)" />
</ImportGroup>
<ImportGroup Condition="&apos;$(Configuration)|$(Platform)&apos;==&apos;Release|Win32&apos;" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists(&apos;$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props&apos;)" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup>
<OutDir Condition="&apos;$(Configuration)|$(Platform)&apos;==&apos;Debug|Win32&apos;">debug\</OutDir>
<IntDir Condition="&apos;$(Configuration)|$(Platform)&apos;==&apos;Debug|Win32&apos;">temp\</IntDir>
<IgnoreImportLibrary Condition="&apos;$(Configuration)|$(Platform)&apos;==&apos;Debug|Win32&apos;">true</IgnoreImportLibrary>
<OutDir Condition="&apos;$(Configuration)|$(Platform)&apos;==&apos;Release|Win32&apos;">release\</OutDir>
<IntDir Condition="&apos;$(Configuration)|$(Platform)&apos;==&apos;Release|Win32&apos;">temp\</IntDir>
<IgnoreImportLibrary Condition="&apos;$(Configuration)|$(Platform)&apos;==&apos;Release|Win32&apos;">true</IgnoreImportLibrary>
<LinkIncremental Condition="&apos;$(Configuration)|$(Platform)&apos;==&apos;Release|Win32&apos;">false</LinkIncremental>
</PropertyGroup>
<ItemDefinitionGroup Condition="&apos;$(Configuration)|$(Platform)&apos;==&apos;Debug|Win32&apos;">
<ClCompile>
<AdditionalIncludeDirectories>".";"..\lib";"..\externals\tinyxml";..\..\..\..\Qt\4.8.1\mkspecs\win32-msvc2010;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<AdditionalOptions>-Zm200 -w34100 -w34189 %(AdditionalOptions)</AdditionalOptions>
<AssemblerListingLocation>temp\</AssemblerListingLocation>
<BrowseInformation>false</BrowseInformation>
<BufferSecurityCheck>false</BufferSecurityCheck>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<ExceptionHandling>Sync</ExceptionHandling>
<ObjectFileName>temp\</ObjectFileName>
<PreprocessorDefinitions>_CONSOLE;UNICODE;WIN32;QT_LARGEFILE_SUPPORT;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PreprocessToFile>false</PreprocessToFile>
<ProgramDataBaseFileName>.\</ProgramDataBaseFileName>
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
<RuntimeTypeInfo>true</RuntimeTypeInfo>
<SuppressStartupBanner>true</SuppressStartupBanner>
<TreatWChar_tAsBuiltInType>false</TreatWChar_tAsBuiltInType>
<WarningLevel>Level4</WarningLevel>
</ClCompile>
<Link>
<AdditionalDependencies>shlwapi.lib;%(AdditionalDependencies)</AdditionalDependencies>
<AdditionalOptions>"/MANIFESTDEPENDENCY:type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' publicKeyToken='6595b64144ccf1df' language='*' processorArchitecture='*'" %(AdditionalOptions)</AdditionalOptions>
<DataExecutionPrevention>true</DataExecutionPrevention>
<GenerateDebugInformation>true</GenerateDebugInformation>
<IgnoreImportLibrary>true</IgnoreImportLibrary>
<OutputFile>$(OutDir)\cppcheck.exe</OutputFile>
<RandomizedBaseAddress>true</RandomizedBaseAddress>
<SubSystem>Console</SubSystem>
<SuppressStartupBanner>true</SuppressStartupBanner>
</Link>
<Midl>
<DefaultCharType>Unsigned</DefaultCharType>
<EnableErrorChecks>None</EnableErrorChecks>
<WarningLevel>0</WarningLevel>
</Midl>
<ResourceCompile>
<PreprocessorDefinitions>_CONSOLE;UNICODE;WIN32;QT_LARGEFILE_SUPPORT;_CRT_SECURE_NO_WARNINGS;_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
</ResourceCompile>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="&apos;$(Configuration)|$(Platform)&apos;==&apos;Release|Win32&apos;">
<ClCompile>
<AdditionalIncludeDirectories>".";"..\lib";"..\externals\tinyxml";..\..\..\..\Qt\4.8.1\mkspecs\win32-msvc2010;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<AdditionalOptions>-Zm200 -w34100 -w34189 %(AdditionalOptions)</AdditionalOptions>
<AssemblerListingLocation>temp\</AssemblerListingLocation>
<BrowseInformation>false</BrowseInformation>
<BufferSecurityCheck>false</BufferSecurityCheck>
<ExceptionHandling>Sync</ExceptionHandling>
<ObjectFileName>temp\</ObjectFileName>
<Optimization>MaxSpeed</Optimization>
<PreprocessorDefinitions>_CONSOLE;UNICODE;WIN32;QT_LARGEFILE_SUPPORT;NDEBUG;_CRT_SECURE_NO_WARNINGS;NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PreprocessToFile>false</PreprocessToFile>
<ProgramDataBaseFileName>.\</ProgramDataBaseFileName>
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
<RuntimeTypeInfo>true</RuntimeTypeInfo>
<SuppressStartupBanner>true</SuppressStartupBanner>
<TreatWChar_tAsBuiltInType>false</TreatWChar_tAsBuiltInType>
<WarningLevel>Level4</WarningLevel>
</ClCompile>
<Link>
<AdditionalDependencies>shlwapi.lib;%(AdditionalDependencies)</AdditionalDependencies>
<AdditionalOptions>"/MANIFESTDEPENDENCY:type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' publicKeyToken='6595b64144ccf1df' language='*' processorArchitecture='*'" %(AdditionalOptions)</AdditionalOptions>
<DataExecutionPrevention>true</DataExecutionPrevention>
<GenerateDebugInformation>false</GenerateDebugInformation>
<IgnoreImportLibrary>true</IgnoreImportLibrary>
<LinkIncremental>false</LinkIncremental>
<OutputFile>$(OutDir)\cppcheck.exe</OutputFile>
<RandomizedBaseAddress>true</RandomizedBaseAddress>
<SubSystem>Console</SubSystem>
<SuppressStartupBanner>true</SuppressStartupBanner>
</Link>
<Midl>
<DefaultCharType>Unsigned</DefaultCharType>
<EnableErrorChecks>None</EnableErrorChecks>
<WarningLevel>0</WarningLevel>
</Midl>
<ResourceCompile>
<PreprocessorDefinitions>_CONSOLE;UNICODE;WIN32;QT_LARGEFILE_SUPPORT;NDEBUG;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
</ResourceCompile>
</ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="..\lib\check64bit.cpp" />
<ClCompile Include="..\lib\checkassignif.cpp" />
<ClCompile Include="..\lib\checkautovariables.cpp" />
<ClCompile Include="..\lib\checkboost.cpp" />
<ClCompile Include="..\lib\checkbufferoverrun.cpp" />
<ClCompile Include="..\lib\checkclass.cpp" />
<ClCompile Include="..\lib\checkexceptionsafety.cpp" />
<ClCompile Include="..\lib\checkinternal.cpp" />
<ClCompile Include="..\lib\checkio.cpp" />
<ClCompile Include="..\lib\checkleakautovar.cpp" />
<ClCompile Include="..\lib\checkmemoryleak.cpp" />
<ClCompile Include="..\lib\checknonreentrantfunctions.cpp" />
<ClCompile Include="..\lib\checknullpointer.cpp" />
<ClCompile Include="..\lib\checkobsoletefunctions.cpp" />
<ClCompile Include="..\lib\checkother.cpp" />
<ClCompile Include="..\lib\checkpostfixoperator.cpp" />
<ClCompile Include="..\lib\checkstl.cpp" />
<ClCompile Include="..\lib\checkuninitvar.cpp" />
<ClCompile Include="..\lib\checkunusedfunctions.cpp" />
<ClCompile Include="..\lib\checkunusedvar.cpp" />
<ClCompile Include="cmdlineparser.cpp" />
<ClCompile Include="..\lib\cppcheck.cpp" />
<ClCompile Include="cppcheckexecutor.cpp" />
<ClCompile Include="..\lib\errorlogger.cpp" />
<ClCompile Include="..\lib\executionpath.cpp" />
<ClCompile Include="filelister.cpp" />
<ClCompile Include="main.cpp" />
<ClCompile Include="..\lib\mathlib.cpp" />
<ClCompile Include="..\lib\path.cpp" />
<ClCompile Include="pathmatch.cpp" />
<ClCompile Include="..\lib\preprocessor.cpp" />
<ClCompile Include="..\lib\settings.cpp" />
<ClCompile Include="..\lib\suppressions.cpp" />
<ClCompile Include="..\lib\symboldatabase.cpp" />
<ClCompile Include="..\lib\templatesimplifier.cpp" />
<ClCompile Include="threadexecutor.cpp" />
<ClCompile Include="..\lib\timer.cpp" />
<ClCompile Include="..\externals\tinyxml\tinystr.cpp" />
<ClCompile Include="..\externals\tinyxml\tinyxml.cpp" />
<ClCompile Include="..\externals\tinyxml\tinyxmlerror.cpp" />
<ClCompile Include="..\externals\tinyxml\tinyxmlparser.cpp" />
<ClCompile Include="..\lib\token.cpp" />
<ClCompile Include="..\lib\tokenize.cpp" />
<ClCompile Include="..\lib\tokenlist.cpp" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\lib\check.h" />
<ClInclude Include="..\lib\check64bit.h" />
<ClInclude Include="..\lib\checkassignif.h" />
<ClInclude Include="..\lib\checkautovariables.h" />
<ClInclude Include="..\lib\checkboost.h" />
<ClInclude Include="..\lib\checkbufferoverrun.h" />
<ClInclude Include="..\lib\checkclass.h" />
<ClInclude Include="..\lib\checkexceptionsafety.h" />
<ClInclude Include="..\lib\checkinternal.h" />
<ClInclude Include="..\lib\checkio.h" />
<ClInclude Include="..\lib\checkleakautovar.h" />
<ClInclude Include="..\lib\checkmemoryleak.h" />
<ClInclude Include="..\lib\checknonreentrantfunctions.h" />
<ClInclude Include="..\lib\checknullpointer.h" />
<ClInclude Include="..\lib\checkobsoletefunctions.h" />
<ClInclude Include="..\lib\checkother.h" />
<ClInclude Include="..\lib\checkpostfixoperator.h" />
<ClInclude Include="..\lib\checkstl.h" />
<ClInclude Include="..\lib\checkuninitvar.h" />
<ClInclude Include="..\lib\checkunusedfunctions.h" />
<ClInclude Include="..\lib\checkunusedvar.h" />
<ClInclude Include="cmdlineparser.h" />
<ClInclude Include="..\lib\cppcheck.h" />
<ClInclude Include="cppcheckexecutor.h" />
<ClInclude Include="..\lib\errorlogger.h" />
<ClInclude Include="..\lib\executionpath.h" />
<ClInclude Include="filelister.h" />
<ClInclude Include="..\lib\mathlib.h" />
<ClInclude Include="..\lib\path.h" />
<ClInclude Include="pathmatch.h" />
<ClInclude Include="..\lib\preprocessor.h" />
<ClInclude Include="resource.h" />
<ClInclude Include="..\lib\settings.h" />
<ClInclude Include="..\lib\suppressions.h" />
<ClInclude Include="..\lib\symboldatabase.h" />
<ClInclude Include="..\lib\templatesimplifier.h" />
<ClInclude Include="threadexecutor.h" />
<ClInclude Include="..\lib\timer.h" />
<ClInclude Include="..\externals\tinyxml\tinystr.h" />
<ClInclude Include="..\externals\tinyxml\tinyxml.h" />
<ClInclude Include="..\lib\token.h" />
<ClInclude Include="..\lib\tokenize.h" />
<ClInclude Include="..\lib\tokenlist.h" />
</ItemGroup>
<ItemGroup>
<CustomBuild Include="temp\cppcheck.res" />
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="cppcheck.rc" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets" />
</Project>

View File

@ -1,302 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Filter Include="Generated Files">
<UniqueIdentifier>{71ED8ED8-ACB9-4CE9-BBE1-E00B30144E11}</UniqueIdentifier>
<Extensions>cpp;c;cxx;moc;h;def;odl;idl;res;</Extensions>
</Filter>
<Filter Include="Generated Files">
<UniqueIdentifier>{71ED8ED8-ACB9-4CE9-BBE1-E00B30144E11}</UniqueIdentifier>
<Extensions>cpp;c;cxx;moc;h;def;odl;idl;res;</Extensions>
</Filter>
<Filter Include="Header Files">
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
<Extensions>h;hpp;hxx;hm;inl;inc;xsd</Extensions>
</Filter>
<Filter Include="Header Files">
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
<Extensions>h;hpp;hxx;hm;inl;inc;xsd</Extensions>
</Filter>
<Filter Include="Source Files">
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
<Extensions>cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
</Filter>
<Filter Include="Source Files">
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
<Extensions>cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
</Filter>
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\lib\check64bit.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\lib\checkassignif.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\lib\checkautovariables.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\lib\checkboost.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\lib\checkbufferoverrun.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\lib\checkclass.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\lib\checkexceptionsafety.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\lib\checkinternal.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\lib\checkio.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\lib\checkleakautovar.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\lib\checkmemoryleak.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\lib\checknonreentrantfunctions.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\lib\checknullpointer.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\lib\checkobsoletefunctions.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\lib\checkother.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\lib\checkpostfixoperator.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\lib\checkstl.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\lib\checkuninitvar.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\lib\checkunusedfunctions.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\lib\checkunusedvar.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="cmdlineparser.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\lib\cppcheck.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="cppcheckexecutor.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\lib\errorlogger.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\lib\executionpath.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="filelister.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="main.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\lib\mathlib.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\lib\path.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="pathmatch.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\lib\preprocessor.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\lib\settings.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\lib\suppressions.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\lib\symboldatabase.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\lib\templatesimplifier.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="threadexecutor.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\lib\timer.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\externals\tinyxml\tinystr.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\externals\tinyxml\tinyxml.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\externals\tinyxml\tinyxmlerror.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\externals\tinyxml\tinyxmlparser.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\lib\token.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\lib\tokenize.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\lib\tokenlist.cpp">
<Filter>Source Files</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\lib\check.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\lib\check64bit.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\lib\checkassignif.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\lib\checkautovariables.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\lib\checkboost.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\lib\checkbufferoverrun.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\lib\checkclass.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\lib\checkexceptionsafety.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\lib\checkinternal.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\lib\checkio.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\lib\checkleakautovar.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\lib\checkmemoryleak.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\lib\checknonreentrantfunctions.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\lib\checknullpointer.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\lib\checkobsoletefunctions.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\lib\checkother.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\lib\checkpostfixoperator.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\lib\checkstl.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\lib\checkuninitvar.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\lib\checkunusedfunctions.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\lib\checkunusedvar.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="cmdlineparser.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\lib\cppcheck.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="cppcheckexecutor.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\lib\errorlogger.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\lib\executionpath.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="filelister.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\lib\mathlib.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\lib\path.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="pathmatch.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\lib\preprocessor.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="resource.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\lib\settings.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\lib\suppressions.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\lib\symboldatabase.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\lib\templatesimplifier.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="threadexecutor.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\lib\timer.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\externals\tinyxml\tinystr.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\externals\tinyxml\tinyxml.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\lib\token.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\lib\tokenize.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\lib\tokenlist.h">
<Filter>Header Files</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<CustomBuild Include="temp\cppcheck.res">
<Filter>Generated Files</Filter>
</CustomBuild>
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="cppcheck.rc" />
</ItemGroup>
</Project>

View File

@ -1,29 +1,77 @@
Microsoft Visual Studio Solution File, Format Version 11.00 Microsoft Visual Studio Solution File, Format Version 11.00
# Visual C++ Express 2010 # Visual C++ Express 2010
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "cppcheck", "cli\cppcheck.vcxproj", "{00EC0553-4107-361D-9BF6-E01D402EDE8A}" Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "cli", "cli\cli.vcxproj", "{35CBDF51-2456-3EC3-99ED-113C30858883}"
ProjectSection(ProjectDependencies) = postProject
{C183DB5B-AD6C-423D-80CA-1F9549555A1A} = {C183DB5B-AD6C-423D-80CA-1F9549555A1A}
EndProjectSection
EndProject EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "testrunner", "test\testrunner.vcxproj", "{BFEBDA59-5448-3CF9-A3ED-7AAB0402CDE8}" Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "testrunner", "test\testrunner.vcxproj", "{4F7DCE5E-6CDE-38C4-9EA7-27AF3B25CEB4}"
ProjectSection(ProjectDependencies) = postProject
{C183DB5B-AD6C-423D-80CA-1F9549555A1A} = {C183DB5B-AD6C-423D-80CA-1F9549555A1A}
EndProjectSection
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "cppcheck", "lib\cppcheck.vcxproj", "{C183DB5B-AD6C-423D-80CA-1F9549555A1A}"
EndProject EndProject
Global Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Win32 = Debug|Win32 Debug|Win32 = Debug|Win32
Debug|x64 = Debug|x64 Debug|x64 = Debug|x64
Debug-PCRE|Win32 = Debug-PCRE|Win32
Debug-PCRE|x64 = Debug-PCRE|x64
Release|Win32 = Release|Win32 Release|Win32 = Release|Win32
Release|x64 = Release|x64 Release|x64 = Release|x64
Release-PCRE|Win32 = Release-PCRE|Win32
Release-PCRE|x64 = Release-PCRE|x64
EndGlobalSection EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution GlobalSection(ProjectConfigurationPlatforms) = postSolution
{00EC0553-4107-361D-9BF6-E01D402EDE8A}.Debug|Win32.ActiveCfg = Debug|Win32 {35CBDF51-2456-3EC3-99ED-113C30858883}.Debug|Win32.ActiveCfg = Debug|Win32
{00EC0553-4107-361D-9BF6-E01D402EDE8A}.Debug|Win32.Build.0 = Debug|Win32 {35CBDF51-2456-3EC3-99ED-113C30858883}.Debug|Win32.Build.0 = Debug|Win32
{00EC0553-4107-361D-9BF6-E01D402EDE8A}.Debug|x64.ActiveCfg = Debug|Win32 {35CBDF51-2456-3EC3-99ED-113C30858883}.Debug|x64.ActiveCfg = Debug|x64
{00EC0553-4107-361D-9BF6-E01D402EDE8A}.Release|Win32.ActiveCfg = Release|Win32 {35CBDF51-2456-3EC3-99ED-113C30858883}.Debug|x64.Build.0 = Debug|x64
{00EC0553-4107-361D-9BF6-E01D402EDE8A}.Release|Win32.Build.0 = Release|Win32 {35CBDF51-2456-3EC3-99ED-113C30858883}.Debug-PCRE|Win32.ActiveCfg = Debug|Win32
{00EC0553-4107-361D-9BF6-E01D402EDE8A}.Release|x64.ActiveCfg = Release|Win32 {35CBDF51-2456-3EC3-99ED-113C30858883}.Debug-PCRE|Win32.Build.0 = Debug|Win32
{BFEBDA59-5448-3CF9-A3ED-7AAB0402CDE8}.Debug|Win32.ActiveCfg = Debug|Win32 {35CBDF51-2456-3EC3-99ED-113C30858883}.Debug-PCRE|x64.ActiveCfg = Debug|x64
{BFEBDA59-5448-3CF9-A3ED-7AAB0402CDE8}.Debug|Win32.Build.0 = Debug|Win32 {35CBDF51-2456-3EC3-99ED-113C30858883}.Debug-PCRE|x64.Build.0 = Debug|x64
{BFEBDA59-5448-3CF9-A3ED-7AAB0402CDE8}.Debug|x64.ActiveCfg = Debug|Win32 {35CBDF51-2456-3EC3-99ED-113C30858883}.Release|Win32.ActiveCfg = Release|Win32
{BFEBDA59-5448-3CF9-A3ED-7AAB0402CDE8}.Release|Win32.ActiveCfg = Release|Win32 {35CBDF51-2456-3EC3-99ED-113C30858883}.Release|Win32.Build.0 = Release|Win32
{BFEBDA59-5448-3CF9-A3ED-7AAB0402CDE8}.Release|Win32.Build.0 = Release|Win32 {35CBDF51-2456-3EC3-99ED-113C30858883}.Release|x64.ActiveCfg = Release|x64
{BFEBDA59-5448-3CF9-A3ED-7AAB0402CDE8}.Release|x64.ActiveCfg = Release|Win32 {35CBDF51-2456-3EC3-99ED-113C30858883}.Release|x64.Build.0 = Release|x64
{35CBDF51-2456-3EC3-99ED-113C30858883}.Release-PCRE|Win32.ActiveCfg = Release|Win32
{35CBDF51-2456-3EC3-99ED-113C30858883}.Release-PCRE|Win32.Build.0 = Release|Win32
{35CBDF51-2456-3EC3-99ED-113C30858883}.Release-PCRE|x64.ActiveCfg = Release|x64
{35CBDF51-2456-3EC3-99ED-113C30858883}.Release-PCRE|x64.Build.0 = Release|x64
{4F7DCE5E-6CDE-38C4-9EA7-27AF3B25CEB4}.Debug|Win32.ActiveCfg = Debug|Win32
{4F7DCE5E-6CDE-38C4-9EA7-27AF3B25CEB4}.Debug|Win32.Build.0 = Debug|Win32
{4F7DCE5E-6CDE-38C4-9EA7-27AF3B25CEB4}.Debug|x64.ActiveCfg = Debug|x64
{4F7DCE5E-6CDE-38C4-9EA7-27AF3B25CEB4}.Debug|x64.Build.0 = Debug|x64
{4F7DCE5E-6CDE-38C4-9EA7-27AF3B25CEB4}.Debug-PCRE|Win32.ActiveCfg = Debug|Win32
{4F7DCE5E-6CDE-38C4-9EA7-27AF3B25CEB4}.Debug-PCRE|Win32.Build.0 = Debug|Win32
{4F7DCE5E-6CDE-38C4-9EA7-27AF3B25CEB4}.Debug-PCRE|x64.ActiveCfg = Debug|x64
{4F7DCE5E-6CDE-38C4-9EA7-27AF3B25CEB4}.Debug-PCRE|x64.Build.0 = Debug|x64
{4F7DCE5E-6CDE-38C4-9EA7-27AF3B25CEB4}.Release|Win32.ActiveCfg = Release|Win32
{4F7DCE5E-6CDE-38C4-9EA7-27AF3B25CEB4}.Release|Win32.Build.0 = Release|Win32
{4F7DCE5E-6CDE-38C4-9EA7-27AF3B25CEB4}.Release|x64.ActiveCfg = Release|x64
{4F7DCE5E-6CDE-38C4-9EA7-27AF3B25CEB4}.Release|x64.Build.0 = Release|x64
{4F7DCE5E-6CDE-38C4-9EA7-27AF3B25CEB4}.Release-PCRE|Win32.ActiveCfg = Release|Win32
{4F7DCE5E-6CDE-38C4-9EA7-27AF3B25CEB4}.Release-PCRE|Win32.Build.0 = Release|Win32
{4F7DCE5E-6CDE-38C4-9EA7-27AF3B25CEB4}.Release-PCRE|x64.ActiveCfg = Release|x64
{4F7DCE5E-6CDE-38C4-9EA7-27AF3B25CEB4}.Release-PCRE|x64.Build.0 = Release|x64
{C183DB5B-AD6C-423D-80CA-1F9549555A1A}.Debug|Win32.ActiveCfg = Debug|Win32
{C183DB5B-AD6C-423D-80CA-1F9549555A1A}.Debug|Win32.Build.0 = Debug|Win32
{C183DB5B-AD6C-423D-80CA-1F9549555A1A}.Debug|x64.ActiveCfg = Debug|x64
{C183DB5B-AD6C-423D-80CA-1F9549555A1A}.Debug|x64.Build.0 = Debug|x64
{C183DB5B-AD6C-423D-80CA-1F9549555A1A}.Debug-PCRE|Win32.ActiveCfg = Debug-PCRE|Win32
{C183DB5B-AD6C-423D-80CA-1F9549555A1A}.Debug-PCRE|Win32.Build.0 = Debug-PCRE|Win32
{C183DB5B-AD6C-423D-80CA-1F9549555A1A}.Debug-PCRE|x64.ActiveCfg = Debug-PCRE|x64
{C183DB5B-AD6C-423D-80CA-1F9549555A1A}.Debug-PCRE|x64.Build.0 = Debug-PCRE|x64
{C183DB5B-AD6C-423D-80CA-1F9549555A1A}.Release|Win32.ActiveCfg = Release|Win32
{C183DB5B-AD6C-423D-80CA-1F9549555A1A}.Release|Win32.Build.0 = Release|Win32
{C183DB5B-AD6C-423D-80CA-1F9549555A1A}.Release|x64.ActiveCfg = Release|x64
{C183DB5B-AD6C-423D-80CA-1F9549555A1A}.Release|x64.Build.0 = Release|x64
{C183DB5B-AD6C-423D-80CA-1F9549555A1A}.Release-PCRE|Win32.ActiveCfg = Release-PCRE|Win32
{C183DB5B-AD6C-423D-80CA-1F9549555A1A}.Release-PCRE|Win32.Build.0 = Release-PCRE|Win32
{C183DB5B-AD6C-423D-80CA-1F9549555A1A}.Release-PCRE|x64.ActiveCfg = Release-PCRE|x64
{C183DB5B-AD6C-423D-80CA-1F9549555A1A}.Release-PCRE|x64.Build.0 = Release-PCRE|x64
EndGlobalSection EndGlobalSection
GlobalSection(SolutionProperties) = preSolution GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE HideSolutionNode = FALSE

View File

@ -19,6 +19,7 @@
#ifndef checkH #ifndef checkH
#define checkH #define checkH
#include "config.h"
#include "token.h" #include "token.h"
#include "tokenize.h" #include "tokenize.h"
#include "settings.h" #include "settings.h"
@ -35,7 +36,7 @@
* @brief Interface class that cppcheck uses to communicate with the checks. * @brief Interface class that cppcheck uses to communicate with the checks.
* All checking classes must inherit from this class * All checking classes must inherit from this class
*/ */
class Check { class CPPCHECKLIB Check {
public: public:
/** This constructor is used when registering the CheckClass */ /** This constructor is used when registering the CheckClass */
explicit Check(const std::string &aname); explicit Check(const std::string &aname);

View File

@ -22,6 +22,7 @@
#define check64bitH #define check64bitH
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
#include "config.h"
#include "check.h" #include "check.h"
@ -32,7 +33,7 @@
* @brief Check for 64-bit portability issues * @brief Check for 64-bit portability issues
*/ */
class Check64BitPortability : public Check { class CPPCHECKLIB Check64BitPortability : public Check {
public: public:
/** This constructor is used when registering the Check64BitPortability */ /** This constructor is used when registering the Check64BitPortability */
Check64BitPortability() : Check(myName()) { Check64BitPortability() : Check(myName()) {

View File

@ -22,6 +22,7 @@
#define checkassignifH #define checkassignifH
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
#include "config.h"
#include "check.h" #include "check.h"
#include "mathlib.h" #include "mathlib.h"
@ -32,7 +33,7 @@
* @brief Check for assignment / condition mismatches * @brief Check for assignment / condition mismatches
*/ */
class CheckAssignIf : public Check { class CPPCHECKLIB CheckAssignIf : public Check {
public: public:
/** This constructor is used when registering the CheckAssignIf */ /** This constructor is used when registering the CheckAssignIf */
CheckAssignIf() : Check(myName()) { CheckAssignIf() : Check(myName()) {

View File

@ -22,6 +22,7 @@
#define CheckAutoVariablesH #define CheckAutoVariablesH
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
#include "config.h"
#include "check.h" #include "check.h"
#include "token.h" #include "token.h"
@ -29,7 +30,7 @@
/// @{ /// @{
class CheckAutoVariables : public Check { class CPPCHECKLIB CheckAutoVariables : public Check {
public: public:
/** This constructor is used when registering the CheckClass */ /** This constructor is used when registering the CheckClass */
CheckAutoVariables() : Check(myName()) CheckAutoVariables() : Check(myName())

View File

@ -22,6 +22,7 @@
#define CHECKBOOST_H #define CHECKBOOST_H
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
#include "config.h"
#include "check.h" #include "check.h"
class Token; class Token;
@ -31,7 +32,7 @@ class Token;
/** @brief %Check Boost usage */ /** @brief %Check Boost usage */
class CheckBoost : public Check { class CPPCHECKLIB CheckBoost : public Check {
public: public:
/** This constructor is used when registering the CheckClass */ /** This constructor is used when registering the CheckClass */
CheckBoost() : Check(myName()) CheckBoost() : Check(myName())

View File

@ -22,6 +22,7 @@
#define CheckBufferOverrunH #define CheckBufferOverrunH
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
#include "config.h"
#include "check.h" #include "check.h"
#include "settings.h" #include "settings.h"
#include "mathlib.h" #include "mathlib.h"
@ -46,7 +47,7 @@ class Variable;
* I generally use 'buffer overrun' if you for example call a strcpy or * I generally use 'buffer overrun' if you for example call a strcpy or
* other function and pass a buffer and reads or writes too much data. * other function and pass a buffer and reads or writes too much data.
*/ */
class CheckBufferOverrun : public Check { class CPPCHECKLIB CheckBufferOverrun : public Check {
public: public:
/** This constructor is used when registering the CheckClass */ /** This constructor is used when registering the CheckClass */
@ -109,7 +110,7 @@ public:
void negativeIndex(); void negativeIndex();
/** Information about N-dimensional array */ /** Information about N-dimensional array */
class ArrayInfo { class CPPCHECKLIB ArrayInfo {
private: private:
/** number of elements of array */ /** number of elements of array */
std::vector<MathLib::bigint> _num; std::vector<MathLib::bigint> _num;

View File

@ -21,6 +21,7 @@
#define CheckClassH #define CheckClassH
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
#include "config.h"
#include "check.h" #include "check.h"
class Token; class Token;
@ -32,7 +33,7 @@ class Function;
/** @brief %Check classes. Uninitialized member variables, non-conforming operators, missing virtual destructor, etc */ /** @brief %Check classes. Uninitialized member variables, non-conforming operators, missing virtual destructor, etc */
class CheckClass : public Check { class CPPCHECKLIB CheckClass : public Check {
public: public:
/** @brief This constructor is used when registering the CheckClass */ /** @brief This constructor is used when registering the CheckClass */
CheckClass() : Check(myName()), symbolDatabase(NULL) CheckClass() : Check(myName()), symbolDatabase(NULL)

View File

@ -21,6 +21,7 @@
#define checkexceptionsafetyH #define checkexceptionsafetyH
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
#include "config.h"
#include "check.h" #include "check.h"
#include "settings.h" #include "settings.h"
@ -39,7 +40,7 @@ class Token;
* that certain variable values are corrupt. * that certain variable values are corrupt.
*/ */
class CheckExceptionSafety : public Check { class CPPCHECKLIB CheckExceptionSafety : public Check {
public: public:
/** This constructor is used when registering the CheckClass */ /** This constructor is used when registering the CheckClass */
CheckExceptionSafety() : Check(myName()) CheckExceptionSafety() : Check(myName())

View File

@ -23,6 +23,7 @@
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
#include "check.h" #include "check.h"
#include "config.h"
class Token; class Token;
@ -31,7 +32,7 @@ class Token;
/** @brief %Check Internal cppcheck API usage */ /** @brief %Check Internal cppcheck API usage */
class CheckInternal : public Check { class CPPCHECKLIB CheckInternal : public Check {
public: public:
/** This constructor is used when registering the CheckClass */ /** This constructor is used when registering the CheckClass */
CheckInternal() : Check(myName()) CheckInternal() : Check(myName())

View File

@ -22,13 +22,14 @@
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
#include "check.h" #include "check.h"
#include "config.h"
/// @addtogroup Checks /// @addtogroup Checks
/// @{ /// @{
/** @brief %Check input output operations. */ /** @brief %Check input output operations. */
class CheckIO : public Check { class CPPCHECKLIB CheckIO : public Check {
public: public:
/** @brief This constructor is used when registering CheckIO */ /** @brief This constructor is used when registering CheckIO */
CheckIO() : Check(myName()) CheckIO() : Check(myName())

View File

@ -22,10 +22,11 @@
#define checkleakautovarH #define checkleakautovarH
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
#include "config.h"
#include "check.h" #include "check.h"
class VarInfo { class CPPCHECKLIB VarInfo {
public: public:
std::map<unsigned int, std::string> alloctype; std::map<unsigned int, std::string> alloctype;
std::map<unsigned int, std::string> possibleUsage; std::map<unsigned int, std::string> possibleUsage;
@ -63,7 +64,7 @@ public:
* @brief Check for leaks * @brief Check for leaks
*/ */
class CheckLeakAutoVar : public Check { class CPPCHECKLIB CheckLeakAutoVar : public Check {
public: public:
/** This constructor is used when registering the CheckLeakAutoVar */ /** This constructor is used when registering the CheckLeakAutoVar */
CheckLeakAutoVar() : Check(myName()) { CheckLeakAutoVar() : Check(myName()) {

View File

@ -34,6 +34,7 @@
* - CheckMemoryLeakStructMember checks allocation/deallocation of structs and struct members * - CheckMemoryLeakStructMember checks allocation/deallocation of structs and struct members
*/ */
#include "config.h"
#include "check.h" #include "check.h"
#include <list> #include <list>
@ -48,7 +49,7 @@ class Variable;
/// @{ /// @{
/** @brief Base class for memory leaks checking */ /** @brief Base class for memory leaks checking */
class CheckMemoryLeak { class CPPCHECKLIB CheckMemoryLeak {
private: private:
/** For access to the tokens */ /** For access to the tokens */
const Tokenizer * const tokenizer; const Tokenizer * const tokenizer;
@ -181,7 +182,7 @@ public:
* -# finally, check if the simplified token list contain any leaks. * -# finally, check if the simplified token list contain any leaks.
*/ */
class CheckMemoryLeakInFunction : private Check, public CheckMemoryLeak { class CPPCHECKLIB CheckMemoryLeakInFunction : private Check, public CheckMemoryLeak {
public: public:
/** @brief This constructor is used when registering this class */ /** @brief This constructor is used when registering this class */
CheckMemoryLeakInFunction() : Check(myName()), CheckMemoryLeak(0, 0, Standards()), symbolDatabase(NULL) CheckMemoryLeakInFunction() : Check(myName()), CheckMemoryLeak(0, 0, Standards()), symbolDatabase(NULL)
@ -351,7 +352,7 @@ private:
* @brief %Check class variables, variables that are allocated in the constructor should be deallocated in the destructor * @brief %Check class variables, variables that are allocated in the constructor should be deallocated in the destructor
*/ */
class CheckMemoryLeakInClass : private Check, private CheckMemoryLeak { class CPPCHECKLIB CheckMemoryLeakInClass : private Check, private CheckMemoryLeak {
public: public:
CheckMemoryLeakInClass() : Check(myName()), CheckMemoryLeak(0, 0, Standards()) CheckMemoryLeakInClass() : Check(myName()), CheckMemoryLeak(0, 0, Standards())
{ } { }
@ -394,7 +395,7 @@ private:
/** @brief detect simple memory leaks for struct members */ /** @brief detect simple memory leaks for struct members */
class CheckMemoryLeakStructMember : private Check, private CheckMemoryLeak { class CPPCHECKLIB CheckMemoryLeakStructMember : private Check, private CheckMemoryLeak {
public: public:
CheckMemoryLeakStructMember() : Check(myName()), CheckMemoryLeak(0, 0, Standards()) CheckMemoryLeakStructMember() : Check(myName()), CheckMemoryLeak(0, 0, Standards())
{ } { }
@ -433,7 +434,7 @@ private:
/** @brief detect simple memory leaks (address not taken) */ /** @brief detect simple memory leaks (address not taken) */
class CheckMemoryLeakNoVar : private Check, private CheckMemoryLeak { class CPPCHECKLIB CheckMemoryLeakNoVar : private Check, private CheckMemoryLeak {
public: public:
CheckMemoryLeakNoVar() : Check(myName()), CheckMemoryLeak(0, 0, Standards()) CheckMemoryLeakNoVar() : Check(myName()), CheckMemoryLeak(0, 0, Standards())
{ } { }

View File

@ -22,6 +22,7 @@
#define CheckNonReentrantFunctionsH #define CheckNonReentrantFunctionsH
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
#include "config.h"
#include "check.h" #include "check.h"
#include <string> #include <string>
#include <map> #include <map>
@ -34,7 +35,7 @@
* @brief Using non reentrant functions that can be replaced by their reentrant versions * @brief Using non reentrant functions that can be replaced by their reentrant versions
*/ */
class CheckNonReentrantFunctions : public Check { class CPPCHECKLIB CheckNonReentrantFunctions : public Check {
public: public:
/** This constructor is used when registering the CheckNonReentrantFunctions */ /** This constructor is used when registering the CheckNonReentrantFunctions */
CheckNonReentrantFunctions() : Check(myName()) { CheckNonReentrantFunctions() : Check(myName()) {

View File

@ -22,6 +22,7 @@
#define checknullpointerH #define checknullpointerH
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
#include "config.h"
#include "check.h" #include "check.h"
#include "settings.h" #include "settings.h"
@ -34,7 +35,7 @@ class SymbolDatabase;
/** @brief check for null pointer dereferencing */ /** @brief check for null pointer dereferencing */
class CheckNullPointer : public Check { class CPPCHECKLIB CheckNullPointer : public Check {
public: public:
/** @brief This constructor is used when registering the CheckNullPointer */ /** @brief This constructor is used when registering the CheckNullPointer */
CheckNullPointer() : Check(myName()) CheckNullPointer() : Check(myName())

View File

@ -22,6 +22,7 @@
#define CheckObsoleteFunctionsH #define CheckObsoleteFunctionsH
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
#include "config.h"
#include "check.h" #include "check.h"
#include <string> #include <string>
#include <map> #include <map>
@ -34,7 +35,7 @@
* @brief Using obsolete functions that are always insecure to use. * @brief Using obsolete functions that are always insecure to use.
*/ */
class CheckObsoleteFunctions : public Check { class CPPCHECKLIB CheckObsoleteFunctions : public Check {
public: public:
/** This constructor is used when registering the CheckObsoleteFunctions */ /** This constructor is used when registering the CheckObsoleteFunctions */
CheckObsoleteFunctions() : Check(myName()) { CheckObsoleteFunctions() : Check(myName()) {

View File

@ -22,6 +22,7 @@
#define CheckOtherH #define CheckOtherH
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
#include "config.h"
#include "check.h" #include "check.h"
#include "settings.h" #include "settings.h"
@ -35,7 +36,7 @@ class Variable;
/** @brief Various small checks */ /** @brief Various small checks */
class CheckOther : public Check { class CPPCHECKLIB CheckOther : public Check {
public: public:
/** @brief This constructor is used when registering the CheckClass */ /** @brief This constructor is used when registering the CheckClass */
CheckOther() : Check(myName()) CheckOther() : Check(myName())

View File

@ -22,6 +22,7 @@
#define CheckPostfixOperatorH #define CheckPostfixOperatorH
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
#include "config.h"
#include "check.h" #include "check.h"
/// @addtogroup Checks /// @addtogroup Checks
@ -31,7 +32,7 @@
* @brief Using postfix operators ++ or -- rather than postfix operator. * @brief Using postfix operators ++ or -- rather than postfix operator.
*/ */
class CheckPostfixOperator : public Check { class CPPCHECKLIB CheckPostfixOperator : public Check {
public: public:
/** This constructor is used when registering the CheckPostfixOperator */ /** This constructor is used when registering the CheckPostfixOperator */
CheckPostfixOperator() : Check(myName()) CheckPostfixOperator() : Check(myName())

View File

@ -22,6 +22,7 @@
#define checkstlH #define checkstlH
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
#include "config.h"
#include "check.h" #include "check.h"
class Token; class Token;
@ -31,7 +32,7 @@ class Token;
/** @brief %Check STL usage (invalidation of iterators, mismatching containers, etc) */ /** @brief %Check STL usage (invalidation of iterators, mismatching containers, etc) */
class CheckStl : public Check { class CPPCHECKLIB CheckStl : public Check {
public: public:
/** This constructor is used when registering the CheckClass */ /** This constructor is used when registering the CheckClass */
CheckStl() : Check(myName()) CheckStl() : Check(myName())

View File

@ -22,6 +22,7 @@
#define checkuninitvarH #define checkuninitvarH
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
#include "config.h"
#include "check.h" #include "check.h"
#include "settings.h" #include "settings.h"
@ -35,7 +36,7 @@ class Variable;
/** @brief Checking for uninitialized variables */ /** @brief Checking for uninitialized variables */
class CheckUninitVar : public Check { class CPPCHECKLIB CheckUninitVar : public Check {
public: public:
/** @brief This constructor is used when registering the CheckUninitVar */ /** @brief This constructor is used when registering the CheckUninitVar */
CheckUninitVar() : Check(myName()) CheckUninitVar() : Check(myName())

View File

@ -22,6 +22,7 @@
#define checkunusedfunctionsH #define checkunusedfunctionsH
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
#include "config.h"
#include "check.h" #include "check.h"
#include "tokenize.h" #include "tokenize.h"
#include "errorlogger.h" #include "errorlogger.h"
@ -29,7 +30,7 @@
/// @addtogroup Checks /// @addtogroup Checks
/// @{ /// @{
class CheckUnusedFunctions: public Check { class CPPCHECKLIB CheckUnusedFunctions: public Check {
public: public:
/** @brief This constructor is used when registering the CheckUnusedFunctions */ /** @brief This constructor is used when registering the CheckUnusedFunctions */
CheckUnusedFunctions() : Check(myName()), templates(false) CheckUnusedFunctions() : Check(myName()), templates(false)
@ -76,7 +77,7 @@ private:
return "Check for functions that are never called\n"; return "Check for functions that are never called\n";
} }
class FunctionUsage { class CPPCHECKLIB FunctionUsage {
public: public:
FunctionUsage() : lineNumber(0), usedSameFile(false), usedOtherFile(false) FunctionUsage() : lineNumber(0), usedSameFile(false), usedOtherFile(false)
{ } { }

View File

@ -22,6 +22,7 @@
#define CheckUnusedVarH #define CheckUnusedVarH
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
#include "config.h"
#include "check.h" #include "check.h"
#include "settings.h" #include "settings.h"
@ -35,7 +36,7 @@ class Variables;
/** @brief Various small checks */ /** @brief Various small checks */
class CheckUnusedVar : public Check { class CPPCHECKLIB CheckUnusedVar : public Check {
public: public:
/** @brief This constructor is used when registering the CheckClass */ /** @brief This constructor is used when registering the CheckClass */
CheckUnusedVar() : Check(myName()) CheckUnusedVar() : Check(myName())

16
lib/config.h Normal file
View File

@ -0,0 +1,16 @@
#ifndef CONFIG_H
#define CONFIG_H
#ifdef _WIN32
# ifdef CPPCHECKLIB_EXPORT
# define CPPCHECKLIB __declspec(dllexport)
# elif defined(CPPCHECKLIB_IMPORT)
# define CPPCHECKLIB __declspec(dllimport)
# else
# define CPPCHECKLIB
# endif
#else
# define CPPCHECKLIB
#endif
#endif

View File

@ -19,6 +19,7 @@
#ifndef CPPCHECK_H #ifndef CPPCHECK_H
#define CPPCHECK_H #define CPPCHECK_H
#include "config.h"
#include "settings.h" #include "settings.h"
#include "errorlogger.h" #include "errorlogger.h"
#include "checkunusedfunctions.h" #include "checkunusedfunctions.h"
@ -36,7 +37,7 @@
* errors or places that could be improved. * errors or places that could be improved.
* Usage: See check() for more info. * Usage: See check() for more info.
*/ */
class CppCheck : ErrorLogger { class CPPCHECKLIB CppCheck : ErrorLogger {
public: public:
/** /**
* @brief Constructor. * @brief Constructor.

427
lib/cppcheck.vcxproj Normal file
View File

@ -0,0 +1,427 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug-PCRE|Win32">
<Configuration>Debug-PCRE</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Debug-PCRE|x64">
<Configuration>Debug-PCRE</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Debug|x64">
<Configuration>Debug</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release-PCRE|Win32">
<Configuration>Release-PCRE</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release-PCRE|x64">
<Configuration>Release-PCRE</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|Win32">
<Configuration>Release</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|x64">
<Configuration>Release</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
</ItemGroup>
<ItemGroup>
<ClCompile Include="check64bit.cpp" />
<ClCompile Include="checkassignif.cpp" />
<ClCompile Include="checkautovariables.cpp" />
<ClCompile Include="checkboost.cpp" />
<ClCompile Include="checkbufferoverrun.cpp" />
<ClCompile Include="checkclass.cpp" />
<ClCompile Include="checkexceptionsafety.cpp" />
<ClCompile Include="checkinternal.cpp" />
<ClCompile Include="checkio.cpp" />
<ClCompile Include="checkleakautovar.cpp" />
<ClCompile Include="checkmemoryleak.cpp" />
<ClCompile Include="checknonreentrantfunctions.cpp" />
<ClCompile Include="checknullpointer.cpp" />
<ClCompile Include="checkobsoletefunctions.cpp" />
<ClCompile Include="checkother.cpp" />
<ClCompile Include="checkpostfixoperator.cpp" />
<ClCompile Include="checkstl.cpp" />
<ClCompile Include="checkuninitvar.cpp" />
<ClCompile Include="checkunusedfunctions.cpp" />
<ClCompile Include="checkunusedvar.cpp" />
<ClCompile Include="cppcheck.cpp" />
<ClCompile Include="errorlogger.cpp" />
<ClCompile Include="executionpath.cpp" />
<ClCompile Include="mathlib.cpp" />
<ClCompile Include="path.cpp" />
<ClCompile Include="preprocessor.cpp" />
<ClCompile Include="settings.cpp" />
<ClCompile Include="suppressions.cpp" />
<ClCompile Include="symboldatabase.cpp" />
<ClCompile Include="templatesimplifier.cpp" />
<ClCompile Include="timer.cpp" />
<ClCompile Include="token.cpp" />
<ClCompile Include="tokenize.cpp" />
<ClCompile Include="tokenlist.cpp" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="check.h" />
<ClInclude Include="check64bit.h" />
<ClInclude Include="checkassignif.h" />
<ClInclude Include="checkautovariables.h" />
<ClInclude Include="checkboost.h" />
<ClInclude Include="checkbufferoverrun.h" />
<ClInclude Include="checkclass.h" />
<ClInclude Include="checkexceptionsafety.h" />
<ClInclude Include="checkinternal.h" />
<ClInclude Include="checkio.h" />
<ClInclude Include="checkleakautovar.h" />
<ClInclude Include="checkmemoryleak.h" />
<ClInclude Include="checknonreentrantfunctions.h" />
<ClInclude Include="checknullpointer.h" />
<ClInclude Include="checkobsoletefunctions.h" />
<ClInclude Include="checkother.h" />
<ClInclude Include="checkpostfixoperator.h" />
<ClInclude Include="checkstl.h" />
<ClInclude Include="checkuninitvar.h" />
<ClInclude Include="checkunusedfunctions.h" />
<ClInclude Include="checkunusedvar.h" />
<ClInclude Include="config.h" />
<ClInclude Include="cppcheck.h" />
<ClInclude Include="errorlogger.h" />
<ClInclude Include="executionpath.h" />
<ClInclude Include="mathlib.h" />
<ClInclude Include="path.h" />
<ClInclude Include="preprocessor.h" />
<ClInclude Include="settings.h" />
<ClInclude Include="suppressions.h" />
<ClInclude Include="symboldatabase.h" />
<ClInclude Include="templatesimplifier.h" />
<ClInclude Include="timer.h" />
<ClInclude Include="token.h" />
<ClInclude Include="tokenize.h" />
<ClInclude Include="tokenlist.h" />
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{C183DB5B-AD6C-423D-80CA-1F9549555A1A}</ProjectGuid>
<RootNamespace>cppcheck_lib</RootNamespace>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<OutputDirectory>debug\</OutputDirectory>
<ConfigurationType>DynamicLibrary</ConfigurationType>
<IntermediateDirectory>temp\</IntermediateDirectory>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug-PCRE|Win32'" Label="Configuration">
<OutputDirectory>debug\</OutputDirectory>
<ConfigurationType>DynamicLibrary</ConfigurationType>
<IntermediateDirectory>temp\</IntermediateDirectory>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
<OutputDirectory>debug\</OutputDirectory>
<ConfigurationType>DynamicLibrary</ConfigurationType>
<IntermediateDirectory>temp\</IntermediateDirectory>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug-PCRE|x64'" Label="Configuration">
<OutputDirectory>debug\</OutputDirectory>
<ConfigurationType>DynamicLibrary</ConfigurationType>
<IntermediateDirectory>temp\</IntermediateDirectory>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<OutputDirectory>release\</OutputDirectory>
<ConfigurationType>DynamicLibrary</ConfigurationType>
<IntermediateDirectory>temp\</IntermediateDirectory>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release-PCRE|Win32'" Label="Configuration">
<OutputDirectory>release\</OutputDirectory>
<ConfigurationType>DynamicLibrary</ConfigurationType>
<IntermediateDirectory>temp\</IntermediateDirectory>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
<OutputDirectory>release\</OutputDirectory>
<ConfigurationType>DynamicLibrary</ConfigurationType>
<IntermediateDirectory>temp\</IntermediateDirectory>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release-PCRE|x64'" Label="Configuration">
<OutputDirectory>release\</OutputDirectory>
<ConfigurationType>DynamicLibrary</ConfigurationType>
<IntermediateDirectory>temp\</IntermediateDirectory>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings" />
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug-PCRE|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug-PCRE|x64'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release-PCRE|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release-PCRE|x64'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup>
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\debug\</OutDir>
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug-PCRE|Win32'">..\bin\debug\</OutDir>
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">..\bin\debug\</OutDir>
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug-PCRE|x64'">..\bin\debug\</OutDir>
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">temp\debug\</IntDir>
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug-PCRE|Win32'">temp\debug\</IntDir>
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">temp\debug\</IntDir>
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug-PCRE|x64'">temp\debug\</IntDir>
<TargetName Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">cppcheck</TargetName>
<TargetName Condition="'$(Configuration)|$(Platform)'=='Debug-PCRE|Win32'">cppcheck</TargetName>
<TargetName Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">cppcheck</TargetName>
<TargetName Condition="'$(Configuration)|$(Platform)'=='Debug-PCRE|x64'">cppcheck</TargetName>
<IgnoreImportLibrary Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">false</IgnoreImportLibrary>
<IgnoreImportLibrary Condition="'$(Configuration)|$(Platform)'=='Debug-PCRE|Win32'">false</IgnoreImportLibrary>
<IgnoreImportLibrary Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">false</IgnoreImportLibrary>
<IgnoreImportLibrary Condition="'$(Configuration)|$(Platform)'=='Debug-PCRE|x64'">false</IgnoreImportLibrary>
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">..\bin\</OutDir>
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release-PCRE|Win32'">..\bin\</OutDir>
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">..\bin\</OutDir>
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release-PCRE|x64'">..\bin\</OutDir>
<IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">temp\</IntDir>
<IntDir Condition="'$(Configuration)|$(Platform)'=='Release-PCRE|Win32'">temp\</IntDir>
<IntDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">temp\</IntDir>
<IntDir Condition="'$(Configuration)|$(Platform)'=='Release-PCRE|x64'">temp\</IntDir>
<TargetName Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">cppcheck</TargetName>
<TargetName Condition="'$(Configuration)|$(Platform)'=='Release-PCRE|Win32'">cppcheck</TargetName>
<TargetName Condition="'$(Configuration)|$(Platform)'=='Release|x64'">cppcheck</TargetName>
<TargetName Condition="'$(Configuration)|$(Platform)'=='Release-PCRE|x64'">cppcheck</TargetName>
<IgnoreImportLibrary Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</IgnoreImportLibrary>
<IgnoreImportLibrary Condition="'$(Configuration)|$(Platform)'=='Release-PCRE|Win32'">false</IgnoreImportLibrary>
<IgnoreImportLibrary Condition="'$(Configuration)|$(Platform)'=='Release|x64'">false</IgnoreImportLibrary>
<IgnoreImportLibrary Condition="'$(Configuration)|$(Platform)'=='Release-PCRE|x64'">false</IgnoreImportLibrary>
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</LinkIncremental>
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug-PCRE|Win32'">true</LinkIncremental>
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</LinkIncremental>
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug-PCRE|x64'">true</LinkIncremental>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<ObjectFileName>temp\</ObjectFileName>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>CPPCHECKLIB_EXPORT;UNICODE;WIN32;_CRT_SECURE_NO_WARNINGS;WIN32_LEAN_AND_MEAN;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<WarningLevel>Level4</WarningLevel>
<AdditionalIncludeDirectories>..\externals;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<DisableSpecificWarnings>4251</DisableSpecificWarnings>
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
</ClCompile>
<Link>
<AdditionalDependencies>%(AdditionalDependencies)</AdditionalDependencies>
<AdditionalLibraryDirectories>../externals;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<GenerateDebugInformation>true</GenerateDebugInformation>
<IgnoreImportLibrary>true</IgnoreImportLibrary>
<SuppressStartupBanner>true</SuppressStartupBanner>
<IgnoreAllDefaultLibraries>false</IgnoreAllDefaultLibraries>
</Link>
<Midl />
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug-PCRE|Win32'">
<ClCompile>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<ObjectFileName>temp\</ObjectFileName>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>CPPCHECKLIB_EXPORT;UNICODE;WIN32;HAVE_RULES;_CRT_SECURE_NO_WARNINGS;WIN32_LEAN_AND_MEAN;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<WarningLevel>Level4</WarningLevel>
<AdditionalIncludeDirectories>..\externals;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<DisableSpecificWarnings>4251</DisableSpecificWarnings>
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
</ClCompile>
<Link>
<AdditionalDependencies>../externals\pcre.lib;%(AdditionalDependencies)</AdditionalDependencies>
<AdditionalLibraryDirectories>../externals;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<GenerateDebugInformation>true</GenerateDebugInformation>
<IgnoreImportLibrary>true</IgnoreImportLibrary>
<SuppressStartupBanner>true</SuppressStartupBanner>
<IgnoreAllDefaultLibraries>false</IgnoreAllDefaultLibraries>
</Link>
<Midl />
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<ClCompile>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<ObjectFileName>temp\</ObjectFileName>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>CPPCHECKLIB_EXPORT;UNICODE;WIN32;_CRT_SECURE_NO_WARNINGS;WIN32_LEAN_AND_MEAN;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<WarningLevel>Level4</WarningLevel>
<AdditionalIncludeDirectories>..\externals;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<DisableSpecificWarnings>4251</DisableSpecificWarnings>
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
<OmitFramePointers>false</OmitFramePointers>
</ClCompile>
<Link>
<AdditionalDependencies>%(AdditionalDependencies)</AdditionalDependencies>
<AdditionalLibraryDirectories>../externals;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<GenerateDebugInformation>true</GenerateDebugInformation>
<IgnoreImportLibrary>true</IgnoreImportLibrary>
<SuppressStartupBanner>true</SuppressStartupBanner>
<IgnoreAllDefaultLibraries>false</IgnoreAllDefaultLibraries>
</Link>
<Midl />
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug-PCRE|x64'">
<ClCompile>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<ObjectFileName>temp\</ObjectFileName>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>CPPCHECKLIB_EXPORT;UNICODE;WIN32;HAVE_RULES;_CRT_SECURE_NO_WARNINGS;WIN32_LEAN_AND_MEAN;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<WarningLevel>Level4</WarningLevel>
<AdditionalIncludeDirectories>..\externals;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<DisableSpecificWarnings>4251</DisableSpecificWarnings>
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
<OmitFramePointers>false</OmitFramePointers>
</ClCompile>
<Link>
<AdditionalDependencies>../externals\pcre.lib;%(AdditionalDependencies)</AdditionalDependencies>
<AdditionalLibraryDirectories>../externals;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<GenerateDebugInformation>true</GenerateDebugInformation>
<IgnoreImportLibrary>true</IgnoreImportLibrary>
<SuppressStartupBanner>true</SuppressStartupBanner>
<IgnoreAllDefaultLibraries>false</IgnoreAllDefaultLibraries>
</Link>
<Midl />
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
<Optimization>MaxSpeed</Optimization>
<WarningLevel>Level4</WarningLevel>
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
<IntrinsicFunctions>true</IntrinsicFunctions>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<OmitFramePointers>true</OmitFramePointers>
<WholeProgramOptimization>false</WholeProgramOptimization>
<AdditionalIncludeDirectories>..\externals;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<DisableSpecificWarnings>4251</DisableSpecificWarnings>
<PreprocessorDefinitions>CPPCHECKLIB_EXPORT;NDEBUG;UNICODE;WIN32;_CRT_SECURE_NO_WARNINGS;WIN32_LEAN_AND_MEAN;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
<BufferSecurityCheck>false</BufferSecurityCheck>
<DebugInformationFormat>
</DebugInformationFormat>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<Link>
<AdditionalDependencies>%(AdditionalDependencies)</AdditionalDependencies>
<AdditionalLibraryDirectories>../externals;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<GenerateDebugInformation>false</GenerateDebugInformation>
<OptimizeReferences>true</OptimizeReferences>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<SetChecksum>true</SetChecksum>
</Link>
<Midl />
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release-PCRE|Win32'">
<ClCompile>
<Optimization>MaxSpeed</Optimization>
<WarningLevel>Level4</WarningLevel>
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
<IntrinsicFunctions>true</IntrinsicFunctions>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<OmitFramePointers>true</OmitFramePointers>
<WholeProgramOptimization>false</WholeProgramOptimization>
<AdditionalIncludeDirectories>..\externals;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<DisableSpecificWarnings>4251</DisableSpecificWarnings>
<PreprocessorDefinitions>CPPCHECKLIB_EXPORT;NDEBUG;UNICODE;WIN32;HAVE_RULES;_CRT_SECURE_NO_WARNINGS;WIN32_LEAN_AND_MEAN;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
<BufferSecurityCheck>false</BufferSecurityCheck>
<DebugInformationFormat>
</DebugInformationFormat>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<Link>
<AdditionalDependencies>../externals\pcre.lib;%(AdditionalDependencies)</AdditionalDependencies>
<AdditionalLibraryDirectories>../externals;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<GenerateDebugInformation>false</GenerateDebugInformation>
<OptimizeReferences>true</OptimizeReferences>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<SetChecksum>true</SetChecksum>
</Link>
<Midl />
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<ClCompile>
<Optimization>MaxSpeed</Optimization>
<WarningLevel>Level4</WarningLevel>
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
<IntrinsicFunctions>true</IntrinsicFunctions>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<OmitFramePointers>true</OmitFramePointers>
<WholeProgramOptimization>false</WholeProgramOptimization>
<AdditionalIncludeDirectories>..\externals;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<DisableSpecificWarnings>4251</DisableSpecificWarnings>
<PreprocessorDefinitions>CPPCHECKLIB_EXPORT;NDEBUG;UNICODE;WIN32;_CRT_SECURE_NO_WARNINGS;WIN32_LEAN_AND_MEAN;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
<BufferSecurityCheck>false</BufferSecurityCheck>
<DebugInformationFormat>
</DebugInformationFormat>
<StringPooling>true</StringPooling>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<Link>
<AdditionalDependencies>%(AdditionalDependencies)</AdditionalDependencies>
<AdditionalLibraryDirectories>../externals;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<GenerateDebugInformation>false</GenerateDebugInformation>
<OptimizeReferences>true</OptimizeReferences>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<SetChecksum>true</SetChecksum>
</Link>
<Midl />
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release-PCRE|x64'">
<ClCompile>
<Optimization>MaxSpeed</Optimization>
<WarningLevel>Level4</WarningLevel>
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
<IntrinsicFunctions>true</IntrinsicFunctions>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<OmitFramePointers>true</OmitFramePointers>
<WholeProgramOptimization>false</WholeProgramOptimization>
<AdditionalIncludeDirectories>..\externals;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<DisableSpecificWarnings>4251</DisableSpecificWarnings>
<PreprocessorDefinitions>CPPCHECKLIB_EXPORT;NDEBUG;UNICODE;WIN32;HAVE_RULES;_CRT_SECURE_NO_WARNINGS;WIN32_LEAN_AND_MEAN;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
<BufferSecurityCheck>false</BufferSecurityCheck>
<DebugInformationFormat>
</DebugInformationFormat>
<StringPooling>true</StringPooling>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<Link>
<AdditionalDependencies>../externals\pcre.lib;%(AdditionalDependencies)</AdditionalDependencies>
<AdditionalLibraryDirectories>../externals;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<GenerateDebugInformation>false</GenerateDebugInformation>
<OptimizeReferences>true</OptimizeReferences>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<SetChecksum>true</SetChecksum>
</Link>
<Midl />
</ItemDefinitionGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets" />
</Project>

View File

@ -0,0 +1,227 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Filter Include="Header Files">
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
<Extensions>h;hpp;hxx;hm;inl;inc;xsd</Extensions>
</Filter>
<Filter Include="Source Files">
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
<Extensions>cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
</Filter>
</ItemGroup>
<ItemGroup>
<ClCompile Include="tokenize.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="check64bit.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="checkautovariables.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="checkbufferoverrun.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="checkclass.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="checkexceptionsafety.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="checkmemoryleak.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="checknonreentrantfunctions.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="checknullpointer.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="checkobsoletefunctions.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="checkother.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="checkpostfixoperator.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="checkstl.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="checkuninitvar.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="checkunusedfunctions.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="checkunusedvar.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="cppcheck.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="errorlogger.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="executionpath.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="mathlib.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="path.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="preprocessor.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="settings.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="suppressions.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="symboldatabase.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="timer.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="token.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="checkboost.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="checkassignif.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="checkinternal.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="tokenlist.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="checkio.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="templatesimplifier.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="checkleakautovar.cpp">
<Filter>Source Files</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<ClInclude Include="checkbufferoverrun.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="checkclass.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="checkexceptionsafety.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="checkmemoryleak.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="checknonreentrantfunctions.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="checknullpointer.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="checkobsoletefunctions.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="checkother.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="checkpostfixoperator.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="checkstl.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="checkuninitvar.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="checkunusedfunctions.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="checkunusedvar.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="config.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="cppcheck.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="errorlogger.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="executionpath.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="mathlib.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="path.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="preprocessor.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="settings.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="suppressions.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="symboldatabase.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="timer.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="token.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="tokenize.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="check.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="check64bit.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="checkassignif.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="checkautovariables.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="checkboost.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="checkio.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="checkinternal.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="tokenlist.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="templatesimplifier.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="checkleakautovar.h">
<Filter>Header Files</Filter>
</ClInclude>
</ItemGroup>
</Project>

View File

@ -23,6 +23,7 @@
#include <list> #include <list>
#include <string> #include <string>
#include "config.h"
#include "suppressions.h" #include "suppressions.h"
class Token; class Token;
@ -32,7 +33,7 @@ class TokenList;
/// @{ /// @{
/** @brief enum class for severity. Used when reporting errors. */ /** @brief enum class for severity. Used when reporting errors. */
class Severity { class CPPCHECKLIB Severity {
public: public:
/** /**
* Message severities. * Message severities.
@ -137,20 +138,20 @@ public:
* @brief This is an interface, which the class responsible of error logging * @brief This is an interface, which the class responsible of error logging
* should implement. * should implement.
*/ */
class ErrorLogger { class CPPCHECKLIB ErrorLogger {
public: public:
/** /**
* Wrapper for error messages, provided by reportErr() * Wrapper for error messages, provided by reportErr()
*/ */
class ErrorMessage { class CPPCHECKLIB ErrorMessage {
public: public:
/** /**
* File name and line number. * File name and line number.
* Internally paths are stored with / separator. When getting the filename * Internally paths are stored with / separator. When getting the filename
* it is by default converted to native separators. * it is by default converted to native separators.
*/ */
class FileLocation { class CPPCHECKLIB FileLocation {
public: public:
FileLocation() FileLocation()
: line(0) { : line(0) {

View File

@ -20,6 +20,7 @@
#define executionpathH #define executionpathH
#include <list> #include <list>
#include "config.h"
class Token; class Token;
class Check; class Check;
@ -29,7 +30,7 @@ class SymbolDatabase;
* Base class for Execution Paths checking * Base class for Execution Paths checking
* An execution path is a linear list of statements. There are no "if"/.. to worry about. * An execution path is a linear list of statements. There are no "if"/.. to worry about.
**/ **/
class ExecutionPath { class CPPCHECKLIB ExecutionPath {
private: private:
/** No implementation */ /** No implementation */
void operator=(const ExecutionPath &); void operator=(const ExecutionPath &);

View File

@ -22,13 +22,14 @@
#include <string> #include <string>
#include <sstream> #include <sstream>
#include "config.h"
/// @addtogroup Core /// @addtogroup Core
/// @{ /// @{
/** @brief simple math functions that uses operands stored in std::string. useful when performing math on tokens. */ /** @brief simple math functions that uses operands stored in std::string. useful when performing math on tokens. */
class MathLib { class CPPCHECKLIB MathLib {
public: public:
typedef long long bigint; typedef long long bigint;

View File

@ -21,6 +21,7 @@
#include <string> #include <string>
#include <vector> #include <vector>
#include "config.h"
/// @addtogroup Core /// @addtogroup Core
/// @{ /// @{
@ -32,7 +33,7 @@
* native separator for Unix-derived systems. When giving path to user * native separator for Unix-derived systems. When giving path to user
* or for other functions we convert path separators back to native type. * or for other functions we convert path separators back to native type.
*/ */
class Path { class CPPCHECKLIB Path {
public: public:
/** /**
* Convert path to use native separators. * Convert path to use native separators.

View File

@ -25,6 +25,7 @@
#include <istream> #include <istream>
#include <string> #include <string>
#include <list> #include <list>
#include "config.h"
class ErrorLogger; class ErrorLogger;
class Settings; class Settings;
@ -37,7 +38,7 @@ class Settings;
* The preprocessor has special functionality for extracting the various ifdef * The preprocessor has special functionality for extracting the various ifdef
* configurations that exist in a source file. * configurations that exist in a source file.
*/ */
class Preprocessor { class CPPCHECKLIB Preprocessor {
public: public:
/** /**

View File

@ -23,6 +23,7 @@
#include <vector> #include <vector>
#include <string> #include <string>
#include <set> #include <set>
#include "config.h"
#include "suppressions.h" #include "suppressions.h"
#include "standards.h" #include "standards.h"
@ -35,7 +36,7 @@
* to pass individual values to functions or constructors now or in the * to pass individual values to functions or constructors now or in the
* future when we might have even more detailed settings. * future when we might have even more detailed settings.
*/ */
class Settings { class CPPCHECKLIB Settings {
private: private:
/** @brief Code to append in the checks */ /** @brief Code to append in the checks */
std::string _append; std::string _append;
@ -165,7 +166,7 @@ public:
#ifdef HAVE_RULES #ifdef HAVE_RULES
/** Rule */ /** Rule */
class Rule { class CPPCHECKLIB Rule {
public: public:
Rule() Rule()
: id("rule") // default id : id("rule") // default id

View File

@ -23,14 +23,15 @@
#include <string> #include <string>
#include <istream> #include <istream>
#include <map> #include <map>
#include "config.h"
/// @addtogroup Core /// @addtogroup Core
/// @{ /// @{
/** @brief class for handling suppressions */ /** @brief class for handling suppressions */
class Suppressions { class CPPCHECKLIB Suppressions {
private: private:
class FileMatcher { class CPPCHECKLIB FileMatcher {
friend class Suppressions; friend class Suppressions;
private: private:
/** @brief List of filenames suppressed, bool flag indicates whether suppression matched. */ /** @brief List of filenames suppressed, bool flag indicates whether suppression matched. */

View File

@ -26,6 +26,7 @@
#include <vector> #include <vector>
#include <set> #include <set>
#include "config.h"
#include "token.h" #include "token.h"
#include "mathlib.h" #include "mathlib.h"
@ -53,7 +54,7 @@ struct Dimension {
}; };
/** @brief Information about a member variable. */ /** @brief Information about a member variable. */
class Variable { class CPPCHECKLIB Variable {
/** @brief flags mask used to access specific bit. */ /** @brief flags mask used to access specific bit. */
enum { enum {
fIsMutable = (1 << 0), /** @brief mutable variable */ fIsMutable = (1 << 0), /** @brief mutable variable */
@ -357,7 +358,7 @@ private:
void evaluate(); void evaluate();
}; };
class Function { class CPPCHECKLIB Function {
public: public:
enum Type { eConstructor, eCopyConstructor, eOperatorEqual, eDestructor, eFunction }; enum Type { eConstructor, eCopyConstructor, eOperatorEqual, eDestructor, eFunction };
@ -417,7 +418,7 @@ private:
bool isImplicitlyVirtual_rec(const Scope* scope, bool& safe) const; bool isImplicitlyVirtual_rec(const Scope* scope, bool& safe) const;
}; };
class Scope { class CPPCHECKLIB Scope {
// let tests access private function for testing // let tests access private function for testing
friend class TestSymbolDatabase; friend class TestSymbolDatabase;
@ -538,7 +539,7 @@ private:
bool isVariableDeclaration(const Token* tok, const Token*& vartok, const Token*& typetok) const; bool isVariableDeclaration(const Token* tok, const Token*& vartok, const Token*& typetok) const;
}; };
class SymbolDatabase { class CPPCHECKLIB SymbolDatabase {
public: public:
SymbolDatabase(const Tokenizer *tokenizer, const Settings *settings, ErrorLogger *errorLogger); SymbolDatabase(const Tokenizer *tokenizer, const Settings *settings, ErrorLogger *errorLogger);

View File

@ -26,6 +26,7 @@
#include <list> #include <list>
#include <string> #include <string>
#include <vector> #include <vector>
#include "config.h"
class Token; class Token;
class TokenList; class TokenList;
@ -37,7 +38,7 @@ class Settings;
/// @{ /// @{
/** @brief Simplify templates from the preprocessed and partially simplified code. */ /** @brief Simplify templates from the preprocessed and partially simplified code. */
class TemplateSimplifier { class CPPCHECKLIB TemplateSimplifier {
TemplateSimplifier(); TemplateSimplifier();
~TemplateSimplifier(); ~TemplateSimplifier();
public: public:

View File

@ -22,6 +22,7 @@
#include <string> #include <string>
#include <map> #include <map>
#include <ctime> #include <ctime>
#include "config.h"
enum { enum {
SHOWTIME_NONE = 0, SHOWTIME_NONE = 0,
@ -30,7 +31,7 @@ enum {
SHOWTIME_TOP5 SHOWTIME_TOP5
}; };
class TimerResultsIntf { class CPPCHECKLIB TimerResultsIntf {
public: public:
virtual ~TimerResultsIntf() { } virtual ~TimerResultsIntf() { }
@ -47,7 +48,7 @@ struct TimerResultsData {
} }
}; };
class TimerResults : public TimerResultsIntf { class CPPCHECKLIB TimerResults : public TimerResultsIntf {
public: public:
TimerResults() { TimerResults() {
} }
@ -59,7 +60,7 @@ private:
std::map<std::string, struct TimerResultsData> _results; std::map<std::string, struct TimerResultsData> _results;
}; };
class Timer { class CPPCHECKLIB Timer {
public: public:
Timer(const std::string& str, unsigned int showtimeMode, TimerResultsIntf* timerResults = NULL); Timer(const std::string& str, unsigned int showtimeMode, TimerResultsIntf* timerResults = NULL);
~Timer(); ~Timer();

View File

@ -22,6 +22,7 @@
#include <string> #include <string>
#include <vector> #include <vector>
#include <ostream> #include <ostream>
#include "config.h"
/// @addtogroup Core /// @addtogroup Core
/// @{ /// @{
@ -36,7 +37,7 @@
* *
* The Token class also has other functions for management of token list, matching tokens, etc. * The Token class also has other functions for management of token list, matching tokens, etc.
*/ */
class Token { class CPPCHECKLIB Token {
private: private:
Token **tokensBack; Token **tokensBack;

View File

@ -24,6 +24,7 @@
#include "errorlogger.h" #include "errorlogger.h"
#include "tokenlist.h" #include "tokenlist.h"
#include "config.h"
#include <string> #include <string>
#include <map> #include <map>
@ -37,7 +38,7 @@ class TimerResults;
/// @{ /// @{
/** @brief The main purpose is to tokenize the source code. It also has functions that simplify the token list */ /** @brief The main purpose is to tokenize the source code. It also has functions that simplify the token list */
class Tokenizer { class CPPCHECKLIB Tokenizer {
public: public:
Tokenizer(); Tokenizer();
Tokenizer(const Settings * settings, ErrorLogger *errorLogger); Tokenizer(const Settings * settings, ErrorLogger *errorLogger);

View File

@ -24,6 +24,7 @@
#include <string> #include <string>
#include <vector> #include <vector>
#include "config.h"
class Token; class Token;
class Settings; class Settings;
@ -31,7 +32,7 @@ class Settings;
/// @addtogroup Core /// @addtogroup Core
/// @{ /// @{
class TokenList { class CPPCHECKLIB TokenList {
public: public:
TokenList(const Settings* settings); TokenList(const Settings* settings);
~TokenList(); ~TokenList();

View File

@ -223,6 +223,8 @@
RelativePath="testfilelister.cpp" /> RelativePath="testfilelister.cpp" />
<File <File
RelativePath="testincompletestatement.cpp" /> RelativePath="testincompletestatement.cpp" />
<File
RelativePath="testio.cpp" />
<File <File
RelativePath="testmathlib.cpp" /> RelativePath="testmathlib.cpp" />
<File <File

View File

@ -1,172 +1,46 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations"> <ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|Win32"> <ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration> <Configuration>Debug</Configuration>
<Platform>Win32</Platform> <Platform>Win32</Platform>
</ProjectConfiguration> </ProjectConfiguration>
<ProjectConfiguration Include="Debug|x64">
<Configuration>Debug</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|Win32"> <ProjectConfiguration Include="Release|Win32">
<Configuration>Release</Configuration> <Configuration>Release</Configuration>
<Platform>Win32</Platform> <Platform>Win32</Platform>
</ProjectConfiguration> </ProjectConfiguration>
<ProjectConfiguration Include="Release|x64">
<Configuration>Release</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\lib\cppcheck.vcxproj">
<Project>{c183db5b-ad6c-423d-80ca-1f9549555a1a}</Project>
<Private>true</Private>
<ReferenceOutputAssembly>true</ReferenceOutputAssembly>
<CopyLocalSatelliteAssemblies>false</CopyLocalSatelliteAssemblies>
<LinkLibraryDependencies>true</LinkLibraryDependencies>
<UseLibraryDependencyInputs>false</UseLibraryDependencyInputs>
</ProjectReference>
</ItemGroup> </ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{2008CD60-EE28-3AB7-B069-21CB292ED3B3}</ProjectGuid>
<RootNamespace>testrunner</RootNamespace>
<Keyword>Qt4VSv1.0</Keyword>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="&apos;$(Configuration)|$(Platform)&apos;==&apos;Debug|Win32&apos;" Label="Configuration">
<OutputDirectory>debug\</OutputDirectory>
<ATLMinimizesCRunTimeLibraryUsage>false</ATLMinimizesCRunTimeLibraryUsage>
<CharacterSet>NotSet</CharacterSet>
<ConfigurationType>Application</ConfigurationType>
<IntermediateDirectory>temp\</IntermediateDirectory>
</PropertyGroup>
<PropertyGroup Condition="&apos;$(Configuration)|$(Platform)&apos;==&apos;Release|Win32&apos;" Label="Configuration">
<OutputDirectory>release\</OutputDirectory>
<ATLMinimizesCRunTimeLibraryUsage>false</ATLMinimizesCRunTimeLibraryUsage>
<CharacterSet>NotSet</CharacterSet>
<ConfigurationType>Application</ConfigurationType>
<IntermediateDirectory>temp\</IntermediateDirectory>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings" />
<ImportGroup Condition="&apos;$(Configuration)|$(Platform)&apos;==&apos;Debug|Win32&apos;" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists(&apos;$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props&apos;)" />
</ImportGroup>
<ImportGroup Condition="&apos;$(Configuration)|$(Platform)&apos;==&apos;Release|Win32&apos;" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists(&apos;$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props&apos;)" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup>
<OutDir Condition="&apos;$(Configuration)|$(Platform)&apos;==&apos;Debug|Win32&apos;">debug\</OutDir>
<IntDir Condition="&apos;$(Configuration)|$(Platform)&apos;==&apos;Debug|Win32&apos;">temp\</IntDir>
<IgnoreImportLibrary Condition="&apos;$(Configuration)|$(Platform)&apos;==&apos;Debug|Win32&apos;">true</IgnoreImportLibrary>
<OutDir Condition="&apos;$(Configuration)|$(Platform)&apos;==&apos;Release|Win32&apos;">release\</OutDir>
<IntDir Condition="&apos;$(Configuration)|$(Platform)&apos;==&apos;Release|Win32&apos;">temp\</IntDir>
<IgnoreImportLibrary Condition="&apos;$(Configuration)|$(Platform)&apos;==&apos;Release|Win32&apos;">true</IgnoreImportLibrary>
<LinkIncremental Condition="&apos;$(Configuration)|$(Platform)&apos;==&apos;Release|Win32&apos;">false</LinkIncremental>
</PropertyGroup>
<ItemDefinitionGroup Condition="&apos;$(Configuration)|$(Platform)&apos;==&apos;Debug|Win32&apos;">
<ClCompile>
<AdditionalIncludeDirectories>".";"..\cli";"..\lib";"..\externals\tinyxml";..\..\..\..\Qt\4.8.1\mkspecs\win32-msvc2010;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<AdditionalOptions>-Zm200 -w34100 -w34189 %(AdditionalOptions)</AdditionalOptions>
<AssemblerListingLocation>temp\</AssemblerListingLocation>
<BrowseInformation>false</BrowseInformation>
<BufferSecurityCheck>false</BufferSecurityCheck>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<ExceptionHandling>Sync</ExceptionHandling>
<ObjectFileName>temp\</ObjectFileName>
<PreprocessorDefinitions>_CONSOLE;UNICODE;WIN32;QT_LARGEFILE_SUPPORT;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PreprocessToFile>false</PreprocessToFile>
<ProgramDataBaseFileName>.\</ProgramDataBaseFileName>
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
<RuntimeTypeInfo>true</RuntimeTypeInfo>
<SuppressStartupBanner>true</SuppressStartupBanner>
<TreatWChar_tAsBuiltInType>false</TreatWChar_tAsBuiltInType>
<WarningLevel>Level4</WarningLevel>
</ClCompile>
<Link>
<AdditionalDependencies>shlwapi.lib;%(AdditionalDependencies)</AdditionalDependencies>
<AdditionalOptions>"/MANIFESTDEPENDENCY:type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' publicKeyToken='6595b64144ccf1df' language='*' processorArchitecture='*'" %(AdditionalOptions)</AdditionalOptions>
<DataExecutionPrevention>true</DataExecutionPrevention>
<GenerateDebugInformation>true</GenerateDebugInformation>
<IgnoreImportLibrary>true</IgnoreImportLibrary>
<OutputFile>$(OutDir)\testrunner.exe</OutputFile>
<RandomizedBaseAddress>true</RandomizedBaseAddress>
<SubSystem>Console</SubSystem>
<SuppressStartupBanner>true</SuppressStartupBanner>
</Link>
<Midl>
<DefaultCharType>Unsigned</DefaultCharType>
<EnableErrorChecks>None</EnableErrorChecks>
<WarningLevel>0</WarningLevel>
</Midl>
<ResourceCompile>
<PreprocessorDefinitions>_CONSOLE;UNICODE;WIN32;QT_LARGEFILE_SUPPORT;_CRT_SECURE_NO_WARNINGS;_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
</ResourceCompile>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="&apos;$(Configuration)|$(Platform)&apos;==&apos;Release|Win32&apos;">
<ClCompile>
<AdditionalIncludeDirectories>".";"..\cli";"..\lib";"..\externals\tinyxml";..\..\..\..\Qt\4.8.1\mkspecs\win32-msvc2010;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<AdditionalOptions>-Zm200 -w34100 -w34189 %(AdditionalOptions)</AdditionalOptions>
<AssemblerListingLocation>temp\</AssemblerListingLocation>
<BrowseInformation>false</BrowseInformation>
<BufferSecurityCheck>false</BufferSecurityCheck>
<ExceptionHandling>Sync</ExceptionHandling>
<ObjectFileName>temp\</ObjectFileName>
<Optimization>MaxSpeed</Optimization>
<PreprocessorDefinitions>_CONSOLE;UNICODE;WIN32;QT_LARGEFILE_SUPPORT;_CRT_SECURE_NO_WARNINGS;NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PreprocessToFile>false</PreprocessToFile>
<ProgramDataBaseFileName>.\</ProgramDataBaseFileName>
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
<RuntimeTypeInfo>true</RuntimeTypeInfo>
<SuppressStartupBanner>true</SuppressStartupBanner>
<TreatWChar_tAsBuiltInType>false</TreatWChar_tAsBuiltInType>
<WarningLevel>Level4</WarningLevel>
</ClCompile>
<Link>
<AdditionalDependencies>shlwapi.lib;%(AdditionalDependencies)</AdditionalDependencies>
<AdditionalOptions>"/MANIFESTDEPENDENCY:type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' publicKeyToken='6595b64144ccf1df' language='*' processorArchitecture='*'" %(AdditionalOptions)</AdditionalOptions>
<DataExecutionPrevention>true</DataExecutionPrevention>
<GenerateDebugInformation>false</GenerateDebugInformation>
<IgnoreImportLibrary>true</IgnoreImportLibrary>
<LinkIncremental>false</LinkIncremental>
<OutputFile>$(OutDir)\testrunner.exe</OutputFile>
<RandomizedBaseAddress>true</RandomizedBaseAddress>
<SubSystem>Console</SubSystem>
<SuppressStartupBanner>true</SuppressStartupBanner>
</Link>
<Midl>
<DefaultCharType>Unsigned</DefaultCharType>
<EnableErrorChecks>None</EnableErrorChecks>
<WarningLevel>0</WarningLevel>
</Midl>
<ResourceCompile>
<PreprocessorDefinitions>_CONSOLE;UNICODE;WIN32;QT_LARGEFILE_SUPPORT;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
</ResourceCompile>
</ItemDefinitionGroup>
<ItemGroup> <ItemGroup>
<ClCompile Include="..\lib\check64bit.cpp" />
<ClCompile Include="..\lib\checkassignif.cpp" />
<ClCompile Include="..\lib\checkautovariables.cpp" />
<ClCompile Include="..\lib\checkboost.cpp" />
<ClCompile Include="..\lib\checkbufferoverrun.cpp" />
<ClCompile Include="..\lib\checkclass.cpp" />
<ClCompile Include="..\lib\checkexceptionsafety.cpp" />
<ClCompile Include="..\lib\checkinternal.cpp" />
<ClCompile Include="..\lib\checkio.cpp" />
<ClCompile Include="..\lib\checkleakautovar.cpp" />
<ClCompile Include="..\lib\checkmemoryleak.cpp" />
<ClCompile Include="..\lib\checknonreentrantfunctions.cpp" />
<ClCompile Include="..\lib\checknullpointer.cpp" />
<ClCompile Include="..\lib\checkobsoletefunctions.cpp" />
<ClCompile Include="..\lib\checkother.cpp" />
<ClCompile Include="..\lib\checkpostfixoperator.cpp" />
<ClCompile Include="..\lib\checkstl.cpp" />
<ClCompile Include="..\lib\checkuninitvar.cpp" />
<ClCompile Include="..\lib\checkunusedfunctions.cpp" />
<ClCompile Include="..\lib\checkunusedvar.cpp" />
<ClCompile Include="..\cli\cmdlineparser.cpp" /> <ClCompile Include="..\cli\cmdlineparser.cpp" />
<ClCompile Include="..\lib\cppcheck.cpp" />
<ClCompile Include="..\cli\cppcheckexecutor.cpp" />
<ClCompile Include="..\lib\errorlogger.cpp" />
<ClCompile Include="..\lib\executionpath.cpp" />
<ClCompile Include="..\cli\filelister.cpp" /> <ClCompile Include="..\cli\filelister.cpp" />
<ClCompile Include="..\lib\mathlib.cpp" />
<ClCompile Include="options.cpp" />
<ClCompile Include="..\lib\path.cpp" />
<ClCompile Include="..\cli\pathmatch.cpp" /> <ClCompile Include="..\cli\pathmatch.cpp" />
<ClCompile Include="..\lib\preprocessor.cpp" /> <ClCompile Include="..\cli\threadexecutor.cpp" />
<ClCompile Include="..\lib\settings.cpp" /> <ClCompile Include="..\externals\tinyxml\tinystr.cpp" />
<ClCompile Include="..\lib\suppressions.cpp" /> <ClCompile Include="..\externals\tinyxml\tinyxml.cpp" />
<ClCompile Include="..\lib\symboldatabase.cpp" /> <ClCompile Include="..\externals\tinyxml\tinyxmlerror.cpp" />
<ClCompile Include="..\lib\templatesimplifier.cpp" /> <ClCompile Include="..\externals\tinyxml\tinyxmlparser.cpp" />
<ClCompile Include="options.cpp" />
<ClCompile Include="test64bit.cpp" /> <ClCompile Include="test64bit.cpp" />
<ClCompile Include="testassignif.cpp" /> <ClCompile Include="testassignif.cpp" />
<ClCompile Include="testautovariables.cpp" /> <ClCompile Include="testautovariables.cpp" />
<ClCompile Include="testboost.cpp" />
<ClCompile Include="testbufferoverrun.cpp" /> <ClCompile Include="testbufferoverrun.cpp" />
<ClCompile Include="testcharvar.cpp" /> <ClCompile Include="testcharvar.cpp" />
<ClCompile Include="testclass.cpp" /> <ClCompile Include="testclass.cpp" />
@ -178,6 +52,7 @@
<ClCompile Include="testexceptionsafety.cpp" /> <ClCompile Include="testexceptionsafety.cpp" />
<ClCompile Include="testfilelister.cpp" /> <ClCompile Include="testfilelister.cpp" />
<ClCompile Include="testincompletestatement.cpp" /> <ClCompile Include="testincompletestatement.cpp" />
<ClCompile Include="testio.cpp" />
<ClCompile Include="testmathlib.cpp" /> <ClCompile Include="testmathlib.cpp" />
<ClCompile Include="testmemleak.cpp" /> <ClCompile Include="testmemleak.cpp" />
<ClCompile Include="testnonreentrantfunctions.cpp" /> <ClCompile Include="testnonreentrantfunctions.cpp" />
@ -202,63 +77,201 @@
<ClCompile Include="testunusedfunctions.cpp" /> <ClCompile Include="testunusedfunctions.cpp" />
<ClCompile Include="testunusedprivfunc.cpp" /> <ClCompile Include="testunusedprivfunc.cpp" />
<ClCompile Include="testunusedvar.cpp" /> <ClCompile Include="testunusedvar.cpp" />
<ClCompile Include="..\cli\threadexecutor.cpp" />
<ClCompile Include="..\lib\timer.cpp" />
<ClCompile Include="..\externals\tinyxml\tinystr.cpp" />
<ClCompile Include="..\externals\tinyxml\tinyxml.cpp" />
<ClCompile Include="..\externals\tinyxml\tinyxmlerror.cpp" />
<ClCompile Include="..\externals\tinyxml\tinyxmlparser.cpp" />
<ClCompile Include="..\lib\token.cpp" />
<ClCompile Include="..\lib\tokenize.cpp" />
<ClCompile Include="..\lib\tokenlist.cpp" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<ClInclude Include="..\lib\check.h" />
<ClInclude Include="..\lib\check64bit.h" />
<ClInclude Include="..\lib\checkassignif.h" />
<ClInclude Include="..\lib\checkautovariables.h" />
<ClInclude Include="..\lib\checkboost.h" />
<ClInclude Include="..\lib\checkbufferoverrun.h" />
<ClInclude Include="..\lib\checkclass.h" />
<ClInclude Include="..\lib\checkexceptionsafety.h" />
<ClInclude Include="..\lib\checkinternal.h" />
<ClInclude Include="..\lib\checkio.h" />
<ClInclude Include="..\lib\checkleakautovar.h" />
<ClInclude Include="..\lib\checkmemoryleak.h" />
<ClInclude Include="..\lib\checknonreentrantfunctions.h" />
<ClInclude Include="..\lib\checknullpointer.h" />
<ClInclude Include="..\lib\checkobsoletefunctions.h" />
<ClInclude Include="..\lib\checkother.h" />
<ClInclude Include="..\lib\checkpostfixoperator.h" />
<ClInclude Include="..\lib\checkstl.h" />
<ClInclude Include="..\lib\checkuninitvar.h" />
<ClInclude Include="..\lib\checkunusedfunctions.h" />
<ClInclude Include="..\lib\checkunusedvar.h" />
<ClInclude Include="..\cli\cmdlineparser.h" /> <ClInclude Include="..\cli\cmdlineparser.h" />
<ClInclude Include="..\lib\cppcheck.h" />
<ClInclude Include="..\cli\cppcheckexecutor.h" />
<ClInclude Include="..\lib\errorlogger.h" />
<ClInclude Include="..\lib\executionpath.h" />
<ClInclude Include="..\cli\filelister.h" /> <ClInclude Include="..\cli\filelister.h" />
<ClInclude Include="..\lib\mathlib.h" />
<ClInclude Include="options.h" />
<ClInclude Include="..\lib\path.h" />
<ClInclude Include="..\cli\pathmatch.h" /> <ClInclude Include="..\cli\pathmatch.h" />
<ClInclude Include="..\lib\preprocessor.h" />
<ClInclude Include="redirect.h" />
<ClInclude Include="..\lib\settings.h" />
<ClInclude Include="..\lib\suppressions.h" />
<ClInclude Include="..\lib\symboldatabase.h" />
<ClInclude Include="..\lib\templatesimplifier.h" />
<ClInclude Include="testsuite.h" />
<ClInclude Include="..\cli\threadexecutor.h" /> <ClInclude Include="..\cli\threadexecutor.h" />
<ClInclude Include="..\lib\timer.h" />
<ClInclude Include="..\externals\tinyxml\tinystr.h" /> <ClInclude Include="..\externals\tinyxml\tinystr.h" />
<ClInclude Include="..\externals\tinyxml\tinyxml.h" /> <ClInclude Include="..\externals\tinyxml\tinyxml.h" />
<ClInclude Include="..\lib\token.h" /> <ClInclude Include="..\lib\config.h" />
<ClInclude Include="..\lib\tokenize.h" /> <ClInclude Include="options.h" />
<ClInclude Include="..\lib\tokenlist.h" /> <ClInclude Include="redirect.h" />
<ClInclude Include="testsuite.h" />
<ClInclude Include="testutils.h" />
</ItemGroup> </ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{4F7DCE5E-6CDE-38C4-9EA7-27AF3B25CEB4}</ProjectGuid>
<RootNamespace>testrunner</RootNamespace>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<OutputDirectory>debug\</OutputDirectory>
<ConfigurationType>Application</ConfigurationType>
<IntermediateDirectory>temp\</IntermediateDirectory>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
<OutputDirectory>debug\</OutputDirectory>
<ConfigurationType>Application</ConfigurationType>
<IntermediateDirectory>temp\</IntermediateDirectory>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<OutputDirectory>release\</OutputDirectory>
<ConfigurationType>Application</ConfigurationType>
<IntermediateDirectory>temp\</IntermediateDirectory>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
<OutputDirectory>release\</OutputDirectory>
<ConfigurationType>Application</ConfigurationType>
<IntermediateDirectory>temp\</IntermediateDirectory>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings" />
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup>
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\bin\debug\</OutDir>
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">..\bin\debug\</OutDir>
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">temp\debug\</IntDir>
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">temp\debug\</IntDir>
<TargetName Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">testrunner</TargetName>
<TargetName Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">testrunner</TargetName>
<IgnoreImportLibrary Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</IgnoreImportLibrary>
<IgnoreImportLibrary Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</IgnoreImportLibrary>
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">..\bin\</OutDir>
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">..\bin\</OutDir>
<IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">temp\</IntDir>
<IntDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">temp\</IntDir>
<TargetName Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">testrunner</TargetName>
<TargetName Condition="'$(Configuration)|$(Platform)'=='Release|x64'">testrunner</TargetName>
<IgnoreImportLibrary Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</IgnoreImportLibrary>
<IgnoreImportLibrary Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</IgnoreImportLibrary>
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</LinkIncremental>
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</LinkIncremental>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<AdditionalIncludeDirectories>..\cli;..\lib;..\externals;..\externals\tinyxml;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<BrowseInformation>false</BrowseInformation>
<BufferSecurityCheck>true</BufferSecurityCheck>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>CPPCHECKLIB_IMPORT;UNICODE;WIN32;_CRT_SECURE_NO_WARNINGS;WIN32_LEAN_AND_MEAN;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PreprocessToFile>false</PreprocessToFile>
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
<SuppressStartupBanner>true</SuppressStartupBanner>
<WarningLevel>Level4</WarningLevel>
<DisableSpecificWarnings>4251</DisableSpecificWarnings>
</ClCompile>
<Link>
<AdditionalDependencies>shlwapi.lib;%(AdditionalDependencies)</AdditionalDependencies>
<AdditionalLibraryDirectories>../externals;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<DataExecutionPrevention>true</DataExecutionPrevention>
<GenerateDebugInformation>true</GenerateDebugInformation>
<IgnoreImportLibrary>true</IgnoreImportLibrary>
<SubSystem>Console</SubSystem>
<SuppressStartupBanner>true</SuppressStartupBanner>
</Link>
<Midl />
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<ClCompile>
<AdditionalIncludeDirectories>..\cli;..\lib;..\externals;..\externals\tinyxml;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<BrowseInformation>false</BrowseInformation>
<BufferSecurityCheck>true</BufferSecurityCheck>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>CPPCHECKLIB_IMPORT;UNICODE;WIN32;_CRT_SECURE_NO_WARNINGS;WIN32_LEAN_AND_MEAN;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PreprocessToFile>false</PreprocessToFile>
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
<SuppressStartupBanner>true</SuppressStartupBanner>
<WarningLevel>Level4</WarningLevel>
<DisableSpecificWarnings>4251</DisableSpecificWarnings>
<OmitFramePointers>false</OmitFramePointers>
</ClCompile>
<Link>
<AdditionalDependencies>shlwapi.lib;%(AdditionalDependencies)</AdditionalDependencies>
<AdditionalLibraryDirectories>../externals;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<DataExecutionPrevention>true</DataExecutionPrevention>
<GenerateDebugInformation>true</GenerateDebugInformation>
<IgnoreImportLibrary>true</IgnoreImportLibrary>
<SubSystem>Console</SubSystem>
<SuppressStartupBanner>true</SuppressStartupBanner>
</Link>
<Midl />
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
<AdditionalIncludeDirectories>..\cli;..\lib;..\externals;..\externals\tinyxml;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<BrowseInformation>false</BrowseInformation>
<BufferSecurityCheck>false</BufferSecurityCheck>
<Optimization>MaxSpeed</Optimization>
<PreprocessorDefinitions>CPPCHECKLIB_IMPORT;NDEBUG;UNICODE;WIN32;_CRT_SECURE_NO_WARNINGS;WIN32_LEAN_AND_MEAN;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PreprocessToFile>false</PreprocessToFile>
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
<SuppressStartupBanner>true</SuppressStartupBanner>
<WarningLevel>Level4</WarningLevel>
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
<IntrinsicFunctions>true</IntrinsicFunctions>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<OmitFramePointers>true</OmitFramePointers>
<DisableSpecificWarnings>4251</DisableSpecificWarnings>
<WholeProgramOptimization>false</WholeProgramOptimization>
<DebugInformationFormat>
</DebugInformationFormat>
</ClCompile>
<Link>
<AdditionalDependencies>shlwapi.lib;%(AdditionalDependencies)</AdditionalDependencies>
<AdditionalLibraryDirectories>../externals;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<DataExecutionPrevention>true</DataExecutionPrevention>
<GenerateDebugInformation>false</GenerateDebugInformation>
<IgnoreImportLibrary>true</IgnoreImportLibrary>
<SubSystem>Console</SubSystem>
<SuppressStartupBanner>true</SuppressStartupBanner>
<OptimizeReferences>true</OptimizeReferences>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<SetChecksum>true</SetChecksum>
</Link>
<Midl />
<ProjectReference />
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<ClCompile>
<AdditionalIncludeDirectories>..\cli;..\lib;..\externals;..\externals\tinyxml;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<BrowseInformation>false</BrowseInformation>
<BufferSecurityCheck>false</BufferSecurityCheck>
<Optimization>MaxSpeed</Optimization>
<PreprocessorDefinitions>CPPCHECKLIB_IMPORT;NDEBUG;UNICODE;WIN32;_CRT_SECURE_NO_WARNINGS;WIN32_LEAN_AND_MEAN;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PreprocessToFile>false</PreprocessToFile>
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
<SuppressStartupBanner>true</SuppressStartupBanner>
<WarningLevel>Level4</WarningLevel>
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
<IntrinsicFunctions>true</IntrinsicFunctions>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<OmitFramePointers>true</OmitFramePointers>
<DisableSpecificWarnings>4251</DisableSpecificWarnings>
<WholeProgramOptimization>false</WholeProgramOptimization>
<DebugInformationFormat>
</DebugInformationFormat>
<StringPooling>true</StringPooling>
</ClCompile>
<Link>
<AdditionalDependencies>shlwapi.lib;%(AdditionalDependencies)</AdditionalDependencies>
<AdditionalLibraryDirectories>../externals;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<DataExecutionPrevention>true</DataExecutionPrevention>
<GenerateDebugInformation>false</GenerateDebugInformation>
<IgnoreImportLibrary>true</IgnoreImportLibrary>
<SubSystem>Console</SubSystem>
<SuppressStartupBanner>true</SuppressStartupBanner>
<OptimizeReferences>true</OptimizeReferences>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<SetChecksum>true</SetChecksum>
</Link>
<Midl />
</ItemDefinitionGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets" /> <ImportGroup Label="ExtensionTargets" />
</Project> </Project>

View File

@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup> <ItemGroup>
<Filter Include="Header Files"> <Filter Include="Header Files">
@ -19,111 +19,9 @@
</Filter> </Filter>
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<ClCompile Include="..\lib\check64bit.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\lib\checkassignif.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\lib\checkautovariables.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\lib\checkboost.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\lib\checkbufferoverrun.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\lib\checkclass.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\lib\checkexceptionsafety.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\lib\checkinternal.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\lib\checkio.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\lib\checkleakautovar.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\lib\checkmemoryleak.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\lib\checknonreentrantfunctions.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\lib\checknullpointer.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\lib\checkobsoletefunctions.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\lib\checkother.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\lib\checkpostfixoperator.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\lib\checkstl.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\lib\checkuninitvar.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\lib\checkunusedfunctions.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\lib\checkunusedvar.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\cli\cmdlineparser.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\lib\cppcheck.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\cli\cppcheckexecutor.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\lib\errorlogger.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\lib\executionpath.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\cli\filelister.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\lib\mathlib.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="options.cpp"> <ClCompile Include="options.cpp">
<Filter>Source Files</Filter> <Filter>Source Files</Filter>
</ClCompile> </ClCompile>
<ClCompile Include="..\lib\path.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\cli\pathmatch.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\lib\preprocessor.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\lib\settings.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\lib\suppressions.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\lib\symboldatabase.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\lib\templatesimplifier.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="test64bit.cpp"> <ClCompile Include="test64bit.cpp">
<Filter>Source Files</Filter> <Filter>Source Files</Filter>
</ClCompile> </ClCompile>
@ -133,9 +31,6 @@
<ClCompile Include="testautovariables.cpp"> <ClCompile Include="testautovariables.cpp">
<Filter>Source Files</Filter> <Filter>Source Files</Filter>
</ClCompile> </ClCompile>
<ClCompile Include="testboost.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="testbufferoverrun.cpp"> <ClCompile Include="testbufferoverrun.cpp">
<Filter>Source Files</Filter> <Filter>Source Files</Filter>
</ClCompile> </ClCompile>
@ -241,10 +136,16 @@
<ClCompile Include="testunusedvar.cpp"> <ClCompile Include="testunusedvar.cpp">
<Filter>Source Files</Filter> <Filter>Source Files</Filter>
</ClCompile> </ClCompile>
<ClCompile Include="..\cli\pathmatch.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\cli\filelister.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\cli\threadexecutor.cpp"> <ClCompile Include="..\cli\threadexecutor.cpp">
<Filter>Source Files</Filter> <Filter>Source Files</Filter>
</ClCompile> </ClCompile>
<ClCompile Include="..\lib\timer.cpp"> <ClCompile Include="..\cli\cmdlineparser.cpp">
<Filter>Source Files</Filter> <Filter>Source Files</Filter>
</ClCompile> </ClCompile>
<ClCompile Include="..\externals\tinyxml\tinystr.cpp"> <ClCompile Include="..\externals\tinyxml\tinystr.cpp">
@ -259,135 +160,33 @@
<ClCompile Include="..\externals\tinyxml\tinyxmlparser.cpp"> <ClCompile Include="..\externals\tinyxml\tinyxmlparser.cpp">
<Filter>Source Files</Filter> <Filter>Source Files</Filter>
</ClCompile> </ClCompile>
<ClCompile Include="..\lib\token.cpp"> <ClCompile Include="testio.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\lib\tokenize.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\lib\tokenlist.cpp">
<Filter>Source Files</Filter> <Filter>Source Files</Filter>
</ClCompile> </ClCompile>
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<ClInclude Include="..\lib\check.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\lib\check64bit.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\lib\checkassignif.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\lib\checkautovariables.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\lib\checkboost.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\lib\checkbufferoverrun.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\lib\checkclass.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\lib\checkexceptionsafety.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\lib\checkinternal.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\lib\checkio.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\lib\checkleakautovar.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\lib\checkmemoryleak.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\lib\checknonreentrantfunctions.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\lib\checknullpointer.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\lib\checkobsoletefunctions.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\lib\checkother.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\lib\checkpostfixoperator.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\lib\checkstl.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\lib\checkuninitvar.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\lib\checkunusedfunctions.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\lib\checkunusedvar.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\cli\cmdlineparser.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\lib\cppcheck.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\cli\cppcheckexecutor.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\lib\errorlogger.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\lib\executionpath.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\cli\filelister.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\lib\mathlib.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="options.h"> <ClInclude Include="options.h">
<Filter>Header Files</Filter> <Filter>Header Files</Filter>
</ClInclude> </ClInclude>
<ClInclude Include="..\lib\path.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\cli\pathmatch.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\lib\preprocessor.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="redirect.h"> <ClInclude Include="redirect.h">
<Filter>Header Files</Filter> <Filter>Header Files</Filter>
</ClInclude> </ClInclude>
<ClInclude Include="..\lib\settings.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\lib\suppressions.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\lib\symboldatabase.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\lib\templatesimplifier.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="testsuite.h"> <ClInclude Include="testsuite.h">
<Filter>Header Files</Filter> <Filter>Header Files</Filter>
</ClInclude> </ClInclude>
<ClInclude Include="testutils.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\cli\pathmatch.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\cli\filelister.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\cli\threadexecutor.h"> <ClInclude Include="..\cli\threadexecutor.h">
<Filter>Header Files</Filter> <Filter>Header Files</Filter>
</ClInclude> </ClInclude>
<ClInclude Include="..\lib\timer.h"> <ClInclude Include="..\cli\cmdlineparser.h">
<Filter>Header Files</Filter> <Filter>Header Files</Filter>
</ClInclude> </ClInclude>
<ClInclude Include="..\externals\tinyxml\tinystr.h"> <ClInclude Include="..\externals\tinyxml\tinystr.h">
@ -396,13 +195,7 @@
<ClInclude Include="..\externals\tinyxml\tinyxml.h"> <ClInclude Include="..\externals\tinyxml\tinyxml.h">
<Filter>Header Files</Filter> <Filter>Header Files</Filter>
</ClInclude> </ClInclude>
<ClInclude Include="..\lib\token.h"> <ClInclude Include="..\lib\config.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\lib\tokenize.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\lib\tokenlist.h">
<Filter>Header Files</Filter> <Filter>Header Files</Filter>
</ClInclude> </ClInclude>
</ItemGroup> </ItemGroup>