cmake_minimum_required(VERSION 3.1.0)
+## set PATH=C:/Strawberry/perl/bin/;%PATH%
+## set PATH=C:\Users\Thibaut\Anaconda3;%PATH%
+## set PATH=C:\Program Files\CMake\bin;%PATH%
+## D:
+## cd LyX\lyx-unstable\cmake-build-debug
+## ctest -j4 -R .*docbook5
+
+set(CMAKE_CXX_STANDARD 17)
set(GNUWIN32_DIR D:/LyX/lyx-unstable/lyx-windows-deps-msvc2017)
+set(LYX_USE_QT "QT5")
+set(LYX_REQUIRE_SPELLCHECK true)
+set(LYX_ENABLE_EXPORT_TESTS 1)
+
+set(QT_DIR D:/Qt/5.15.0/msvc2019_64)
+set(QT5_DIR D:/Qt/5.15.0/msvc2019_64)
+set(QT_MKSPECS_DIR D:/Qt/5.15.0/msvc2019_64/mkspecs)
+set(Qt5Concurrent_DIR D:/Qt/5.15.0/msvc2019_64/lib/cmake/Qt5Concurrent)
+set(Qt5Core_DIR D:/Qt/5.15.0/msvc2019_64/lib/cmake/Qt5Core)
+set(Qt5Gui_DIR D:/Qt/5.15.0/msvc2019_64/lib/cmake/Qt5Gui)
+set(Qt5Svg_DIR D:/Qt/5.15.0/msvc2019_64/lib/cmake/Qt5Svg)
+set(Qt5Widgets_DIR D:/Qt/5.15.0/msvc2019_64/lib/cmake/Qt5Widgets)
+set(Qt5WinExtras_DIR D:/Qt/5.15.0/msvc2019_64/lib/cmake/Qt5WinExtras)
+
+LIST(PREPEND CMAKE_PROGRAM_PATH "C:/Strawberry/perl/bin")
+LIST(PREPEND CMAKE_PROGRAM_PATH "C:/Strawberry/c/bin")
+LIST(PREPEND CMAKE_PROGRAM_PATH "C:/Users/Thibaut/Anaconda3")
+set(PERL_EXECUTABLE "C:/Strawberry/perl/bin/perl.exe")
+set(JAVA_EXECUTABLE "C:/Program Files/Java/jdk-15/bin/java.exe")
set(LYX_PROJECT LyX)
+
# Instruct cmake to not use gnu extensions,
# this prevents the mix of '-std=c++*' and '-std=gnu++*' flags
set(CMAKE_CXX_EXTENSIONS OFF)
ParSkip 0.4
Align Block
LabelType No_Label
+ DocBookTag para
End
Input stdcounters.inc
Series Bold
Color Blue
EndFont
+ DocBookTag personname
+ DocBookTagType paragraph
+ DocBookWrapperTag author
+ DocBookWrapperTagType block
+ DocBookInInfo always
End
Style FooterName
CopyStyle Name
LatexName ecvfootername
LabelString "Footer name:"
+ DocBookTag personname
+ DocBookTagType paragraph
+ DocBookWrapperTag author
+ DocBookWrapperAttr role='footer'
+ DocBookWrapperTagType block
+ DocBookInInfo always
End
Style Nationality
CopyStyle Name
LatexName ecvnationality
LabelString "Nationality:"
+ DocBookTag date
+ DocBookAttr role='nationality'
+ DocBookInInfo always
+ DocBookWrapperTag NONE
End
Style Birthday
CopyStyle Name
LatexName ecvdateofbirth
LabelString "Date of birth:"
+ DocBookTag date
+ DocBookAttr role='birthday'
+ DocBookInInfo always
+ DocBookWrapperTag NONE
End
Style Address
CopyStyle Name
LatexName ecvaddress
LabelString "Address:"
+ DocBookTag NONE
+ DocBookWrapperTag address
+ DocBookWrapperTagType block
+ DocBookWrapperMergeWithPrevious true
+ DocBookInInfo always
End
Style Email
CopyStyle Name
LatexName ecvemail
LabelString "E-mail:"
+ DocBookTag email
+ DocBookTagType paragraph
+ DocBookWrapperTag address
+ DocBookWrapperTagType block
+ DocBookWrapperMergeWithPrevious true
+ DocBookInInfo always
End
Style Telephone
Argument 1
LabelString "Mobile"
Tooltip "Mobile phone number"
+ DocBookTag phrase
+ DocBookAttr role='mobile'
EndArgument
+ DocBookTag phone
+ DocBookTagType paragraph
+ DocBookWrapperTag address
+ DocBookWrapperTagType block
+ DocBookWrapperMergeWithPrevious true
+ DocBookInInfo always
End
Style Gender
CopyStyle Name
LatexName ecvgender
LabelString "Gender:"
+ DocBookTag date
+ DocBookAttr role='gender'
+ DocBookInInfo always
+ DocBookWrapperTag NONE
End
Style Fax
CopyStyle Name
LatexName ecvfax
LabelString "Fax:"
+ DocBookTag fax
+ DocBookTagType paragraph
+ DocBookWrapperTag address
+ DocBookWrapperTagType block
+ DocBookWrapperMergeWithPrevious true
+ DocBookInInfo always
End
Style BeforePicture
CopyStyle Name
LatexName ecvbeforepicture
LabelString "Space before picture:"
+ DocBookTag date
+ DocBookAttr role='before-picture'
+ DocBookInInfo always
+ DocBookWrapperTag NONE
End
Style Picture
Tooltip "Size the photo is resized to"
PassThru 1
EndArgument
+ DocBookTag date
+ DocBookAttr role='picture'
+ DocBookInInfo always
+ DocBookWrapperTag NONE
End
Style AfterPicture
CopyStyle Name
LatexName ecvafterpicture
LabelString "Space after picture:"
+ DocBookTag date
+ DocBookAttr role='after-picture'
+ DocBookInInfo always
+ DocBookWrapperTag NONE
End
Style Page
CopyStyle Name
LatexName ecvpage
LabelString "Page:"
+ DocBookTag NONE
+ DocBookWrapperTag NONE
End
Style Section
Series Bold
EndFont
TocLevel 1
+ DocBookTag title
+ DocBookTagType paragraph
End
Style Item
AutoInsert 1
LabelString "Summary"
Tooltip "Summary of the item, can also be the time"
+ DocBookTag emphasis
+ # TODO: For DocBook, this should rather be title, but it would be output in the paragraph, and not before the paragraph.
EndArgument
ParSkip 0.4
Align Block
Series Bold
Color Blue
EndFont
+ DocBookTag sidebar
+ DocBookTagType block
+ DocBookItemTag para
End
Style BulletedItem
CopyStyle Item
LatexName ecvitem*
LabelString "Bulleted Item:"
+ DocBookAttr role='bulleted'
End
Style Begin
Series Bold
Color Blue
EndFont
+ DocBookTag para
+ DocBookAttr role='mother-tongue'
End
Style LangHeader
Mandatory 1
LabelString "Language"
Tooltip "Name of the language"
+ DocBookTag phrase
+ DocBookAttr role='language-name'
EndArgument
Argument 3
Mandatory 1
LabelString "Listening"
Tooltip "Level how good you think you can listen"
+ DocBookTag phrase
+ DocBookAttr role='listening'
EndArgument
Argument 4
Mandatory 1
LabelString "Reading"
Tooltip "Level how good you think you can read"
+ DocBookTag phrase
+ DocBookAttr role='reading'
EndArgument
Argument 5
Mandatory 1
LabelString "Interaction"
Tooltip "Level how good you think you can conversate"
+ DocBookTag phrase
+ DocBookAttr role='speaking'
EndArgument
Argument 6
Mandatory 1
LabelString "Production"
Tooltip "Level how good you think you can freely talk"
+ DocBookTag phrase
+ DocBookAttr role='writing'
EndArgument
+ DocBookTag para
+ DocBookAttr role='language'
End
Style LastLanguage