Proper way to get an out-of source build in multi-part cmake project.
I use cmake to build, test and install my project. My way is a little crude: I use a scripts like this to get an out-of-source build: DIR=debug_build && rm -fr ./${DIR} && mkdir -p ${DIR} && cd ${DIR} && cmake -D CMAKE_BUILD_TYPE=Debug $@ .. && make I guess I could at least put it into makefile, but isnt it strange to use Makefile to ...