Re: [RFH] CMake: detect if being run via Visual Studio, independent of build generator?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



(resending because client reconfigured to not use plaintext)

Reading through the documentation, Visual Studio seems to support
CmakePresets.json [1] for handling configuration of cmake options.  It
might be worth it to keep the defaults as is. But provide a variable
for forcing vcpkg and a CMakePresets.json for Visual Studio
(and other such tools) to use.

This is nice since Visual Studio users wouldn't need to rely on the
slower Visual Studio * generators to run their builds, while leaving
non Visual Studio users still able to easily run builds.  So maybe there's
a way for everyone to be happy?

1: https://devblogs.microsoft.com/cppblog/cmake-presets-integration-in-visual-studio-and-visual-studio-code/

-- 
Matthew Rogers



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux