[NFC][CMake] Add FOLDER to utility targets
authorChris Bieneman <chris.bieneman@me.com>
Mon, 3 Jan 2022 17:52:44 +0000 (11:52 -0600)
committerChris Bieneman <chris.bieneman@me.com>
Mon, 3 Jan 2022 18:16:30 +0000 (12:16 -0600)
commita44ef999fb5e9243df9c4459df1b17b66aa3fd23
treed4ea507b92af5e23e4166845bbb7aeca1dd43f49
parent361216f3c4812e4359b576c8912ccf828c4d02f0
[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
integration.
llvm/cmake/modules/AddLLVM.cmake
llvm/test/CMakeLists.txt