mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-05-10 12:59:21 +03:00
24 lines
777 B
C++
24 lines
777 B
C++
//===-- driver/tool.h - External tool invocation helpers ---------*- C++ -*-===//
|
||
//
|
||
// LDC – the LLVM D compiler
|
||
//
|
||
// This file is distributed under the BSD-style LDC license. See the LICENSE
|
||
// file for details.
|
||
//
|
||
//===----------------------------------------------------------------------===//
|
||
//
|
||
// Functionaliy for invoking external tools executables, such as the system
|
||
// assembler, linker, ...
|
||
//
|
||
//===----------------------------------------------------------------------===//
|
||
|
||
#ifndef LDC_DRIVER_TOOL_H
|
||
#define LDC_DRIVER_TOOL_H
|
||
|
||
#include "llvm/Support/PathV1.h"
|
||
#include <vector>
|
||
#include <string>
|
||
|
||
int executeToolAndWait(llvm::sys::Path tool, std::vector<std::string> const & args, bool verbose = false);
|
||
|
||
#endif
|