mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-05-03 08:30:47 +03:00
24 lines
687 B
C++
24 lines
687 B
C++
//===-- gen/programs.h - External tool discovery ----------------*- C++ -*-===//
|
||
//
|
||
// LDC – the LLVM D compiler
|
||
//
|
||
// This file is distributed under the BSD-style LDC license. See the LICENSE
|
||
// file for details.
|
||
//
|
||
//===----------------------------------------------------------------------===//
|
||
//
|
||
// Functions for discovering the external tools used for linking, etc.
|
||
//
|
||
//===----------------------------------------------------------------------===//
|
||
|
||
#ifndef LDC_GEN_PROGRAMS_H
|
||
#define LDC_GEN_PROGRAMS_H
|
||
|
||
#include <string>
|
||
|
||
std::string getProgram(const char *name, const char *envVar = nullptr);
|
||
|
||
std::string getGcc();
|
||
std::string getArchiver();
|
||
|
||
#endif
|