You can use Visual Studio for your C++ cross platform development when using CMake without needing to create or generate Visual Studio projects. Just open the folder with your sources in Visual Studio (File > Open Folder ).
Active2 years, 1 month ago
It seems like I'm not able to create a C++ console application using Visual Studio on macOS.
I did a little bit of research and seems that this isn't possible on macOS yet.
Is there some package I can install to make it possible?
Josiah CoadJosiah Coad
1 Answer
Visual Studio for Mac is basically a re-branded Xamarin Studio. it currently only supports C# and F# from the looks of it. (Silly, I know)
Robert FrenchRobert French
Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.
Not the answer you're looking for? Browse other questions tagged c++macosvisual-studio or ask your own question.
Use Visual Studio 2019 to target Windows, Linux, Android, and iOS to create apps, games, and more, taking advantage of market-leading debugging and productivity tools to get work done quickly.
C/C++ is NOT supported on Visual Studio for Mac.
To see what languages are supported, click here
CMake, Clang, mingw, and more
Open a codebase from any environment and get to work right away. Use MSBuild with the Microsoft Visual C++ compiler or a 3rd party toolset like CMake with Clang or mingw to build and debug your code right in the IDE. Benefit from a first-class CMake experience.
The best way to target Windows
Design and build classic Windows desktop programs or Universal Windows apps targeting HoloLens, Surface Hub, PC, and Xbox with the Microsoft Visual C++ toolset and the Visual Studio 2019.
Build apps using C++11, C++14, and C++17
Enjoy support for C++11, C++14 and many C++17 features with market leading performance, build throughput and security. Visual studio for mac tutorial. Write code using the power of generic lambda expressions, resumable functions, decltype (auto), extended constexpr and C++ attributes, fold expressions, noexcept in type system, inline variables and other modern features.
Write Linux apps and debug them in real-time
Take advantage of powerful coding and debugging tools to manage code targeting Linux built with GCC, Clang, or another compiler. Debug your Linux applications as they run remotely with GDB. Whether you are building IoT apps or high-performance computing cloud services for Linux, Visual Studio will help you be productive.
Target Android and iOS while staying productive
Leverage the power of Visual Studio 2019 and the debugger to build high-performance Android and/or iOS apps and games in C++, share C++ libraries to target both mobile platforms and Windows, or write once and run across all mobile platforms with Xamarin and C++.
Join the many AAA top game studios already using Visual StudioVisual Studio For Mac Ios
Create high-performance games with DirectX to run on Windows devices, or build cross-platform games with a top game engine, such as Unity, Unreal, and Cocos. Join the many wildly-successful game studios that already use Visual Studio to boost your productivity with Visual Studio 2019 and the world-class debugger.
Write the best, bug-free code
Do all the basics like setting breakpoints and stepping through your code, then get more advanced with variable visualization, performance profiling, debugging any local or remote process, and multi-threaded application debugging. Run to click, edit your live code and continue executing without having to rebuild.
Browse, edit, and improve your code quickly
Visualize your code with syntax colorization, guidelines, code tooltips, Class View, or Call Hierarchy. Navigate to any code symbol by reference, definition, declaration, and more. Autocomplete your code as you type, quickly repair problems, and refactor your code to your needs. Analyze your code for common issues. Save time that could be better spent.
Free, fully-featured IDE for students, open-source and individual
developers Visual C++ For Mac
Professional developer tools, services, and subscription benefits for small
teams
End-to-end solution to meet demanding quality and scale needs of teams of all
sizes Comments are closed.
|
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |