<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Hi everybody, <br>
<br>
I'm trying to build my own project that use LLVM. I downloaded the
source code and the pre-compiled package on the official web site
(last version):<br>
<br>
<a class="moz-txt-link-freetext" href="http://releases.llvm.org/download.html">http://releases.llvm.org/download.html</a><br>
<br>
I downloaded the following :<br>
<br>
LLVM source code<br>
Clang for Windows (64-bit)<br>
<br>
FYI, I don't build LLVM... only want to use it !<br>
<br>
I followed the instruction here (
<a class="moz-txt-link-freetext" href="http://llvm.org/docs/CMake.html#embedding-llvm-in-your-project">http://llvm.org/docs/CMake.html#embedding-llvm-in-your-project</a> ),
in the section : "Embedding LLVM in your project".<br>
<br>
So, I added this code into my cmake file :<br>
<br>
find_package(LLVM REQUIRED CONFIG)<br>
message(STATUS "Found LLVM ${LLVM_PACKAGE_VERSION}")<br>
message(STATUS "Using LLVMConfig.cmake in: ${LLVM_DIR}")<br>
message("LLVM_INCLUDE_DIRS=${LLVM_INCLUDE_DIRS}")<br>
message("LLVM_DEFINITIONS=${LLVM_DEFINITIONS}")<br>
<br>
But I got several cmake error messages, here is my output :<br>
<br>
-- Using LLVMConfig.cmake in:
C:\\Luciad_src\\libs\\LLVM\\cmake\\modules<br>
LLVM_INCLUDE_DIRS=<br>
LLVM_DEFINITIONS=<br>
CMake Error at
C:/Luciad_src/libs/LLVM/cmake/modules/LLVM-Config.cmake:31 (list):<br>
list sub-command REMOVE_ITEM requires two or more arguments.<br>
Call Stack (most recent call first):<br>
C:/Luciad_src/libs/LLVM/cmake/modules/LLVM-Config.cmake:256
(is_llvm_target_library)<br>
components/query/CMakeLists.txt:15
(llvm_map_components_to_libnames)<br>
<br>
Is there a problem with my script, or the packages I use ? Any
idea ?<br>
<br>
Thanks for your help<br>
</p>
<div class="moz-signature">-- <br>
<meta charset="utf-8">
<title>Luciad Email Signature</title>
<span class="name" style="font-family: Arial, Helvetica,
sans-serif;font-size: 10pt;color: #6B7D82;text-transform:
uppercase;"><strong>
Christophe Demez
</strong></span><br>
<span class="title" style="font-family: Arial, Helvetica,
sans-serif;font-size: 9pt;color: #6B7D82;text-transform:
uppercase;">
PROJECT LEADER
</span> <span class="half-line" style="line-height:2px;"> <br>
<br>
</span> <span class="links" style="color: #6B7D82;font-family:
Arial, Helvetica, sans-serif;font-size: 9pt;"><a
href="http://www.luciad.com/" target="_blank" style="color:
#6B7D82;font-family: Arial, Helvetica, sans-serif;font-size:
10pt;font-weight: 400;text-decoration: none;"><strong>LUCIAD</strong></a></span><span
class="normal" style="font-family: Arial, Helvetica,
sans-serif;font-size: 9pt;font-weight: 400;color: #6B7D82;">
CONNECT <span class="normal" style="font-family: Arial,
Helvetica, sans-serif;font-size:
9pt;font-weight: 400;color: #6B7D82;">• VISUALIZE <span
class="normal" style="font-family: Arial, Helvetica,
sans-serif;font-size: 9pt;font-weight: 400;color: #6B7D82;">•</span>
ANALYZE <span class="normal" style="font-family: Arial,
Helvetica, sans-serif;font-size: 9pt;font-weight: 400;color:
#6B7D82;">•</span>
ACT</span></span> <span class="half-line"
style="line-height:2px;"> <br>
<br>
</span> <span class="links" style="color: #6B7D82;font-family:
Arial, Helvetica, sans-serif;font-size: 9pt;font-weight: 400;">
<a href="mailto:christophe.demez@luciad.com" style="color:
#6B7D82;font-family: Arial, Helvetica, sans-serif;font-size:
9pt;font-weight: 400;text-decoration: none;">
christophe.demez@luciad.com
</a> </span> <span class="normal" style="font-family: Arial,
Helvetica, sans-serif;font-size: 9pt;font-weight: 400;color:
#6B7D82;">• </span><span class="normal" style="font-family:
Arial, Helvetica, sans-serif;font-size: 9pt;font-weight:
400;color: #6B7D82;"> T </span><span class="number"
style="font-family: Tahoma, Arial sans-serif;font-size:
9pt;font-weight: 200;color: #6B7D82;">
+32 16 23 95 91
</span><br>
<span class="normal" style="font-family: Arial, Helvetica,
sans-serif;font-size: 9pt;font-weight: 400;color: #6B7D82;">Follow
us on </span><span class="links" style="color:
#6B7D82;font-family: Arial, Helvetica, sans-serif;font-size:
9pt;font-weight: 400;"><a
href="https://www.linkedin.com/company/luciad" style="color:
#6B7D82;font-family: Arial, Helvetica, sans-serif;font-size:
9pt;font-weight: 400;text-decoration: none;">LinkedIn</a></span><span
class="normal" style="font-family: Arial, Helvetica,
sans-serif;font-size:
9pt;font-weight: 400;color: #6B7D82;"> or </span><span
class="links" style="color: #6B7D82;font-family: Arial,
Helvetica, sans-serif;font-size: 9pt;font-weight: 400;"><a
href="http://www.twitter.com/LUCIADconnect" style="color:
#6B7D82;font-family: Arial, Helvetica, sans-serif;font-size:
9pt;font-weight: 400;text-decoration: none;">@LUCIADconnect</a></span>
<span class="half-line" style="line-height:2px;"> <br>
<br>
</span> <img
src="http://www.luciad.com/files/images/luciad-logo.png"
alt="Luciad"> </div>
</body>
</html>