File: patchtex.cmake

package info (click to toggle)
gdcm 3.0.21-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 26,880 kB
  • sloc: cpp: 203,477; ansic: 78,582; xml: 48,129; python: 3,459; cs: 2,308; java: 1,629; lex: 1,290; sh: 334; php: 128; makefile: 117
file content (10 lines) | stat: -rw-r--r-- 391 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
project(toto)

file(READ ${CMAKE_CURRENT_SOURCE_DIR}/refman.tex refman_file)
string(REPLACE "]{hyperref}"
"]{hyperref}\\\\hypersetup{pdftitle={GDCM Reference Guide},pdfkeywords={DICOM},baseurl={http:\\/\\/gdcm.sourceforge.net}}\\\\hyperbaseurl{http:\\/\\/gdcm.sourceforge.net}"
patched_refman_file
${refman_file}
)

file(WRITE ${CMAKE_CURRENT_SOURCE_DIR}/patched.tex ${patched_refman_file})