Skip to content

Latest commit

 

History

History
32 lines (26 loc) · 1.49 KB

File metadata and controls

32 lines (26 loc) · 1.49 KB
title Create a new C++ Linux project in Visual Studio | Microsoft Docs
ms.custom
ms.date 11/15/2017
ms.reviewer
ms.suite
ms.technology
cpp-linux
ms.tgt_pltfrm
ms.topic article
ms.assetid 5d7c1d67-bc31-4f96-8622-2b4cf91372fd
author corob-msft
ms.author corob
manager ghogen

Create a New Linux Project

When coding for Linux, you have the choice of creating a Visual Studio project, or a CMake project. This topic describes how to create a Visual Studio project. For information about CMake Projects, see Configure a Linux CMake Project .

To create a new Linux project in Visual Studio, do the following:

  1. Select File > New Project in Visual Studio, or press Ctrl + Shift + N.

  2. Select the Visual C++ > Cross Platform > Linux node and then select the project type you would like to create, enter a Name/Location, and click OK.

    New Linux Project

    Project Type Description
    Blink (Raspberry) Project targeted for a Raspberry Pi device with sample code written to blink an LED
    Console Application (Linux) Project targeted for any Linux computer with sample code written to output text to the console
    Empty Project (Linux) Project targeted for any Linux computer with no sample code written
    Makefile Project (Linux) Project targeted for any Linux computer which will be built using a standard Makefile build system