MCPcopy Create free account
hub / github.com/Kitware/CMake / BinaryDirectoryIsNew

Method BinaryDirectoryIsNew

Source/cmGlobalGenerator.h:558–561  ·  view source on GitHub ↗

Return whether the given binary directory is unused. */

Source from the content-addressed store, hash-verified

556
557 /** Return whether the given binary directory is unused. */
558 bool BinaryDirectoryIsNew(std::string const& dir)
559 {
560 return this->BinaryDirectories.insert(dir).second;
561 }
562
563 /** Return true if the generated build tree may contain multiple builds.
564 i.e. "Can I build Debug and Release in the same tree?" */

Callers 1

EnforceUniqueDirMethod · 0.80

Calls 1

insertMethod · 0.45

Tested by

no test coverage detected