# New Build system

**URL:** <https://discuss.ocaml.org/t/new-build-system/2169>\
**Category:** Learning\
**Created:** [June 18, 2018, 9:13pm UTC](https://discuss.ocaml.org/t/new-build-system/2169 "2018-06-18T21:13:56Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![gndl](https://avatars.discourse-cdn.com/v4/letter/g/58f4c7/32.png) [@gndl](https://discuss.ocaml.org/u/gndl)\
**Post date:** [June 18, 2018, 9:13pm UTC](https://discuss.ocaml.org/t/new-build-system/2169/1 "2018-06-18T21:13:56Z")

</div>

First of all, I apologize for asking a question that does not directly concern OCaml, but I do not know where to ask this question. I am currently looking for a good build system for C++ as part of my professional activity. I quickly dismissed Autoconf because its portability under Windows has a bad reputation and many projects migrate to CMake or Meson. I just learned that the OCaml project is about to migrate to this tool and I wonder if I have missed something. Do you know the motivations of this choice?

---

<div class="post-metadata">

**Author:** ![perry](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ocaml.org/perry/32/518_2.png) [@perry](https://discuss.ocaml.org/u/perry)\
**Post date:** [June 18, 2018, 10:07pm UTC](https://discuss.ocaml.org/t/new-build-system/2169/2 "2018-06-18T22:07:45Z")

</div>

Dune is built only for OCaml projects, it has a great deal of knowledge of OCaml and the OCaml ecosystem built in to it. It isn’t suitable for C++.

I note, though, that you’re confusing several issues. For example, autoconf is not a build system, it’s a configuration system to allow portability of code in multiple operating systems and the like.

I would suggest that if you want to find recommendations for good C++ build systems, you try Stack Overflow. For myself, I simply use Make for building C++ things, but I seem to be old fashioned in this regard.

---

<div class="post-metadata">

**Author:** ![catlion](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ocaml.org/catlion/32/669_2.png) [@catlion](https://discuss.ocaml.org/u/catlion)\
**Post date:** [June 19, 2018, 2:06pm UTC](https://discuss.ocaml.org/t/new-build-system/2169/3 "2018-06-19T14:06:27Z")

</div>

You can look up whatever C++ open-source project you like better and check which build system is in use. Like, for example, last time I checked Chromium project, it’s CMake + [Ninja](https://ninja-build.org/).
