GoingNative 56: CMake in Visual Studio

Download this episode

Download Video

Download captions

Download Captions

Description

In this episode, Marian Luparu and Iyyappa Murugandi chat with Steve about CMake support in Visual Studio. Download the latest version of Visual Studio 2017 and try it out!

For more information go to http://aka.ms/cmake.

Timestamps:

[ 00:10 ]  Intro
[ 01:25 ]  What is CMake?
[ 02:29 ]  Current state of CMake in Visual Studio
[ 05:46 ]  Why CMake?
[ 07:10 ]  Demo
[ 14:08 ]  How does it work?
[ 16:00 ]  CMake and Open Folder
[ 17:21 ]  What are we hearing from the community and future work
[ 21:26 ]  Call to action

 

Tag:

C++

Embed

Format

Available formats for this video:

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

    The Discussion

    • User profile image
      FooBar

      Are you using cmake server-mode as shipped in cmake 3.7 or are you still using the experimental patches from Stephen?

    • User profile image
      Florent

      I remember sometime ago reading that the FOLDER property on targets and source_group() calls were not supported by the CMake integration in Visual Studio.
      Has this been fixed?

      It's quite mandatory to support it in order to have large projects loaded and have them neatly organized. Otherwise, it would be very hard and inconvenient to use.

    • User profile image
      mluparu

      @Florent - thanks for your input. We are considering providing a logical targets view in addition to the current disk view. 

    • User profile image
      Florent

      What do you mean with "logical targets view"?

      I'm just asking about the FOLDER property and source_group(). Should those be set in the CMake project, they need to be supported by the IDE.

      The FOLDER property should be easy, it's a property you can read easily on the server mode side. Source groups aren't setting any property currently but that could be changed in upstream CMake easily, then read on your side.

    • User profile image
      Gosh

      How about OpenGL support, you know, the industry standard, in the same manner as your DirectX tools. Yet another thing you reluctantly don't want to support like all the other standards like C++. DirectX can't hold a candle to OpenGL and it never will. Closed source nonsense.

    • User profile image
      Paul

      Great news!
      Does this mean I can now use conan.io with VS and let that resolve dependencies?

    • User profile image
      Iyyappa Murugandi

      @FooBar, For VS2017 RTW we are using the experimental daemon mode from Stephen Kelly.
      Next update of VS 2017 will use CMake server-mode with some updates which are not in 3.7.

    Add Your 2 Cents