[cfe-dev] Building with cmake
James Molloy
james at jamesmolloy.co.uk
Wed May 29 01:17:31 PDT 2013
Hi Daniel,
>From memory, the alternative would be:
cmake -DCMAKE_C_COMPILER=/path/to/c/compiler -DCMAKE_BUILD_TYPE=Release
/path/to/llvm/source/tree
make
make install
CMake detects the C++ compiler if you give it a C compiler. You may want to
add -DASSERTS=1 to enable asserts.
Cheers,
James
On 29 May 2013 08:55, Daniel B Mosesson <dmosess1 at binghamton.edu> wrote:
> Currently, I build with:
> ../.../configure --with-gcc-toolchain=/path/to/gcc/toolchain
> --enable-optimized
> make
> make install
>
> I now wish to use Cmake.
>
> Is there a reference as to the cmake alternatives for these options?
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20130529/5f741dce/attachment.html>
More information about the cfe-dev
mailing list