I am using cmake-gui ,before Configuring I need to select the generator for this project,However I can't not find Visual Studio in all options ,how can I add Visual Studio for me to choose. Thanks.
Asked
Active
Viewed 428 times
0
-
Do you ever have Visual Studio installed in your system? – Tsyvarev Nov 18 '20 at 10:09
-
Do you mean Visual Studio code? If that's what you mean,the answer is yes. – Pro_gram_mer Nov 18 '20 at 10:13
-
No, **Visual Studio Code** is not a replacement for **Visual Studio** and cannot be used for build projects which are configured for Visual Studio. You need to install Visual Studio for use corresponding CMake generators. – Tsyvarev Nov 18 '20 at 10:19
-
Is it possible to install on Linux? – Pro_gram_mer Nov 18 '20 at 10:23
-
I don't know whether Visual Studio can be installed on Linux. But Linux has other good options for CMake generators, e.g `Unix Makefiles` or `Ninja`. – Tsyvarev Nov 18 '20 at 10:26
-
ok,got it !Thanks – Pro_gram_mer Nov 18 '20 at 10:27
-
Seems like there is CMake integration for Visual Studio Code: https://code.visualstudio.com/docs/cpp/cmake-linux – fabian Nov 18 '20 at 20:14