# CMakeLists.txt and Code::Blocks

**URL:** https://discourse.cmake.org/t/cmakelists-txt-and-code-blocks/14071
**Category:** Usage
**Created:** [May 9, 2025, 3:54pm UTC](https://discourse.cmake.org/t/cmakelists-txt-and-code-blocks/14071 "2025-05-09T15:54:58Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![gtafan](https://discourse.cmake.org/letter_avatar_proxy/v4/letter/g/f07891/32.png) [@gtafan](https://discourse.cmake.org/u/gtafan)
#### Post date: [May 9, 2025, 3:54pm UTC](https://discourse.cmake.org/t/cmakelists-txt-and-code-blocks/14071/1 "2025-05-09T15:54:58Z")

</div>

Some C++ project are using CMakeLists.txt, to be honest I am not a fan of it, but how to compile such project with Code::Blocks?  
I tried cmake-gui and was able to get as far, as this:

 ![](https://discourse.cmake.org/uploads/default/original/2X/8/84e58692603c374bb6ff8c8bcf1be4453dd21428.jpeg)

I have selected “Specify native compilers” and clicked “Next” to specify the compilers.

But at the end got this error:

> CMake Error: CMake was unable to find a build program corresponding to “MinGW Makefiles”. CMAKE\_MAKE\_PROGRAM is not set. You probably need to select a different build tool.  
> Configuring incomplete, errors occurred!

---

<div class="post-metadata">

### Author: ![gtafan](https://discourse.cmake.org/letter_avatar_proxy/v4/letter/g/f07891/32.png) [@gtafan](https://discourse.cmake.org/u/gtafan)
#### Post date: [May 16, 2025, 6:37pm UTC](https://discourse.cmake.org/t/cmakelists-txt-and-code-blocks/14071/2 "2025-05-16T18:37:49Z")

</div>

Any ida how to fix it?
