Correct. I started tuning CMake a little bit in order to have two different builds depending on some flags you can set with cmake directly. 
Something like the REL build and DEB build we already have, but I didn't finish yet..