[cfe-dev] Some problem with CMake when importing the project to CLion

陈楚阳 via cfe-dev cfe-dev at lists.llvm.org
Tue Sep 1 00:41:32 PDT 2020


I use CLion with WSL to import Clang's CMake project, but it gives an error while generating the project configuration as shown by the first image. And the code at the error place is as the second image. It's a function defined in llvm/cmake/modules/AddLLVM.cmake. I don't know why this happened because it seems that in clang/CMakeLists.txt the module "AddLLVM" has been included as the third image. I'm not familiar with CMake and thanks for any help.






--------------------------
Chuyang Chen
MSc Student
Department of Computer Science and Technology, Nanjing University
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20200901/7b0ae89b/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 8F3875E4-105F-46D2-A1EA-DF581B559BE3.png
Type: image/png
Size: 25883 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20200901/7b0ae89b/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: B01DA8F2-C439-4047-8CE2-5163E9EA314D.png
Type: image/png
Size: 14525 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20200901/7b0ae89b/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 8C824172-96B5-4503-8BCB-7BB88482D334.png
Type: image/png
Size: 16082 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20200901/7b0ae89b/attachment-0005.png>


More information about the cfe-dev mailing list