# How i can build cling.cpp, and create an executable without using the CMakeLists.txt

**URL:** <https://root-forum.cern.ch/t/how-i-can-build-cling-cpp-and-create-an-executable-without-using-the-cmakelists-txt/57139>\
**Category:** Cling\
**Created:** [November 16, 2023, 8:15pm UTC](https://root-forum.cern.ch/t/how-i-can-build-cling-cpp-and-create-an-executable-without-using-the-cmakelists-txt/57139 "2023-11-16T20:15:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![cw2636](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/c/a9adbd/32.png) [@cw2636](https://root-forum.cern.ch/u/cw2636)\
**Post date:** [November 16, 2023, 8:15pm UTC](https://root-forum.cern.ch/t/how-i-can-build-cling-cpp-and-create-an-executable-without-using-the-cmakelists-txt/57139/1 "2023-11-16T20:15:11Z")

</div>

I am trying to create a custom c++ interpreter using cling. In tools/driver there is a cling.cpp file which i am trying to compile locally so i can use similar file to add my custom fucntions or classes, which will be helpful for me. How i can build this with a make file or just command line arguments. Thank you

---

<div class="post-metadata">

**Author:** ![moneta](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/moneta/32/19423_2.png) [@moneta](https://root-forum.cern.ch/u/moneta)\
**Post date:** [November 17, 2023, 8:48am UTC](https://root-forum.cern.ch/t/how-i-can-build-cling-cpp-and-create-an-executable-without-using-the-cmakelists-txt/57139/2 "2023-11-17T08:48:19Z")

</div>

@vvassilev can maybe help you on this

---

<div class="post-metadata">

**Author:** ![system](https://root-forum.cern.ch/uploads/default/original/3X/e/f/efe4f24398fd8ffeb76bccb6ecc46d9d9c003376.png) [@system](https://root-forum.cern.ch/u/system)\
**Post date:** [December 1, 2023, 8:48am UTC](https://root-forum.cern.ch/t/how-i-can-build-cling-cpp-and-create-an-executable-without-using-the-cmakelists-txt/57139/3 "2023-12-01T08:48:39Z")

</div>

Closed on December 1, 2023, 8:48am UTC

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
