summaryrefslogtreecommitdiffstats
path: root/Utilities/Sphinx/apply_qthelp_css_workaround.cmake
blob: 8b74d12bb74437e4f787dcdf5c75f9d6b6e7c393 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15

file(READ "${CSS_DIR}/basic.css" BasicCssContent)

file(READ "${CSS_DIR}/default.css" DefaultCssContent)
string(REPLACE
  "@import url(\"basic.css\")" "${BasicCssContent}"
  DefaultCssContent "${DefaultCssContent}"
)

file(READ "${CSS_DIR}/cmake.css" CMakeCssContent)
string(REPLACE
  "@import url(\"default.css\")" "${DefaultCssContent}"
  CMakeCssContent "${CMakeCssContent}"
)
file(WRITE "${CSS_DIR}/cmake.css" "${CMakeCssContent}")