[cfe-users] libcxx.llvm.org linux build instructions unclear
benpope81 at gmail.com
Tue Jul 8 22:23:29 PDT 2014
On Wednesday, July 09, 2014 02:48 AM, Larry Evans wrote:
> The instructions on:
> We can now run CMake:
> CC=clang CXX=clang++ cmake -G "Unix Makefiles"
> -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr <libc++-source-dir>
> however, it does not say what to put for <libc++-source-dir>
> or in which directory this command is to be run. One might
> guess this command is to be run inb the directory where the buildit
> script is located, because that's what the earlier instructions
> (for Mac OS) were run from; however, that's not at all clear.
CMake encourages out of source build.
You run CMake in your build directory and you point it to your source
diectory (the one with CMakeLists.txt).
More information about the cfe-users