Lines Matching +full:cmake +full:- +full:3
41 --------
44 approximately 3GB.
47 --------
50 You will also need the `CMake <http://www.cmake.org/>`_ build system since it
51 generates the project files you will use to build with. CMake 2.8.12.2 is the
53 version of CMake is recommended.
69 3. Remember that you were warned twice about reading the documentation.
74 1. ``cd <where-you-want-llvm-to-live>``
75 2. ``gunzip --stdout llvm-VERSION.tar.gz | tar -xvf -``
77 3. ``cd llvm``
81 1. ``cd <where-you-want-llvm-to-live>``
82 2. ``svn co http://llvm.org/svn/llvm-project/llvm/trunk llvm``
83 3. ``cd llvm``
85 5. Use `CMake <http://www.cmake.org/>`_ to generate up-to-date project files:
87 * Once CMake is installed then the simplest way is to just start the
88 CMake GUI, select the directory where you have LLVM extracted to, and
96 * If CMake complains that it cannot find the compiler, make sure that
100 * See the :doc:`LLVM CMake guide <CMake>` for detailed information about
102 * CMake generates project files for all build types. To select a specific
109 file, just double-click on that to open Visual Studio.
119 ``CMAKE_INSTALL_PREFIX`` setting when you first configured CMake.
128 ``LLVM_LIT_TOOLS_DIR`` on CMake for the path to GnuWin32.
137 .. code-block:: bat
139 …C:\..\llvm> python ..\build\bin\llvm-lit --param build_config=Win32 --param build_mode=Debug --par…
148 .. code-block:: bat
150 …C:\..\llvm> python ..\build\bin\llvm-lit --param build_config=Win32 --param build_mode=Debug --par…
158 .. code-block:: c
168 .. code-block:: bat
170 C:\..> clang -c hello.c -emit-llvm -o hello.bc
180 .. code-block:: bat
182 C:\..> clang hello.c -o hello.exe
184 The ``-o hello.exe`` is required because clang currently outputs ``a.out``
185 when neither ``-o`` nor ``-c`` are given.
187 3. Run the program using the just-in-time compiler:
189 .. code-block:: bat
193 4. Use the ``llvm-dis`` utility to take a look at the LLVM assembly code:
195 .. code-block:: bat
197 C:\..> llvm-dis < hello.bc | more
201 .. code-block:: bat
203 C:\..> llc -filetype=obj hello.bc
207 .. code-block:: bat
209 C:\..> link hello.obj -defaultlib:libcmt
213 .. code-block:: bat