mirror of
https://github.com/reactos/CMake.git
synced 2025-02-05 03:16:24 +00:00
stringapi: Use strings for search paths
This commit is contained in:
parent
c3833c7da4
commit
8455dd0a9a
@ -359,7 +359,7 @@ std::string cmMakeDepend::FullPath(const char* fname, const char *extraPath)
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Add a directory to the search path
|
// Add a directory to the search path
|
||||||
void cmMakeDepend::AddSearchPath(const char* path)
|
void cmMakeDepend::AddSearchPath(const std::string& path)
|
||||||
{
|
{
|
||||||
this->IncludeDirectories.push_back(path);
|
this->IncludeDirectories.push_back(path);
|
||||||
}
|
}
|
||||||
|
@ -94,7 +94,7 @@ public:
|
|||||||
/**
|
/**
|
||||||
* Add a directory to the search path for include files.
|
* Add a directory to the search path for include files.
|
||||||
*/
|
*/
|
||||||
virtual void AddSearchPath(const char*);
|
virtual void AddSearchPath(const std::string&);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Generate dependencies for the file given. Returns a pointer to
|
* Generate dependencies for the file given. Returns a pointer to
|
||||||
|
Loading…
x
Reference in New Issue
Block a user