Home » U++ TheIDE » U++ TheIDE: Other Features Wishlist and/or Bugs » TheIDE support for Visual Studio Build Tools 2022?
Re: TheIDE support for Visual Studio Build Tools 2022? [message #57834 is a reply to message #57831] |
Mon, 20 December 2021 13:35   |
Lance
Messages: 656 Registered: March 2007
|
Contributor |
|
|
Hi Tom:
I could not get it work. But it's good to notice that MscBuilder.cpp also need to be revised.
Following is the lines that I have changed.
enum { VS_2015, VS_2017, BT_2017, VS_2019, VSP_2019, BT_2019, VS_2022, BT_2022 };
DirFinder df;
for(int version = VS_2015; version <= BT_2022; version++)
for(int x64 = 0; x64 < 2; x64++) {
String x86method = decode(version, VS_2015, "MSVS15",
VS_2017, "MSVS17", BT_2017, "MSBT17",
VS_2019, "MSVS19", VSP_2019, "MSVC19P",
BT_2019, "MSBT19",
VS_2022, "MSVS22",
BT_2022, "MSBT22",
"MSBT");
String x64s = x64 ? "x64" : "";
String method = x86method + x64s;
String builder = decode(version, VS_2015, "MSC15",
VS_2017, "MSC17", BT_2017, "MSC17",
VS_2019, "MSC19", VSP_2019, "MSC19", BT_2019, "MSC19",
VS_2022, "MSC22",
BT_2022, "MSC22",
"MSC22"
) + ToUpper(x64s);
......
if(version == VS_2015)
vc = df.Get("/microsoft visual studio 14.0/vc", "bin/cl.exe;bin/lib.exe;bin/link.exe;bin/mspdb140.dll");
else
vc = df.Get(decode(version, BT_2017, "/microsoft visual studio/2017/buildtools/vc/tools/msvc",
VS_2017, "/microsoft visual studio/2017/community/vc/tools/msvc",
BT_2019, "/microsoft visual studio/2019/buildtools/vc/tools/msvc",
VS_2019, "/microsoft visual studio/2019/community/vc/tools/msvc",
VSP_2019, "/microsoft visual studio/2019/professional/vc/tools/msvc",
VS_2022, "/microsoft visual studio/2022/community/vc/tools/msvc",
BT_2022, "/microsoft visual studio/2022/buildtools/vc/tools/msvc",
""),
x64 ? "bin/hostx64/x64/cl.exe;bin/hostx64/x64/mspdb140.dll"
: "bin/hostx86/x86/cl.exe;bin/hostx86/x86/mspdb140.dll");
Not sure what I have missed.
BTW, how do you develop IDE? I have to build it and overwrite my current \upp\theide.exe with newly generated one.
I installed VS Build Tools 2022, and could not get it work either. One interesting thing I noticed is that VS community is installed under "program files" while VS build tools 2022 is installed "program files (x86)". Not that it has anything to do with the problem I am having.
[Updated on: Mon, 20 December 2021 13:58] Report message to a moderator
|
|
|
 |
|
TheIDE support for Visual Studio Build Tools 2022?
By: Tom1 on Mon, 13 December 2021 10:04
|
 |
|
Re: TheIDE support for Visual Studio Build Tools 2022?
By: mirek on Sun, 19 December 2021 15:16
|
 |
|
Re: TheIDE support for Visual Studio Build Tools 2022?
By: Lance on Sun, 19 December 2021 15:44
|
 |
|
Re: TheIDE support for Visual Studio Build Tools 2022?
By: Lance on Sun, 19 December 2021 15:54
|
 |
|
Re: TheIDE support for Visual Studio Build Tools 2022?
By: Tom1 on Mon, 20 December 2021 09:26
|
 |
|
Re: TheIDE support for Visual Studio Build Tools 2022?
By: Lance on Mon, 20 December 2021 13:35
|
 |
|
Re: TheIDE support for Visual Studio Build Tools 2022?
By: Tom1 on Mon, 20 December 2021 14:17
|
 |
|
Re: TheIDE support for Visual Studio Build Tools 2022?
By: Lance on Mon, 20 December 2021 17:02
|
 |
|
Re: TheIDE support for Visual Studio Build Tools 2022?
By: Tom1 on Mon, 20 December 2021 17:58
|
 |
|
Re: TheIDE support for Visual Studio Build Tools 2022?
By: Tom1 on Tue, 21 December 2021 09:09
|
 |
|
Re: TheIDE support for Visual Studio Build Tools 2022?
By: mirek on Tue, 21 December 2021 09:26
|
 |
|
Re: TheIDE support for Visual Studio Build Tools 2022?
By: Tom1 on Tue, 21 December 2021 09:44
|
 |
|
Re: TheIDE support for Visual Studio Build Tools 2022?
By: Klugier on Tue, 21 December 2021 12:56
|
 |
|
Re: TheIDE support for Visual Studio Build Tools 2022?
By: Tom1 on Tue, 21 December 2021 13:15
|
 |
|
Re: TheIDE support for Visual Studio Build Tools 2022?
By: mirek on Thu, 23 December 2021 08:25
|
 |
|
Re: TheIDE support for Visual Studio Build Tools 2022?
By: Klugier on Thu, 23 December 2021 11:42
|
 |
|
Re: TheIDE support for Visual Studio Build Tools 2022?
By: Tom1 on Thu, 23 December 2021 12:58
|
 |
|
Re: TheIDE support for Visual Studio Build Tools 2022?
By: Tom1 on Thu, 23 December 2021 13:08
|
 |
|
Re: TheIDE support for Visual Studio Build Tools 2022?
By: Klugier on Thu, 23 December 2021 15:20
|
 |
|
Re: TheIDE support for Visual Studio Build Tools 2022?
By: Tom1 on Thu, 23 December 2021 17:07
|
 |
|
Re: TheIDE support for Visual Studio Build Tools 2022?
By: Klugier on Thu, 23 December 2021 17:35
|
 |
|
Re: TheIDE support for Visual Studio Build Tools 2022?
By: Tom1 on Mon, 20 December 2021 09:08
|
 |
|
Re: TheIDE support for Visual Studio Build Tools 2022?
By: mirek on Mon, 20 December 2021 09:40
|
 |
|
Re: TheIDE support for Visual Studio Build Tools 2022?
By: Tom1 on Mon, 20 December 2021 10:17
|
Goto Forum:
Current Time: Fri Jul 18 11:12:52 CEST 2025
Total time taken to generate the page: 0.02815 seconds
|