The optical layout of soft X-ray grating compressors designed to provide both positive and negative group-delay dispersion (GDD) is discussed. They are tailored for chirped-pulse-amplification experiments with seeded free-electron laser sources. Designs with plane or concave gratings are discussed, depending on the sign of the GDD to be introduced.