Vacuum structure in supersymmetric Yang--Mills theories with any gauge group