title: Can I use .clang-tidy file with CMakeList.txt?
body: <p>I have linked clang for my cpp project with CMakeLists.txt with</p>
  
  <pre><code>set(CMAKE_CXX_CLANG_TIDY "clang-tidy;-checks=google-*,cppcoreguidelines-*")
  </code></pre>
  
  <p>Since, I would like to move all the clang config to a file, I googled little bit
  and found that there is .clang-tidy file for this usage.</p>
  
  <p>However, I wasn't able to configure CMakeList.txt to actually use this file.</p>
  
  <p>Can anyone tell me how I should change that line in CMakeList.txt to link it with .clang-tidy file?</p>