User forums > General (but related to Code::Blocks)

CMake Code::Blocks Generator Deprecation

(1/3) > >>

inversesquare.zip:
Hello,
I've noticed several other people have requested how to use CMake with Code::Blocks and have been told to run a command like the following:

--- Quote from: seasoned_geek on November 23, 2021, 05:19:41 pm ---[snipped]
cmake . -G "CodeBlocks - Unix Makefiles"
[snipped]

--- End quote ---

However, that command is part of Extra Generators [1] which is, as mentioned in the description, deprecated. According to the CMake documentation, "support for Extra Generators is deprecated and will be removed from a future version of CMake." Is anyone planning on making Code::Blocks work with CMake some other way? Thank you for your time.

[1]https://cmake.org/cmake/help/latest/generator/CodeBlocks.html

HunterZ:
Wondering about this as well. This is making me hesitate to get too deep into Code::Blocks because CMake integration is a must.

Kitware seems to be encouraging IDE developers to integrate with their cmake-file-api: https://cmake.org/cmake/help/latest/manual/cmake-file-api.7.html

stahta01:
Since they never really supported native CB Projects. Them dropping support for CB Custom makefile projects are not a major loss.

ollydbg:

--- Quote from: stahta01 on October 27, 2023, 09:58:12 pm ---Since they never really supported native CB Projects. Them dropping support for CB Custom makefile projects are not a major loss.

--- End quote ---

From my point of view, I agree with you.

The generated cbp(from CMakefiles) is just a makefile, and not a real CB native Project file.

inversesquare.zip:
Is there any plan to support CMake integration then?

Navigation

[0] Message Index

[#] Next page

Go to full version