class Xezat::Detector::Cmake

Public Instance Methods

detect(variables) click to toggle source
# File lib/xezat/detector/cmake.rb, line 8
def detect(variables)
  Find.find(variables[:S]) do |file|
    return true if file.end_with?("#{File::SEPARATOR}CMakeLists.txt")
  end
  false
end