I have a project with existing makefile based build system, where I want to add existing cmake based component.
What is best way to integrated cmake configure step? As a $(shell ) call evaluating some variable? That runs configure on each invocation...
How to integrate building itself? Just (MAKE) -C cmake-build-dir [targets]?