server compile with cmake