Lines Matching +full:llvm +full:- +full:project

16  * `Clang specific modules <https://clang.llvm.org/docs/Modules.html>`_
17 * `C++ modules <https://clang.llvm.org/docs/StandardCPlusPlusModules.html>`_
31 currently ships a CMake project to aid building modules.
51 * ``LIBCXX_ENABLE_EXCEPTIONS`` [#note-no-windows]_
57 .. [#note-no-windows] This configuration will probably not work on Windows
58 due to hard-coded compilation flags.
69 * The path to the compiler may not be a symlink, ``clang-scan-deps`` does
74 hard to solve and there is a work-around by first including all headers
75 `bug report <https://github.com/llvm/llvm-project/issues/61465>`__.
92 `bug report <https://github.com/llvm/llvm-project/issues/62943>`__.
118 .. code-block:: bash
120 $ git clone https://github.com/llvm/llvm-project.git
121 $ cd llvm-project
123 $ cmake -G Ninja -S runtimes -B build -DLLVM_ENABLE_RUNTIMES="libcxx;libcxxabi;libunwind"
124 $ ninja -C build
132 .. code-block:: cpp
142 .. code-block:: cmake
145 project("example"
161 # This is required to write your own modules in your project.
164 set(CMAKE_EXPERIMENTAL_CXX_MODULE_CMAKE_API "2182bf5c-ef0d-489a-91da-49dbc3090d2a")
166 set(CMAKE_EXPERIMENTAL_CXX_MODULE_CMAKE_API "aa1f7df0-828a-4fcd-9afc-2dc80491aca7")
187 # Add the project
198 Building this project is done with the following steps, assuming the files
201 .. code-block:: bash
204 $ cmake -G Ninja -S . -B build -DCMAKE_CXX_COMPILER=<path-to-compiler> -DLIBCXX_BUILD=<build>
205 $ ninja -C build
208 .. warning:: ``<path-to-compiler>`` should point point to the real binary and
213 project. Some flags will affect the generated code, when these
215 ``-pthread`` in your project and not in the module will give
220 …_deps/std-build/CMakeFiles/std.dir/std.pcm cannot be loaded due to a configuration mismatch with t…
235 .. code-block:: cmake
243 set(CMAKE_EXPERIMENTAL_CXX_IMPORT_STD "0e5b6991-d74f-4b3d-a41c-cf096e0b2508")
246 project("example"
257 # https://gitlab.kitware.com/cmake/cmake/-/issues/25916
258 # https://gitlab.kitware.com/cmake/cmake/-/issues/25539
267 Building this project is done with the following steps, assuming the files
270 .. code-block:: bash
273 …$ cmake -G Ninja -S . -B build -DCMAKE_CXX_COMPILER=<path-to-compiler> -DCMAKE_CXX_FLAGS=-stdlib=l…
274 $ ninja -C build
277 .. warning:: ``<path-to-compiler>`` should point point to the real binary and
281 channel on `LLVM's Discord server <https://discord.gg/jzUbyP26tQ>`__.
283 If you think you've found a bug please it using the `LLVM bug tracker
284 <https://github.com/llvm/llvm-project/issues>`_. Please make sure the issue