I'm new to LLVM and also new to Cmake. I've checked out multiple LLVM projects including clang (see below for list of projects checked out). I made the build directory.
My question has three possible answers - A,B, or C, but if the answer is neither of those 3 can you please describe in detail what the correct answer is. My question is this, "Can I run cmake (A) with the path ONLY to the root of the LLVM project to build ALL of the projects I checked out, or (B) do I have to supply the path to the root of all the projects I checked out to cmake at once, or (C) do I run cmake multiple times in succession with a new path each time to the respective project I am building" Thank you in advance #. Checkout LLVM: * ``cd where-you-want-llvm-to-live`` * ``svn co http://llvm.org/svn/llvm-project/llvm/trunk llvm`` #. Checkout Clang: * ``cd where-you-want-llvm-to-live`` * ``cd llvm/tools`` * ``svn co http://llvm.org/svn/llvm-project/cfe/trunk clang`` #. Checkout LLD linker **[Optional]**: * ``cd where-you-want-llvm-to-live`` * ``cd llvm/tools`` * ``svn co http://llvm.org/svn/llvm-project/lld/trunk lld`` #. Checkout Polly Loop Optimizer **[Optional]**: * ``cd where-you-want-llvm-to-live`` * ``cd llvm/tools`` * ``svn co http://llvm.org/svn/llvm-project/polly/trunk polly`` #. Checkout Compiler-RT (required to build the sanitizers) **[Optional]**: * ``cd where-you-want-llvm-to-live`` * ``cd llvm/projects`` * ``svn co http://llvm.org/svn/llvm-project/compiler-rt/trunk compiler-rt`` #. Checkout Libomp (required for OpenMP support) **[Optional]**: * ``cd where-you-want-llvm-to-live`` * ``cd llvm/projects`` * ``svn co http://llvm.org/svn/llvm-project/openmp/trunk openmp`` #. Checkout libcxx and libcxxabi **[Optional]**: * ``cd where-you-want-llvm-to-live`` * ``cd llvm/projects`` * ``svn co http://llvm.org/svn/llvm-project/libcxx/trunk libcxx`` * ``svn co http://llvm.org/svn/llvm-project/libcxxabi/trunk libcxxabi``
_______________________________________________ cfe-users mailing list cfe-users@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-users