How can I generate makefile from my cmake project instead of ninja
-
OS: Windows 10
Qt Version: 5.15Hi,
I want to build a project in Qt Creator application. When building this project with qmake
I'm making a Makefile using the " QMAKE_PROJECT_DEPTH = 0 " command. but how can i do that in cmake file.
When I build it with cmake it creates a Ninja file. I want makefile instead of ninja how can i doI write "Makefile , Unix Makefiles, NMake Makefiles, MinGW Makefiles" in the CMAKE_GENERATOR section and it gives an error.
It gives an error when you give it as an option.
-
@serkan_tr Select your Kit. Go to "CMake Generator" -> "Change...". Change the "Generator" entry there.
-
@serkan_tr Why don't you try what I suggested?
-
@serkan_tr After doing this - did you also do a complete rebuild (delete build folder, run CMake and build)?