autovala & cmake for build system