<div dir="ltr">With two build directories -- one for release and one for debug -- using the Makefile generator, it seems like calling one 'make install' replaces out the export files for the other with the message:<div><br></div><div>> Old export file "<project>.cmake" will be replaced.  Removing files [<project>-debug.cmake]<br></div><div><br></div><div>The INSTALL snippet just looks like:</div><div><br></div><div>> install(EXPORT <project> DESTINATION lib/<project>)<br></div><div><br></div><div>The question is, is it possible to use a single config generator like Makefiles to install both a working release and debug version of a library?</div></div>