1 //===--- DependencyOutputOptions.h ------------------------------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 #ifndef LLVM_CLANG_FRONTEND_DEPENDENCYOUTPUTOPTIONS_H
11 #define LLVM_CLANG_FRONTEND_DEPENDENCYOUTPUTOPTIONS_H
18 /// DependencyOutputOptions - Options for controlling the compiler dependency
20 class DependencyOutputOptions {
22 unsigned IncludeSystemHeaders : 1; ///< Include system header dependencies.
23 unsigned UsePhonyTargets : 1; ///< Include phony targets for each
24 /// dependency, which can avoid some 'make'
27 /// The file to write depencency output to.
28 std::string OutputFile;
30 /// A list of names to use as the targets in the dependency file; this list
31 /// must contain at least one entry.
32 std::vector<std::string> Targets;
35 DependencyOutputOptions() {
36 IncludeSystemHeaders = 0;
41 } // end namespace clang