diff --git a/cli/filelister.cpp b/cli/filelister.cpp index 91ee6c375..5eb9fb8d7 100644 --- a/cli/filelister.cpp +++ b/cli/filelister.cpp @@ -69,6 +69,11 @@ static BOOL MyFileExists(const std::string& path) } void FileLister::recursiveAddFiles(std::map &files, const std::string &path, const std::set &extra, const PathMatch& ignored) +{ + addFiles(files, path, extra, true, ignored); +} + +void FileLister::addFiles(std::map &files, const std::string &path, const std::set &extra, bool recursive, const PathMatch& ignored) { const std::string cleanedPath = Path::toNativeSeparators(path); @@ -134,8 +139,10 @@ void FileLister::recursiveAddFiles(std::map &files, co } } else { // Directory - if (!ignored.match(fname)) - FileLister::recursiveAddFiles(files, fname, extra, ignored); + if (recursive) { + if (!ignored.match(fname)) + FileLister::recursiveAddFiles(files, fname, extra, ignored); + } } } while (FindNextFileA(hFind, &ffd) != FALSE); diff --git a/tools/dmake.sln b/tools/dmake.sln new file mode 100644 index 000000000..0b79849fc --- /dev/null +++ b/tools/dmake.sln @@ -0,0 +1,20 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 2012 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "dmake", "dmake.vcxproj", "{19EC86CD-0004-4917-B852-E6BD110B6E6F}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Win32 = Debug|Win32 + Release|Win32 = Release|Win32 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {19EC86CD-0004-4917-B852-E6BD110B6E6F}.Debug|Win32.ActiveCfg = Debug|Win32 + {19EC86CD-0004-4917-B852-E6BD110B6E6F}.Debug|Win32.Build.0 = Debug|Win32 + {19EC86CD-0004-4917-B852-E6BD110B6E6F}.Release|Win32.ActiveCfg = Release|Win32 + {19EC86CD-0004-4917-B852-E6BD110B6E6F}.Release|Win32.Build.0 = Release|Win32 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/tools/dmake.vcproj b/tools/dmake.vcproj deleted file mode 100644 index fd571f294..000000000 --- a/tools/dmake.vcproj +++ /dev/null @@ -1,219 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/tools/dmake.vcxproj b/tools/dmake.vcxproj new file mode 100644 index 000000000..5e781cf2c --- /dev/null +++ b/tools/dmake.vcxproj @@ -0,0 +1,113 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + + {19EC86CD-0004-4917-B852-E6BD110B6E6F} + dmake + Win32Proj + + + + Application + v110 + NotSet + true + + + Application + v110 + NotSet + + + + + + + + + + + + + <_ProjectFileVersion>11.0.61030.0 + + + ..\Build\$(Configuration)\ + ..\BuildTmp\$(TargetName)\$(Configuration)\ + true + + + + ..\Build\$(Configuration)\ + ..\BuildTmp\$(TargetName)\$(Configuration)\ + false + + + + Disabled + ..\lib;..\externals\simplecpp;%(AdditionalIncludeDirectories) + WIN32;_DEBUG;%(PreprocessorDefinitions) + true + Default + MultiThreadedDebugDLL + false + + $(IntDir) + Level3 + ProgramDatabase + + + shlwapi.lib;%(AdditionalDependencies) + $(OutDir)dmake.exe + true + Console + MachineX86 + + + + + MaxSpeed + true + ..\lib;%(AdditionalIncludeDirectories) + WIN32;NDEBUG;%(PreprocessorDefinitions) + MultiThreadedDLL + true + + $(IntDir) + Level3 + ProgramDatabase + + + shlwapi.lib;%(AdditionalDependencies) + $(OutDir)dmake.exe + true + Console + true + true + MachineX86 + + + + + + + + + + + + + + + + + \ No newline at end of file