cmake build system - need advices/ideas