2009-09-28 19:43:28 +04:00
|
|
|
/*============================================================================
|
|
|
|
CMake - Cross Platform Makefile Generator
|
|
|
|
Copyright 2000-2009 Kitware, Inc., Insight Software Consortium
|
2008-01-17 17:02:31 +03:00
|
|
|
|
2009-09-28 19:43:28 +04:00
|
|
|
Distributed under the OSI-approved BSD License (the "License");
|
|
|
|
see accompanying file Copyright.txt for details.
|
2008-01-17 17:02:31 +03:00
|
|
|
|
2009-09-28 19:43:28 +04:00
|
|
|
This software is distributed WITHOUT ANY WARRANTY; without even the
|
|
|
|
implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
|
|
See the License for more information.
|
|
|
|
============================================================================*/
|
2008-01-17 17:02:31 +03:00
|
|
|
#include "cmFindCommon.h"
|
|
|
|
|
|
|
|
//----------------------------------------------------------------------------
|
|
|
|
cmFindCommon::cmFindCommon()
|
|
|
|
{
|
|
|
|
this->FindRootPathMode = RootPathModeBoth;
|
|
|
|
this->NoDefaultPath = false;
|
|
|
|
this->NoCMakePath = false;
|
|
|
|
this->NoCMakeEnvironmentPath = false;
|
|
|
|
this->NoSystemEnvironmentPath = false;
|
|
|
|
this->NoCMakeSystemPath = false;
|
|
|
|
|
|
|
|
// OS X Bundle and Framework search policy. The default is to
|
|
|
|
// search frameworks first on apple.
|
|
|
|
#if defined(__APPLE__)
|
|
|
|
this->SearchFrameworkFirst = true;
|
|
|
|
this->SearchAppBundleFirst = true;
|
|
|
|
#else
|
|
|
|
this->SearchFrameworkFirst = false;
|
|
|
|
this->SearchAppBundleFirst = false;
|
|
|
|
#endif
|
|
|
|
this->SearchFrameworkOnly = false;
|
|
|
|
this->SearchFrameworkLast = false;
|
|
|
|
this->SearchAppBundleOnly = false;
|
|
|
|
this->SearchAppBundleLast = false;
|
2010-11-12 18:47:28 +03:00
|
|
|
}
|
2008-01-17 17:02:31 +03:00
|
|
|
|
|
|
|
//----------------------------------------------------------------------------
|
|
|
|
cmFindCommon::~cmFindCommon()
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
//----------------------------------------------------------------------------
|
|
|
|
void cmFindCommon::SelectDefaultRootPathMode()
|
|
|
|
{
|
|
|
|
// Use both by default.
|
|
|
|
this->FindRootPathMode = RootPathModeBoth;
|
|
|
|
|
|
|
|
// Check the policy variable for this find command type.
|
|
|
|
std::string findRootPathVar = "CMAKE_FIND_ROOT_PATH_MODE_";
|
|
|
|
findRootPathVar += this->CMakePathName;
|
|
|
|
std::string rootPathMode =
|
2014-03-11 03:04:11 +04:00
|
|
|
this->Makefile->GetSafeDefinition(findRootPathVar);
|
2008-01-17 17:02:31 +03:00
|
|
|
if (rootPathMode=="NEVER")
|
|
|
|
{
|
|
|
|
this->FindRootPathMode = RootPathModeNoRootPath;
|
|
|
|
}
|
|
|
|
else if (rootPathMode=="ONLY")
|
|
|
|
{
|
|
|
|
this->FindRootPathMode = RootPathModeOnlyRootPath;
|
|
|
|
}
|
|
|
|
else if (rootPathMode=="BOTH")
|
|
|
|
{
|
|
|
|
this->FindRootPathMode = RootPathModeBoth;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
//----------------------------------------------------------------------------
|
|
|
|
void cmFindCommon::SelectDefaultMacMode()
|
|
|
|
{
|
|
|
|
std::string ff = this->Makefile->GetSafeDefinition("CMAKE_FIND_FRAMEWORK");
|
|
|
|
if(ff == "NEVER")
|
|
|
|
{
|
|
|
|
this->SearchFrameworkLast = false;
|
|
|
|
this->SearchFrameworkFirst = false;
|
|
|
|
this->SearchFrameworkOnly = false;
|
|
|
|
}
|
|
|
|
else if(ff == "ONLY")
|
|
|
|
{
|
|
|
|
this->SearchFrameworkLast = false;
|
|
|
|
this->SearchFrameworkFirst = false;
|
|
|
|
this->SearchFrameworkOnly = true;
|
|
|
|
}
|
|
|
|
else if(ff == "FIRST")
|
|
|
|
{
|
|
|
|
this->SearchFrameworkLast = false;
|
|
|
|
this->SearchFrameworkFirst = true;
|
|
|
|
this->SearchFrameworkOnly = false;
|
|
|
|
}
|
|
|
|
else if(ff == "LAST")
|
|
|
|
{
|
|
|
|
this->SearchFrameworkLast = true;
|
|
|
|
this->SearchFrameworkFirst = false;
|
|
|
|
this->SearchFrameworkOnly = false;
|
|
|
|
}
|
|
|
|
|
|
|
|
std::string fab = this->Makefile->GetSafeDefinition("CMAKE_FIND_APPBUNDLE");
|
|
|
|
if(fab == "NEVER")
|
|
|
|
{
|
|
|
|
this->SearchAppBundleLast = false;
|
|
|
|
this->SearchAppBundleFirst = false;
|
|
|
|
this->SearchAppBundleOnly = false;
|
|
|
|
}
|
|
|
|
else if(fab == "ONLY")
|
|
|
|
{
|
|
|
|
this->SearchAppBundleLast = false;
|
|
|
|
this->SearchAppBundleFirst = false;
|
|
|
|
this->SearchAppBundleOnly = true;
|
|
|
|
}
|
|
|
|
else if(fab == "FIRST")
|
|
|
|
{
|
|
|
|
this->SearchAppBundleLast = false;
|
|
|
|
this->SearchAppBundleFirst = true;
|
|
|
|
this->SearchAppBundleOnly = false;
|
|
|
|
}
|
|
|
|
else if(fab == "LAST")
|
|
|
|
{
|
|
|
|
this->SearchAppBundleLast = true;
|
|
|
|
this->SearchAppBundleFirst = false;
|
|
|
|
this->SearchAppBundleOnly = false;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
//----------------------------------------------------------------------------
|
|
|
|
void cmFindCommon::RerootPaths(std::vector<std::string>& paths)
|
|
|
|
{
|
|
|
|
#if 0
|
|
|
|
for(std::vector<std::string>::const_iterator i = paths.begin();
|
|
|
|
i != paths.end(); ++i)
|
|
|
|
{
|
|
|
|
fprintf(stderr, "[%s]\n", i->c_str());
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
// Short-circuit if there is nothing to do.
|
|
|
|
if(this->FindRootPathMode == RootPathModeNoRootPath)
|
|
|
|
{
|
|
|
|
return;
|
|
|
|
}
|
2013-04-13 16:46:57 +04:00
|
|
|
const char* sysroot =
|
|
|
|
this->Makefile->GetDefinition("CMAKE_SYSROOT");
|
2008-01-17 17:02:31 +03:00
|
|
|
const char* rootPath =
|
|
|
|
this->Makefile->GetDefinition("CMAKE_FIND_ROOT_PATH");
|
2013-04-13 16:46:57 +04:00
|
|
|
const bool noSysroot = !sysroot || !*sysroot;
|
|
|
|
const bool noRootPath = !rootPath || !*rootPath;
|
|
|
|
if(noSysroot && noRootPath)
|
2008-01-17 17:02:31 +03:00
|
|
|
{
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Construct the list of path roots with no trailing slashes.
|
|
|
|
std::vector<std::string> roots;
|
2013-04-13 16:46:57 +04:00
|
|
|
if (rootPath)
|
|
|
|
{
|
|
|
|
cmSystemTools::ExpandListArgument(rootPath, roots);
|
|
|
|
}
|
|
|
|
if (sysroot)
|
|
|
|
{
|
|
|
|
roots.push_back(sysroot);
|
|
|
|
}
|
2008-01-17 17:02:31 +03:00
|
|
|
for(std::vector<std::string>::iterator ri = roots.begin();
|
|
|
|
ri != roots.end(); ++ri)
|
|
|
|
{
|
|
|
|
cmSystemTools::ConvertToUnixSlashes(*ri);
|
|
|
|
}
|
|
|
|
|
2013-11-14 15:04:40 +04:00
|
|
|
const char* stagePrefix =
|
|
|
|
this->Makefile->GetDefinition("CMAKE_STAGING_PREFIX");
|
|
|
|
|
2008-01-17 17:02:31 +03:00
|
|
|
// Copy the original set of unrooted paths.
|
|
|
|
std::vector<std::string> unrootedPaths = paths;
|
|
|
|
paths.clear();
|
|
|
|
|
|
|
|
for(std::vector<std::string>::const_iterator ri = roots.begin();
|
|
|
|
ri != roots.end(); ++ri)
|
|
|
|
{
|
|
|
|
for(std::vector<std::string>::const_iterator ui = unrootedPaths.begin();
|
|
|
|
ui != unrootedPaths.end(); ++ui)
|
|
|
|
{
|
|
|
|
// Place the unrooted path under the current root if it is not
|
|
|
|
// already inside. Skip the unrooted path if it is relative to
|
|
|
|
// a user home directory or is empty.
|
|
|
|
std::string rootedDir;
|
2013-11-14 15:04:40 +04:00
|
|
|
if(cmSystemTools::IsSubDirectory(ui->c_str(), ri->c_str())
|
|
|
|
|| (stagePrefix
|
|
|
|
&& cmSystemTools::IsSubDirectory(ui->c_str(), stagePrefix)))
|
2008-01-17 17:02:31 +03:00
|
|
|
{
|
|
|
|
rootedDir = *ui;
|
|
|
|
}
|
|
|
|
else if(!ui->empty() && (*ui)[0] != '~')
|
|
|
|
{
|
|
|
|
// Start with the new root.
|
|
|
|
rootedDir = *ri;
|
|
|
|
rootedDir += "/";
|
|
|
|
|
|
|
|
// Append the original path with its old root removed.
|
|
|
|
rootedDir += cmSystemTools::SplitPathRootComponent(ui->c_str());
|
|
|
|
}
|
|
|
|
|
|
|
|
// Store the new path.
|
|
|
|
paths.push_back(rootedDir);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// If searching both rooted and unrooted paths add the original
|
|
|
|
// paths again.
|
|
|
|
if(this->FindRootPathMode == RootPathModeBoth)
|
|
|
|
{
|
|
|
|
paths.insert(paths.end(), unrootedPaths.begin(), unrootedPaths.end());
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2010-08-13 02:20:47 +04:00
|
|
|
//----------------------------------------------------------------------------
|
|
|
|
void cmFindCommon::FilterPaths(std::vector<std::string>& paths,
|
|
|
|
const std::set<std::string>& ignore)
|
|
|
|
{
|
|
|
|
// Now filter out anything that's in the ignore set.
|
|
|
|
std::vector<std::string> unfiltered;
|
|
|
|
unfiltered.swap(paths);
|
|
|
|
|
|
|
|
for(std::vector<std::string>::iterator pi = unfiltered.begin();
|
|
|
|
pi != unfiltered.end(); ++pi)
|
|
|
|
{
|
|
|
|
if (ignore.count(*pi) == 0)
|
|
|
|
{
|
|
|
|
paths.push_back(*pi);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
//----------------------------------------------------------------------------
|
|
|
|
void cmFindCommon::GetIgnoredPaths(std::vector<std::string>& ignore)
|
|
|
|
{
|
|
|
|
// null-terminated list of paths.
|
|
|
|
static const char *paths[] =
|
|
|
|
{ "CMAKE_SYSTEM_IGNORE_PATH", "CMAKE_IGNORE_PATH", 0 };
|
|
|
|
|
|
|
|
// Construct the list of path roots with no trailing slashes.
|
|
|
|
for(const char **pathName = paths; *pathName; ++pathName)
|
|
|
|
{
|
|
|
|
// Get the list of paths to ignore from the variable.
|
|
|
|
const char* ignorePath = this->Makefile->GetDefinition(*pathName);
|
|
|
|
if((ignorePath == 0) || (strlen(ignorePath) == 0))
|
|
|
|
{
|
|
|
|
continue;
|
|
|
|
}
|
|
|
|
|
|
|
|
cmSystemTools::ExpandListArgument(ignorePath, ignore);
|
|
|
|
}
|
|
|
|
|
|
|
|
for(std::vector<std::string>::iterator i = ignore.begin();
|
|
|
|
i != ignore.end(); ++i)
|
|
|
|
{
|
|
|
|
cmSystemTools::ConvertToUnixSlashes(*i);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
//----------------------------------------------------------------------------
|
|
|
|
void cmFindCommon::GetIgnoredPaths(std::set<std::string>& ignore)
|
|
|
|
{
|
|
|
|
std::vector<std::string> ignoreVec;
|
|
|
|
GetIgnoredPaths(ignoreVec);
|
|
|
|
ignore.insert(ignoreVec.begin(), ignoreVec.end());
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-01-17 17:02:31 +03:00
|
|
|
//----------------------------------------------------------------------------
|
|
|
|
bool cmFindCommon::CheckCommonArgument(std::string const& arg)
|
|
|
|
{
|
|
|
|
if(arg == "NO_DEFAULT_PATH")
|
|
|
|
{
|
|
|
|
this->NoDefaultPath = true;
|
|
|
|
}
|
|
|
|
else if(arg == "NO_CMAKE_ENVIRONMENT_PATH")
|
|
|
|
{
|
|
|
|
this->NoCMakeEnvironmentPath = true;
|
|
|
|
}
|
|
|
|
else if(arg == "NO_CMAKE_PATH")
|
|
|
|
{
|
|
|
|
this->NoCMakePath = true;
|
|
|
|
}
|
|
|
|
else if(arg == "NO_SYSTEM_ENVIRONMENT_PATH")
|
|
|
|
{
|
|
|
|
this->NoSystemEnvironmentPath = true;
|
|
|
|
}
|
|
|
|
else if(arg == "NO_CMAKE_SYSTEM_PATH")
|
|
|
|
{
|
|
|
|
this->NoCMakeSystemPath = true;
|
|
|
|
}
|
|
|
|
else if(arg == "NO_CMAKE_FIND_ROOT_PATH")
|
|
|
|
{
|
|
|
|
this->FindRootPathMode = RootPathModeNoRootPath;
|
|
|
|
}
|
|
|
|
else if(arg == "ONLY_CMAKE_FIND_ROOT_PATH")
|
|
|
|
{
|
|
|
|
this->FindRootPathMode = RootPathModeOnlyRootPath;
|
|
|
|
}
|
|
|
|
else if(arg == "CMAKE_FIND_ROOT_PATH_BOTH")
|
|
|
|
{
|
|
|
|
this->FindRootPathMode = RootPathModeBoth;
|
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
|
|
|
// The argument is not one of the above.
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
|
|
|
|
// The argument is one of the above.
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
|
|
|
|
//----------------------------------------------------------------------------
|
|
|
|
void cmFindCommon::AddPathSuffix(std::string const& arg)
|
|
|
|
{
|
|
|
|
std::string suffix = arg;
|
|
|
|
|
|
|
|
// Strip leading and trailing slashes.
|
|
|
|
if(suffix.empty())
|
|
|
|
{
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
if(suffix[0] == '/')
|
|
|
|
{
|
|
|
|
suffix = suffix.substr(1, suffix.npos);
|
|
|
|
}
|
|
|
|
if(suffix.empty())
|
|
|
|
{
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
if(suffix[suffix.size()-1] == '/')
|
|
|
|
{
|
|
|
|
suffix = suffix.substr(0, suffix.size()-1);
|
|
|
|
}
|
|
|
|
if(suffix.empty())
|
|
|
|
{
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Store the suffix.
|
|
|
|
this->SearchPathSuffixes.push_back(suffix);
|
|
|
|
}
|
|
|
|
|
|
|
|
//----------------------------------------------------------------------------
|
2008-06-09 23:08:59 +04:00
|
|
|
void cmFindCommon::AddUserPath(std::string const& p,
|
|
|
|
std::vector<std::string>& paths)
|
2008-01-17 17:02:31 +03:00
|
|
|
{
|
2008-06-06 02:20:16 +04:00
|
|
|
// We should view the registry as the target application would view
|
|
|
|
// it.
|
|
|
|
cmSystemTools::KeyWOW64 view = cmSystemTools::KeyWOW64_32;
|
|
|
|
cmSystemTools::KeyWOW64 other_view = cmSystemTools::KeyWOW64_64;
|
2009-09-30 21:45:14 +04:00
|
|
|
if(this->Makefile->PlatformIs64Bit())
|
2008-06-06 02:20:16 +04:00
|
|
|
{
|
2009-09-30 21:45:14 +04:00
|
|
|
view = cmSystemTools::KeyWOW64_64;
|
|
|
|
other_view = cmSystemTools::KeyWOW64_32;
|
2008-01-17 17:02:31 +03:00
|
|
|
}
|
|
|
|
|
2008-06-06 02:20:16 +04:00
|
|
|
// Expand using the view of the target application.
|
|
|
|
std::string expanded = p;
|
|
|
|
cmSystemTools::ExpandRegistryValues(expanded, view);
|
2014-03-11 03:04:11 +04:00
|
|
|
cmSystemTools::GlobDirs(expanded, paths);
|
2008-01-17 17:02:31 +03:00
|
|
|
|
2008-06-06 02:20:16 +04:00
|
|
|
// Executables can be either 32-bit or 64-bit, so expand using the
|
|
|
|
// alternative view.
|
|
|
|
if(expanded != p && this->CMakePathName == "PROGRAM")
|
2008-01-17 17:02:31 +03:00
|
|
|
{
|
2008-06-06 02:20:16 +04:00
|
|
|
expanded = p;
|
|
|
|
cmSystemTools::ExpandRegistryValues(expanded, other_view);
|
2014-03-11 03:04:11 +04:00
|
|
|
cmSystemTools::GlobDirs(expanded, paths);
|
2008-01-17 17:02:31 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
//----------------------------------------------------------------------------
|
2014-02-05 01:06:56 +04:00
|
|
|
void cmFindCommon::AddCMakePath(const std::string& variable)
|
2008-01-17 17:02:31 +03:00
|
|
|
{
|
|
|
|
// Get a path from a CMake variable.
|
|
|
|
if(const char* varPath = this->Makefile->GetDefinition(variable))
|
|
|
|
{
|
|
|
|
std::vector<std::string> tmp;
|
|
|
|
cmSystemTools::ExpandListArgument(varPath, tmp);
|
|
|
|
|
|
|
|
// Relative paths are interpreted with respect to the current
|
|
|
|
// source directory.
|
2008-06-06 02:20:16 +04:00
|
|
|
this->AddPathsInternal(tmp, CMakePath);
|
2008-01-17 17:02:31 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
//----------------------------------------------------------------------------
|
2008-06-06 02:20:16 +04:00
|
|
|
void cmFindCommon::AddEnvPath(const char* variable)
|
2008-01-17 17:02:31 +03:00
|
|
|
{
|
|
|
|
// Get a path from the environment.
|
|
|
|
std::vector<std::string> tmp;
|
|
|
|
cmSystemTools::GetPath(tmp, variable);
|
|
|
|
// Relative paths are interpreted with respect to the current
|
|
|
|
// working directory.
|
2008-06-06 02:20:16 +04:00
|
|
|
this->AddPathsInternal(tmp, EnvPath);
|
2008-01-17 17:02:31 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
//----------------------------------------------------------------------------
|
2008-06-06 02:20:16 +04:00
|
|
|
void cmFindCommon::AddPathsInternal(std::vector<std::string> const& in_paths,
|
|
|
|
PathType pathType)
|
2008-01-17 17:02:31 +03:00
|
|
|
{
|
|
|
|
for(std::vector<std::string>::const_iterator i = in_paths.begin();
|
|
|
|
i != in_paths.end(); ++i)
|
|
|
|
{
|
2008-06-06 02:20:16 +04:00
|
|
|
this->AddPathInternal(*i, pathType);
|
2008-01-17 17:02:31 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
//----------------------------------------------------------------------------
|
2008-06-06 02:20:16 +04:00
|
|
|
void cmFindCommon::AddPathInternal(std::string const& in_path,
|
|
|
|
PathType pathType)
|
2008-01-17 17:02:31 +03:00
|
|
|
{
|
|
|
|
if(in_path.empty())
|
|
|
|
{
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Select the base path with which to interpret relative paths.
|
|
|
|
const char* relbase = 0;
|
|
|
|
if(pathType == CMakePath)
|
|
|
|
{
|
|
|
|
relbase = this->Makefile->GetCurrentDirectory();
|
|
|
|
}
|
|
|
|
|
|
|
|
// Convert to clean full path.
|
|
|
|
std::string fullPath =
|
|
|
|
cmSystemTools::CollapseFullPath(in_path.c_str(), relbase);
|
|
|
|
|
2008-06-06 02:20:16 +04:00
|
|
|
// Insert the path if has not already been emitted.
|
|
|
|
if(this->SearchPathsEmitted.insert(fullPath).second)
|
2008-01-17 17:02:31 +03:00
|
|
|
{
|
2014-03-11 03:04:11 +04:00
|
|
|
this->SearchPaths.push_back(fullPath);
|
2008-01-17 17:02:31 +03:00
|
|
|
}
|
|
|
|
}
|
2008-06-09 19:57:56 +04:00
|
|
|
|
|
|
|
//----------------------------------------------------------------------------
|
2011-09-23 22:27:25 +04:00
|
|
|
void cmFindCommon::ComputeFinalPaths()
|
2008-06-09 19:57:56 +04:00
|
|
|
{
|
2011-09-23 22:27:25 +04:00
|
|
|
std::vector<std::string>& paths = this->SearchPaths;
|
|
|
|
|
|
|
|
// Expand list of paths inside all search roots.
|
|
|
|
this->RerootPaths(paths);
|
|
|
|
|
2008-06-09 19:57:56 +04:00
|
|
|
// Add a trailing slash to all paths to aid the search process.
|
|
|
|
for(std::vector<std::string>::iterator i = paths.begin();
|
|
|
|
i != paths.end(); ++i)
|
|
|
|
{
|
|
|
|
std::string& p = *i;
|
|
|
|
if(!p.empty() && p[p.size()-1] != '/')
|
|
|
|
{
|
|
|
|
p += "/";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2010-05-01 16:29:13 +04:00
|
|
|
|
|
|
|
//----------------------------------------------------------------------------
|
|
|
|
void cmFindCommon::SetMakefile(cmMakefile* makefile)
|
|
|
|
{
|
|
|
|
cmCommand::SetMakefile(makefile);
|
|
|
|
|
|
|
|
// If we are building for Apple (OSX or also iphone), make sure
|
|
|
|
// that frameworks and bundles are searched first.
|
|
|
|
if(this->Makefile->IsOn("APPLE"))
|
|
|
|
{
|
|
|
|
this->SearchFrameworkFirst = true;
|
|
|
|
this->SearchAppBundleFirst = true;
|
|
|
|
}
|
|
|
|
}
|