This is not how make works. This would build the ls_project and either the testcases or doc targets. make dir=documentation ls_project is possible in Make, but CMake does not expose such functionality in its model since none of the other generators support runtime input like this.
Thanks! OK, I probably will need to write a set of shell scripts to help me debug/extend build features. When using CMake with the -P option, is it possible to load the CMake variable settings from a standalone CMake script ?