-
-
Notifications
You must be signed in to change notification settings - Fork 267
/
Copy pathvsoptions.h
34 lines (28 loc) · 1.03 KB
/
vsoptions.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
/* Compiler implementation of the D programming language
* Copyright (C) 2009-2025 by The D Language Foundation, All Rights Reserved
* written by Walter Bright
* https://www.digitalmars.com
* Distributed under the Boost Software License, Version 1.0.
* https://www.boost.org/LICENSE_1_0.txt
* https://github.com/dlang/dmd/blob/master/src/dmd/vsoptions.h
*/
#pragma once
#ifdef _WIN32
struct VSOptions
{
const char *WindowsSdkDir = nullptr;
const char *WindowsSdkVersion = nullptr;
const char *UCRTSdkDir = nullptr;
const char *UCRTVersion = nullptr;
const char *VSInstallDir = nullptr;
const char *VCInstallDir = nullptr;
const char *VCToolsInstallDir = nullptr; // used by VS 2017+
void initialize();
const char *getVCBinDir(bool x64, const char *&addpath) const;
const char *getVCLibDir(bool x64) const;
const char *getVCIncludeDir() const;
const char *getUCRTLibPath(bool x64) const;
const char *getSDKLibPath(bool x64) const;
const char *getSDKIncludePath() const;
};
#endif // _WIN32