[all-commits] [llvm/llvm-project] a44ef9: [NFC][CMake] Add FOLDER to utility targets

Chris B via All-commits all-commits at lists.llvm.org
Mon Jan 3 10:16:59 PST 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a44ef999fb5e9243df9c4459df1b17b66aa3fd23
  Author: Chris Bieneman <chris.bieneman at me.com>
  Date:   2022-01-03 (Mon, 03 Jan 2022)

  Changed paths:
    M llvm/cmake/modules/AddLLVM.cmake
    M llvm/test/CMakeLists.txt

  Log Message:
  [NFC][CMake] Add FOLDER to utility targets

As Visual Studio's CMake support is getting better and better the line
between IDE generator and non-IDE generators is blurring. Visual Studio
2019 and later have a very useful UI that can handle all of the various
targets we create, but if they are unsorted it is wildly unwieldy.

This change sorts the lit testsuite targets and per-component install
targets into folders, which are not generated for IDE generators but
are generated by default under Visual Studio's CMake + Ninja

More information about the All-commits mailing list