CMake support in Visual Studio 2017

Download this episode

Download Video

Description

Visual Studio 2017 adds built-in support for CMake. Watch this video to learn more about how the latest Visual Studio release fundamentally changes the way you interact with your CMake projects and your source code from the IDE.

To learn more about this, visit https://aka.ms/cmake

Day:

0

Session Type:

On-demand

Code:

129

Embed

Format

Available formats for this video:

Actual format may change based on video formats available and browser capability.

    The Discussion

    • User profile image
      DJLeach

      Is there a way to set the debug working directory? I have dependencies that are obviously not in the build output folder.

    • User profile image
      Marian Luparu [MSFT]

      @DJLeach, you can customize the working directory for your debug session, by specifying "currentDir": "<yourfolder>" in one of your debug configurations inside the launch.vs.json file. HTH

    • User profile image
      LordDrako

      Will VS 2017 have syntax highlighting and intellisense for the CMakeLists.txt when released?

    • User profile image
      Tarmo Pikaro

      Hi !

      I'm working on tool syncProj, which somehow resembles cmake project generator, but it's based on C# programming language and if necessary it can be really debugged with intellisense turned on.

      Initial documentation on subject:

      https://docs.google.com/document/d/1C1YrbFUVpTBXajbtrC62aXru2om6dy5rClyknBj5zHU/edit

      Currently I'm trying to configure C++ project, and script itself is written in C# language, and because it's defined as custom build step, all visual studio is able to display is just a code syntax hi-lightning. Meanwhile intellisense kicks in only after you open C# script via C# / script editor.

      Would it be possible to get intellisense supported even for custom defined tool ?

    Add Your 2 Cents