find_searchpath.h 499 B

1234567891011121314151617181920
  1. // Filename: find_searchpath.h
  2. // Created by: drose (09Oct00)
  3. //
  4. ////////////////////////////////////////////////////////////////////
  5. #ifndef FIND_SEARCHPATH_H
  6. #define FIND_SEARCHPATH_H
  7. #include "ppremake.h"
  8. #include <vector>
  9. // Searchs for the given filename along the indicated set of
  10. // directories, and returns the first place in which it is found, or
  11. // empty string if it is not found.
  12. string find_searchpath(const vector<string> &directories,
  13. const string &filename);
  14. #endif