Files
swift-mirror/include/swift/AST/SearchPathOptions.h
Doug Gregor 5698fd3b8a Don't look in the standard import locations when building the core standard library.
This is a better way to fix the Darwin overlay <-> swift_stdlib_core
inferred circular dependency <rdar://problem/16603168>.

Swift SVN r16476
2014-04-17 22:07:48 +00:00

49 lines
1.4 KiB
C++

//===--- SearchPathOptions.h ------------------------------------*- C++ -*-===//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2015 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See http://swift.org/LICENSE.txt for license information
// See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
//
//===----------------------------------------------------------------------===//
#ifndef SWIFT_AST_SEARCHPATHOPTIONS_H
#define SWIFT_AST_SEARCHPATHOPTIONS_H
#include <string>
#include <vector>
namespace swift {
/// Options for controlling search path behavior.
class SearchPathOptions {
public:
/// Path to the SDK which is being built against.
std::string SDKPath;
/// Path(s) which should be searched for modules.
std::vector<std::string> ImportSearchPaths;
/// Path(s) which should be searched for frameworks.
std::vector<std::string> FrameworkSearchPaths;
/// Path to search for compiler-relative header files.
std::string RuntimeResourcePath;
/// Path to search for compiler-relative stdlib dylibs.
std::string RuntimeLibraryPath;
/// Path to search for compiler-relative stdlib modules.
std::string RuntimeLibraryImportPath;
/// Don't look in for compiler-provided modules.
bool SkipRuntimeLibraryImportPath = false;
};
}
#endif