Is it possible to compile a subfolder using cmake when cmake has dependancies from the parent folders.

I basically don’t want to build the entire software to test all minor changes. Please suggest some solution. Thank you.

Satyarth Praveen

I am not sure exactly what you want to do but here are two tips:

  • You can build a single target by specifying it in the make or ninja command (make ). The list of targets can be obtained doing ‘make help’

  • You can build (with make) a single library/executable ignoring the dependencies to other libraries by doing ‘make /fast’.




Thanks for that Pere!
Apologies for the late reply.