summaryrefslogtreecommitdiff
path: root/www/index.html
diff options
context:
space:
mode:
authorDan Albert <danalbert@google.com>2014-07-03 19:35:48 +0000
committerDan Albert <danalbert@google.com>2014-07-03 19:35:48 +0000
commite11c1a7accabb346cbb6df59681675fe3f8d8ccb (patch)
treebe532fad9d917aaf615382a008dac27f80cc5ffe /www/index.html
parentc80d814b51396e510b42d5833b765a58c8a1aa6e (diff)
Add a cmake build system.
Will add support for tests with lit in a later patch. This does not yet support building the unwinder in src/Unwind. git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@212286 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'www/index.html')
-rw-r--r--www/index.html17
1 files changed, 17 insertions, 0 deletions
diff --git a/www/index.html b/www/index.html
index a174afd..e7937fb 100644
--- a/www/index.html
+++ b/www/index.html
@@ -79,6 +79,23 @@
<li><code>svn co http://llvm.org/svn/llvm-project/libcxxabi/trunk libcxxabi</code></li>
</ul>
+ <p>To build:</p>
+ <ul>
+ <li>Check out libcxxabi into <code>llvm/projects</code></li>
+ <li><code>cd llvm</code></li>
+ <li><code>mkdir build &amp;&amp; cd build</code></li>
+ <li><code>cmake .. # on linux you may need to prefix with CC=clang CXX=clang++</code></li>
+ <li><code>make</code></li>
+ </ul>
+
+ <p>To do a standalone build:</p>
+ <ul>
+ <li><code>cd libcxxabi</code></li>
+ <li><code>mkdir build &amp;&amp; cd build</code></li>
+ <li><code>cmake -DLIBCXXABI_LIBCXX_INCLUDES=path/to/libcxx/include .. # on linux you may need -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++</code></li>
+ <li><code>make</code></li>
+ </ul>
+
<p>Send discussions to the
(<a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev">clang mailing list</a>).</p>