discovered that esp32 can generate a standard makefile (at least for now)
$ cmake . -G "CodeBlocks - Unix Makefiles"
now, I need to find out how to define a "custom compiler"
another info, if you are on linux, download the updated binary since the codeblocks that is in the distribution is probably outdated
then you can install the most relevnt parts using
# dpkg -i codeblocks-common_25.03_all.deb libcodeblocks0_25.03_amd64.deb codeblocks_25.03_amd64.deb
and if you have created a codeblock compatible makefile with Cmake you should be able to
$ codeblocks app-template.cbp