# CMake for Clang-LLVM wasm binaries

**URL:** <https://discourse.cmake.org/t/cmake-for-clang-llvm-wasm-binaries/10848>\
**Category:** Code\
**Created:** [May 13, 2024, 2:21pm UTC](https://discourse.cmake.org/t/cmake-for-clang-llvm-wasm-binaries/10848 "2024-05-13T14:21:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![spino17](https://discourse.cmake.org/user_avatar/discourse.cmake.org/spino17/32/4594_2.png) [@spino17](https://discourse.cmake.org/u/spino17)\
**Post date:** [May 13, 2024, 2:21pm UTC](https://discourse.cmake.org/t/cmake-for-clang-llvm-wasm-binaries/10848/1 "2024-05-13T14:21:04Z")

</div>

Hey,  
I am new to C/C++ ecosystem and CMake appears almost everywhere as the de-facto build tool. I want to write a C++ tool which does some analysis on AST and I am interested in using `LibTooling` by following:  
`https://clang.llvm.org/docs/HowToSetupToolingForLLVM.html`  
I am targeting WASM and want to prepare the build of the above library for wasm using cmake (or any other way if it exists) but haven’t found any resource which explains the process. Any help is highly appreciated. Thanks
