Displaying 1 result from an estimated 1 matches for "dcmake_eclipse_version".
2015 Sep 17
2
Problems building LLVMHello, spaces in path
I recently had a problem creating LLVMHello.
I used this CMake file
#!/bin/sh
# clangcmake.sh
cmake -G "Eclipse CDT4 - Unix Makefiles" -DLLVM_TARGETS_TO_BUILD="X86"
-DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DCMAKE_BUILD_TYPE="Debug"
-DCMAKE_ECLIPSE_VERSION=4.5 -DCMAKE_CXX_COMPILER=clang++
-DCMAKE_C_COMPILER=clang ../llvm
then I ran
make LLVMHello
and the build failed on an error about LLVMHello.export
The problem turned out to be that the parent directory path had a
space in one of the folder names.
I removed the space and now LLVMHello build...