# How to specify GNU-like Clang for \`Visual Studio 16 2019\` generator?

**URL:** https://discourse.cmake.org/t/how-to-specify-gnu-like-clang-for-visual-studio-16-2019-generator/6639
**Category:** Code
**Tags:** os:windows, comp:clang, gen:vs
**Created:** [October 11, 2022, 7:00am UTC](https://discourse.cmake.org/t/how-to-specify-gnu-like-clang-for-visual-studio-16-2019-generator/6639 "2022-10-11T07:00:26Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![ben.boeckel](https://discourse.cmake.org/letter_avatar_proxy/v4/letter/b/ea5d25/32.png) [@ben.boeckel](https://discourse.cmake.org/u/ben.boeckel)
#### Post date: [October 11, 2022, 4:49pm UTC](https://discourse.cmake.org/t/how-to-specify-gnu-like-clang-for-visual-studio-16-2019-generator/6639/2 "2022-10-11T16:49:06Z")

</div>

I don’t think there’s a Visual Studio toolchain configuration for those toolchains. Well, there might be, but Visual Studio kind of assumes a `cl`-like command line interface IIRC. The closest thing you can do is use the `Ninja` generator and use Visual Studio’s CMake integration.

---

_[View the full topic](https://discourse.cmake.org/t/how-to-specify-gnu-like-clang-for-visual-studio-16-2019-generator/6639)._
