Skip to content
Myr

Require boost 1.60

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by David Peter · committed by David Peter · parent 723be8b · Browse files · 3 files+4 added−6 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

3 files+4 added−6 removed

  • other:+4 added−6 removed

3 files+4 added−6 removed

modified:src/fnd.cpp+2 added-4 removed
21 unmodified lines
2223void findFiles(const std::regex& pattern) {24 const fs::path& currentPath = fs::current_path();2526 fs::recursive_directory_iterator entry;27 for (entry = fs::recursive_directory_iterator(currentPath);28 entry != fs::recursive_directory_iterator(); ++entry) {29 const fs::path& path = entry->path();26 for (auto& entry: fs::recursive_directory_iterator(currentPath)) {27 const fs::path& path = entry.path().lexically_relative(currentPath);2829 if (std::regex_search(path.string(), pattern)) {30 printPath(path);31 }
32 unmodified lines
modified:CMakeLists.txt+1 added-1 removed
1cmake_minimum_required(VERSION 3.1.0)23project(fnd CXX)45find_package(Boost 1.54 REQUIRED COMPONENTS system filesystem)5find_package(Boost 1.60 REQUIRED COMPONENTS system filesystem)6include_directories( ${Boost_INCLUDE_DIR} )78file(GLOB SOURCES "src/*.cpp")9
9 unmodified lines
modified:README.md+1 added-1 removed