[cmake] add lib ver num and debug mode notation