2024-01-15 20:38:50 +08:00
cmake_minimum_required ( VERSION 3.23 )
2022-08-08 04:20:47 +08:00
2022-09-03 04:59:41 +08:00
add_custom_target ( JKQTMathText_GenerateDocImages
C O M M E N T " B u i l d i n g J K Q T M a t h T e x t D o c u m e n t a t i o n I m a g e s . . . "
)
add_custom_target ( JKQTPlotter_GenerateDocScreenshots
C O M M E N T " B u i l d i n g J K Q T P l o t t e r D o c u m e n t a t i o n S c r e e n s h o t s . . . "
)
add_custom_target ( JKQTPlotter_GenerateDocImages
C O M M E N T " B u i l d i n g J K Q T P l o t t e r D o c u m e n t a t i o n I m a g e s . . . "
)
add_custom_target ( JKQTP_GenerateAllDocImages
D E P E N D S J K Q T P l o t t e r _ G e n e r a t e D o c I m a g e s J K Q T P l o t t e r _ G e n e r a t e D o c S c r e e n s h o t s J K Q T M a t h T e x t _ G e n e r a t e D o c I m a g e s
)
2022-08-08 04:20:47 +08:00
if ( JKQtPlotter_BUILD_TOOLS )
# custom target that generates the images for the JKQTMathText documentation
2023-07-01 21:57:57 +08:00
set ( JKQTMathText_GenerateDocImages_DefaultOptions --resolution=96 --fontsize=16 --fontmathroman=XITS --background=white --sizeincrease=5 )
2022-08-08 04:20:47 +08:00
set ( JKQTMathText_GenerateDocImages_StdInputFiles
j k q t m a t h t e x t _ d o c i m a g e s _ a c c e n t s . j k m t
j k q t m a t h t e x t _ d o c i m a g e s _ b o x e s . j k m t
j k q t m a t h t e x t _ d o c i m a g e s _ b r a c e s . j k m t
j k q t m a t h t e x t _ d o c i m a g e s _ f o r m a t i n g . j k m t
j k q t m a t h t e x t _ d o c i m a g e s _ f r a c . j k m t
j k q t m a t h t e x t _ d o c i m a g e s _ m a t h . j k m t
j k q t m a t h t e x t _ d o c i m a g e s _ m a t r i x . j k m t
j k q t m a t h t e x t _ d o c i m a g e s _ m i s c . j k m t
j k q t m a t h t e x t _ d o c i m a g e s _ s p e c i a l f o n t s . j k m t
j k q t m a t h t e x t _ d o c i m a g e s _ s y m b o l s a n d e n c o d i n g . j k m t
2022-08-08 16:39:15 +08:00
j k q t m a t h t e x t _ d o c i m a g e s _ s p a c e s . j k m t
2022-08-08 04:20:47 +08:00
)
set ( JKQTMathText_GenerateDocImages_COMMAND $< TARGET_FILE:jkqtmathtext_render > ${ JKQTMathText_GenerateDocImages_DefaultOptions } )
set ( JKQTMathText_GenerateDocImages_OutputDir "${CMAKE_CURRENT_LIST_DIR}/images/jkqtmathtext/" )
foreach ( file ${ JKQTMathText_GenerateDocImages_StdInputFiles } )
string ( REGEX MATCH ".*_([^_\.]+)\.[A-Za-z]+" dummy ${ file } )
set ( loc_name ${ CMAKE_MATCH_1 } )
string ( TOUPPER ${ loc_name } loc_name_upper ${ file } )
set ( loc_target_name "JKQTMathText_GenerateDocImages_${loc_name}" )
add_custom_target ( ${ loc_target_name }
C O M M E N T " B u i l d i n g J K Q T M a t h T e x t D o c u m e n t a t i o n I m a g e s : $ { l o c _ n a m e _ u p p e r } "
C O M M A N D $ { J K Q T M a t h T e x t _ G e n e r a t e D o c I m a g e s _ C O M M A N D } - - i n p u t f i l e = " $ { C M A K E _ C U R R E N T _ L I S T _ D I R } / $ { f i l e } " - - o u t p u t d i r = " $ { J K Q T M a t h T e x t _ G e n e r a t e D o c I m a g e s _ O u t p u t D i r } "
W O R K I N G _ D I R E C T O R Y $ { J K Q t P l o t t e r _ Q T _ B I N D I R }
D E P E N D S j k q t m a t h t e x t _ r e n d e r
)
add_dependencies ( JKQTMathText_GenerateDocImages ${ loc_target_name } )
unset ( loc_name )
unset ( loc_target_name )
unset ( loc_name_upper )
unset ( dummy )
endforeach ( )
add_custom_target ( JKQTMathText_GenerateDocImages_listsymbols
C O M M E N T " B u i l d i n g J K Q T M a t h T e x t D o c u m e n t a t i o n I m a g e s : L I S T S Y M B O L S "
2022-09-01 20:36:34 +08:00
C O M M A N D $ { J K Q T M a t h T e x t _ G e n e r a t e D o c I m a g e s _ C O M M A N D } - - l i s t s y m b o l s f o n t s = X I T S _ M A T H A N D T E X T , F I R A _ M A T H A N D T E X T - - l i s t s y m b o l s = " $ { C M A K E _ C U R R E N T _ L I S T _ D I R } / d o x / j k q t m a t h t e x t _ s u p p o r t e d l a t e x s y m b o l s . d o x " - - o u t p u t d i r = " $ { J K Q T M a t h T e x t _ G e n e r a t e D o c I m a g e s _ O u t p u t D i r } / s y m b o l s / "
2022-08-08 04:20:47 +08:00
W O R K I N G _ D I R E C T O R Y $ { J K Q t P l o t t e r _ Q T _ B I N D I R }
D E P E N D S j k q t m a t h t e x t _ r e n d e r
)
add_dependencies ( JKQTMathText_GenerateDocImages JKQTMathText_GenerateDocImages_listsymbols )
endif ( )
2022-08-26 18:31:27 +08:00
2022-09-03 04:59:41 +08:00
if ( JKQtPlotter_BUILD_TOOLS )
# custom target that generates the images for the JKQTPlotter documentation
set ( JKQTPlotter_GenerateDocImages_DefaultOptions )
set ( JKQTPlotter_GenerateDocImages_COMMAND $< TARGET_FILE:jkqtplotter_doc_imagegenerator > ${ JKQTPlotter_GenerateDocImages_DefaultOptions } )
set ( JKQTPlotter_GenerateDocImages_OutputDir "${CMAKE_CURRENT_LIST_DIR}/images/" )
2023-07-03 16:11:51 +08:00
set ( JKQTPlotter_GenerateDocImages_dox "${CMAKE_CURRENT_LIST_DIR}/dox/" )
2022-09-03 04:59:41 +08:00
add_custom_target ( JKQTPlotter_GenerateDocImages_listplotsymbols
C O M M E N T " B u i l d i n g J K Q T P l o t t e r D o c u m e n t a t i o n I m a g e s : L I S T P L O T S Y M B O L S "
C O M M A N D $ { J K Q T P l o t t e r _ G e n e r a t e D o c I m a g e s _ C O M M A N D } - - l i s t s y m b o l s - - i c o n s i z e = 3 2 - - o u t p u t d i r = " $ { J K Q T P l o t t e r _ G e n e r a t e D o c I m a g e s _ O u t p u t D i r } / s y m b o l s / "
W O R K I N G _ D I R E C T O R Y $ { J K Q t P l o t t e r _ Q T _ B I N D I R }
D E P E N D S j k q t p l o t t e r _ d o c _ i m a g e g e n e r a t o r
)
add_dependencies ( JKQTPlotter_GenerateDocImages JKQTPlotter_GenerateDocImages_listplotsymbols )
2022-09-06 17:07:52 +08:00
add_custom_target ( JKQTPlotter_GenerateDocImages_listlinedecorators
C O M M E N T " B u i l d i n g J K Q T P l o t t e r D o c u m e n t a t i o n I m a g e s : L I S T L I N E D E C O R A T O R S "
C O M M A N D $ { J K Q T P l o t t e r _ G e n e r a t e D o c I m a g e s _ C O M M A N D } - - l i s t l i n e d e c o r a t o r s - - i c o n s i z e = 3 2 - - o u t p u t d i r = " $ { J K Q T P l o t t e r _ G e n e r a t e D o c I m a g e s _ O u t p u t D i r } / l i n e d e c o r a t o r s / "
W O R K I N G _ D I R E C T O R Y $ { J K Q t P l o t t e r _ Q T _ B I N D I R }
D E P E N D S j k q t p l o t t e r _ d o c _ i m a g e g e n e r a t o r
)
add_dependencies ( JKQTPlotter_GenerateDocImages JKQTPlotter_GenerateDocImages_listlinedecorators )
2022-09-15 04:03:46 +08:00
add_custom_target ( JKQTPlotter_GenerateDocImages_listerrorindicators
C O M M E N T " B u i l d i n g J K Q T P l o t t e r D o c u m e n t a t i o n I m a g e s : l i s t e r r o r i n d i c a t o r s "
C O M M A N D $ { J K Q T P l o t t e r _ G e n e r a t e D o c I m a g e s _ C O M M A N D } - - l i s t e r r o r i n d i c a t o r s - - i c o n s i z e = 3 2 - - o u t p u t d i r = " $ { J K Q T P l o t t e r _ G e n e r a t e D o c I m a g e s _ O u t p u t D i r } / e r r o r i n d i c a t o r s / "
W O R K I N G _ D I R E C T O R Y $ { J K Q t P l o t t e r _ Q T _ B I N D I R }
D E P E N D S j k q t p l o t t e r _ d o c _ i m a g e g e n e r a t o r
)
add_dependencies ( JKQTPlotter_GenerateDocImages JKQTPlotter_GenerateDocImages_listerrorindicators )
2023-07-22 06:14:42 +08:00
add_custom_target ( JKQTPlotter_GenerateDocImages_listpalettes
C O M M E N T " B u i l d i n g J K Q T P l o t t e r D o c u m e n t a t i o n I m a g e s : l i s t p a l e t t e s "
C O M M A N D $ { J K Q T P l o t t e r _ G e n e r a t e D o c I m a g e s _ C O M M A N D } - - l i s t p a l e t t e s - - i c o n s i z e = 2 5 6 - - o u t p u t d i r = " $ { J K Q T P l o t t e r _ G e n e r a t e D o c I m a g e s _ O u t p u t D i r } / p a l e t t e s / "
W O R K I N G _ D I R E C T O R Y $ { J K Q t P l o t t e r _ Q T _ B I N D I R }
D E P E N D S j k q t p l o t t e r _ d o c _ i m a g e g e n e r a t o r
)
add_dependencies ( JKQTPlotter_GenerateDocImages JKQTPlotter_GenerateDocImages_listpalettes )
2022-09-24 02:43:53 +08:00
add_custom_target ( JKQTPlotter_GenerateDocImages_listaxisstyleprops
C O M M E N T " B u i l d i n g J K Q T P l o t t e r D o c u m e n t a t i o n I m a g e s : l i s t a x i s s t y l e p r o p s "
C O M M A N D $ { J K Q T P l o t t e r _ G e n e r a t e D o c I m a g e s _ C O M M A N D } - - l i s t a x i s s t y l e p r o p s - - b a c k g r o u n d = l i g h t g r e y - - i c o n s i z e = 5 0 - - o u t p u t d i r = " $ { J K Q T P l o t t e r _ G e n e r a t e D o c I m a g e s _ O u t p u t D i r } / a x i s s t y l e / "
2022-09-22 06:44:54 +08:00
W O R K I N G _ D I R E C T O R Y $ { J K Q t P l o t t e r _ Q T _ B I N D I R }
D E P E N D S j k q t p l o t t e r _ d o c _ i m a g e g e n e r a t o r
)
2022-09-24 02:43:53 +08:00
add_dependencies ( JKQTPlotter_GenerateDocImages JKQTPlotter_GenerateDocImages_listaxisstyleprops )
2022-09-22 06:44:54 +08:00
2023-08-22 23:34:50 +08:00
add_custom_target ( JKQTPlotter_GenerateDocImages_listaxisticklabelangles
C O M M E N T " B u i l d i n g J K Q T P l o t t e r D o c u m e n t a t i o n I m a g e s : l i s t a x i s t i c k l a b e l a n g l e s "
C O M M A N D $ { J K Q T P l o t t e r _ G e n e r a t e D o c I m a g e s _ C O M M A N D } - - l i s t a x i s t i c k l a b e l a n g l e s - - b a c k g r o u n d = l i g h t g r e y - - i c o n s i z e = 5 0 - - o u t p u t d i r = " $ { J K Q T P l o t t e r _ G e n e r a t e D o c I m a g e s _ O u t p u t D i r } / a x i s s t y l e / "
W O R K I N G _ D I R E C T O R Y $ { J K Q t P l o t t e r _ Q T _ B I N D I R }
D E P E N D S j k q t p l o t t e r _ d o c _ i m a g e g e n e r a t o r
)
add_dependencies ( JKQTPlotter_GenerateDocImages JKQTPlotter_GenerateDocImages_listaxisticklabelangles )
2023-08-23 23:45:59 +08:00
add_custom_target ( JKQTPlotter_GenerateDocImages_listlabelpositions
C O M M E N T " B u i l d i n g J K Q T P l o t t e r D o c u m e n t a t i o n I m a g e s : l i s t l a b e l p o s i t i o n s "
C O M M A N D $ { J K Q T P l o t t e r _ G e n e r a t e D o c I m a g e s _ C O M M A N D } - - l i s t l a b e l p o s i t i o n s - - b a c k g r o u n d = l i g h t g r e y - - i c o n s i z e = 5 0 - - o u t p u t d i r = " $ { J K Q T P l o t t e r _ G e n e r a t e D o c I m a g e s _ O u t p u t D i r } / l a b e l s t y l e s / "
W O R K I N G _ D I R E C T O R Y $ { J K Q t P l o t t e r _ Q T _ B I N D I R }
D E P E N D S j k q t p l o t t e r _ d o c _ i m a g e g e n e r a t o r
)
add_dependencies ( JKQTPlotter_GenerateDocImages JKQTPlotter_GenerateDocImages_listlabelpositions )
2023-07-03 05:01:56 +08:00
add_custom_target ( JKQTPlotter_GenerateDocImages_liststyles
C O M M E N T " B u i l d i n g J K Q T P l o t t e r D o c u m e n t a t i o n I m a g e s : l i s t s t y l e s "
2023-07-22 06:14:42 +08:00
C O M M A N D $ { J K Q T P l o t t e r _ G e n e r a t e D o c I m a g e s _ C O M M A N D } - - l i s t s t y l e s - - i c o n s i z e = 1 2 0 0 - - o u t p u t d i r = " $ { J K Q T P l o t t e r _ G e n e r a t e D o c I m a g e s _ O u t p u t D i r } / s t y l e s / " - - d o c t o m o d i f y = " $ { J K Q T P l o t t e r _ G e n e r a t e D o c I m a g e s _ d o x } / j k q t p l o t t e r _ s t y l i n g . d o x "
2023-07-03 05:01:56 +08:00
W O R K I N G _ D I R E C T O R Y $ { J K Q t P l o t t e r _ Q T _ B I N D I R }
D E P E N D S j k q t p l o t t e r _ d o c _ i m a g e g e n e r a t o r
)
2023-07-22 06:14:42 +08:00
add_dependencies ( JKQTPlotter_GenerateDocImages JKQTPlotter_GenerateDocImages_liststyles )
2023-07-03 05:01:56 +08:00
2023-12-19 05:24:59 +08:00
add_custom_target ( JKQTPlotter_GenerateDocImages_listkeypos
C O M M E N T " B u i l d i n g J K Q T P l o t t e r D o c u m e n t a t i o n I m a g e s : l i s t k e y p o s "
C O M M A N D $ { J K Q T P l o t t e r _ G e n e r a t e D o c I m a g e s _ C O M M A N D } - - l i s t k e y p o s - - i c o n s i z e = 2 2 5 - - o u t p u t d i r = " $ { J K Q T P l o t t e r _ G e n e r a t e D o c I m a g e s _ O u t p u t D i r } / k e y p o s i t i o n s / "
W O R K I N G _ D I R E C T O R Y $ { J K Q t P l o t t e r _ Q T _ B I N D I R }
D E P E N D S j k q t p l o t t e r _ d o c _ i m a g e g e n e r a t o r
)
add_dependencies ( JKQTPlotter_GenerateDocImages JKQTPlotter_GenerateDocImages_listkeypos )
add_custom_target ( JKQTPlotter_GenerateDocImages_listkeylayout
C O M M E N T " B u i l d i n g J K Q T P l o t t e r D o c u m e n t a t i o n I m a g e s : l i s t k e y l a y o u t "
C O M M A N D $ { J K Q T P l o t t e r _ G e n e r a t e D o c I m a g e s _ C O M M A N D } - - l i s t k e y l a y o u t - - i c o n s i z e = 2 2 5 - - o u t p u t d i r = " $ { J K Q T P l o t t e r _ G e n e r a t e D o c I m a g e s _ O u t p u t D i r } / k e y l a y o u t s / "
W O R K I N G _ D I R E C T O R Y $ { J K Q t P l o t t e r _ Q T _ B I N D I R }
D E P E N D S j k q t p l o t t e r _ d o c _ i m a g e g e n e r a t o r
)
add_dependencies ( JKQTPlotter_GenerateDocImages JKQTPlotter_GenerateDocImages_listkeylayout )
2022-09-03 04:59:41 +08:00
endif ( JKQtPlotter_BUILD_TOOLS )
2022-08-26 18:31:27 +08:00
if ( JKQtPlotter_BUILD_EXAMPLES )
# custom target that generates the images for the JKQTMathText documentation
2022-08-27 04:41:10 +08:00
set ( JKQTPlotter_GenerateDocScreenshots_DefaultOptions --screenshotdir= "${CMAKE_CURRENT_LIST_DIR}/../screenshots/" --screenshot --disablehighdpi --smallscreenshotplot )
2022-08-27 04:32:48 +08:00
# list examples for which to save a screenshot
# the output basename equals the example name in this list,
# unless you specify the basenames by adding it/them after a slash '/'
# e.g. "barchart/barchart,barchart_hor"
2022-08-29 04:48:14 +08:00
# the basenames are applied to the windows in the order of their windowTitle()s!
2024-01-08 21:23:04 +08:00
# after a second slash '/' you can add extra command-line commands to send to the application
# if you want to call any example twice (e.g. with differnt parameters), you need to give it a new name, but also the name of the actual executible in [..]:
# multithreaded/multithreaded/--mdfile=${CMAKE_CURRENT_LIST_DIR}/../examples/multithreaded/README.md
# "multithreaded_complex[multithreaded]/multithreaded_complex/--mdfile=${CMAKE_CURRENT_LIST_DIR}/../examples/multithreaded/README.md --complexlabel"
2022-08-26 18:31:27 +08:00
set ( JKQTPlotter_GenerateDocScreenshots_From
2022-08-30 03:46:38 +08:00
s c a t t e r / s c a t t e r , s c a t t e r _ e r r o r
2022-09-08 03:38:29 +08:00
s c a t t e r _ c u s t o m s y m b o l
2022-08-27 04:32:48 +08:00
s i m p l e t e s t
2022-08-29 04:48:14 +08:00
b a r c h a r t / b a r c h a r t , b a r c h a r t _ h o r
2022-09-10 20:35:16 +08:00
b a r c h a r t _ t w o c o l o r / b a r c h a r t _ t w o c o l o r , b a r c h a r t _ t w o c o l o r _ h o r
2022-09-11 06:06:47 +08:00
b a r c h a r t _ e r r o r b a r s / b a r c h a r t _ e r r o r b a r s , b a r c h a r t _ e r r o r b a r s _ h o r
2022-10-22 22:40:44 +08:00
b a r c h a r t _ f u n c t o r f i l l / b a r c h a r t _ f u n c t o r f i l l , b a r c h a r t _ f u n c t o r f i l l _ h o r
2022-10-29 03:48:42 +08:00
b a r c h a r t _ c u s t o m d r a w f u n c t o r / b a r c h a r t _ c u s t o m d r a w f u n c t o r , b a r c h a r t _ c u s t o m d r a w f u n c t o r _ h o r
2022-08-27 04:32:48 +08:00
w i g g l e p l o t s / w i g g l e p l o t _ x , w i g g l e p l o t _ y
a d v p l o t s t y l i n g / a d v a n c e d l i n e a n d f i l l s t y l i n g
b o x p l o t
c o n t o u r p l o t
v i o l i n p l o t / v i o l i n p l o t _ h o r , v i o l i n p l o t _ v e r t
e r r o r b a r s t y l e s
d a t e a x e s / d a t e a x e s , d a t e a x e s _ t i m e a x i s
d i s t r i b u t i o n p l o t / t e s t _ d i s t r i b u t i o n p l o t
e v a l c u r v e
2022-08-29 04:48:14 +08:00
f i l l e d g r a p h s / f i l l e d g r a p h s , f i l l e d g r a p h s _ y
2022-09-11 06:06:47 +08:00
f i l l e d g r a p h s _ e r r o r s / f i l l e d g r a p h s _ e r r o r s , f i l l e d g r a p h s _ e r r o r s _ y
2022-08-27 04:32:48 +08:00
f u n c t i o n p l o t / f u n c t i o n p l o t , f u n c t i o n p l o t _ f y
2022-08-27 04:41:10 +08:00
s t y l e d b o x p l o t / t e s t _ s t y l e d b o x p l o t
2022-08-29 04:48:14 +08:00
m u l t i p l o t / m u l t i p l o t , m u l t i p l o t _ c o n t r o l w i n d o w
2024-01-09 21:30:31 +08:00
s y m b o l s _ a n d _ s t y l e s
2022-08-29 04:48:14 +08:00
s y m b o l s _ a n d _ e r r o r s
s t e p p l o t s
s t a c k e d b a r s / s t a c k e d b a r s , s t a c k e d b a r s _ h o r
2024-01-09 21:30:31 +08:00
g e o _ a r r o w s
g e o _ s i m p l e
2022-08-29 04:48:14 +08:00
g e o m e t r i c
2023-08-04 21:33:03 +08:00
i m a g e p l o t / i m a g e p l o t , i m a g e p l o t _ _ s c a l e 0 2 , i m a g e p l o t _ _ s m a l l s c a l e l i m i t c o l o r , i m a g e p l o t _ _ s m a l l s c a l e c o l o r , i m a g e p l o t _ _ s m a l l s c a l e t r a n s p a r e n t / - - i t e r a t e f u n c t o r s t e p s
2022-08-29 04:48:14 +08:00
i m a g e p l o t _ m o d i f i e r
i m a g e p l o t _ n o d a t a s t o r e
i m a g e p l o t _ u s e r p a l / i m a g e p l o t _ u s e r p a l _ p r o g r a m
2022-09-26 08:08:01 +08:00
i m p u l s e s p l o t / i m p u l s e s p l o t , i m p u l s e s p l o t _ s y m b o l s , i m p u l s e s p l o t _ h o r i z o n t a l , e r r o r b a r s t y l e s _ i m p u l s e s , e r r o r b a r s t y l e s _ i m p u l s e s _ h o r i z o n t a l
2022-08-29 04:48:14 +08:00
p a r a m e t r i c c u r v e / p a r a m e t r i c c u r v e 1 , p a r a m e t r i c c u r v e 2
p a r a m s c a t t e r p l o t
2022-09-08 03:38:29 +08:00
p a r a m s c a t t e r p l o t _ c u s t o m s y m b o l
2022-08-29 04:48:14 +08:00
#paramscatterplot_image
p a r s e d f u n c t i o n p l o t
r g b i m a g e p l o t
2022-10-31 04:52:30 +08:00
r g b i m a g e p l o t _ q t / r g b i m a g e p l o t _ q t , r g b i m a g e p l o t _ q t _ u p s i d e d o w n / - - i t e r a t e f u n c t o r s t e p s
2022-08-29 04:48:14 +08:00
m a n d e l b r o t
2022-09-25 21:34:05 +08:00
g e o _ c o o r d i n a t e a x i s 0
2023-03-23 20:55:18 +08:00
s e c o n d _ a x i s / s e c o n d _ a x i s , s e c o n d _ a x i s _ h o r
2023-08-04 21:33:03 +08:00
l o g a x e s / l o g a x e s , l o g a x e s _ n o l o g , l o g a x e s _ n o m i n o r g r i d / - - i t e r a t e f u n c t o r s t e p s
2022-08-29 04:48:14 +08:00
#speed
2023-08-14 18:37:22 +08:00
d a t a s t o r e / d a t a s t o r e , d a t a s t o r e _ s i n e , d a t a s t o r e _ l i n k e d c a r r a y , d a t a s t o r e _ m a p , d a t a s t o r e _ c a l c c o l u m n s , d a t a s t o r e _ i m a g e , d a t a s t o r e _ i m a g e _ s o r t e d , d a t a s t o r e _ s i n e i m g / - - i t e r a t e f u n c t o r s t e p s
2023-08-15 15:01:36 +08:00
d a t a s t o r e _ i t e r a t o r s / d a t a s t o r e _ i t e r a t o r s , d a t a s t o r e _ i t e r a t o r s _ c o s i n e , d a t a s t o r e _ i t e r a t o r s _ c o s i n e _ y s o r t e d , d a t a s t o r e _ i t e r a t o r s _ c o s i n e _ y r e p l a c e d , / - - i t e r a t e f u n c t o r s t e p s
d a t a s t o r e _ g r o u p e d s t a t / d a t a s t o r e _ g r o u p e d s t a t , d a t a s t o r e _ g r o u p e d s t a t _ b a r c h a r t r a w d a t a , d a t a s t o r e _ g r o u p e d s t a t _ b a r c h a r t , d a t a s t o r e _ g r o u p e d s t a t _ b o x p l o t , d a t a s t o r e _ g r o u p e d s t a t _ s c a t t e r r a w d a t a , d a t a s t o r e _ g r o u p e d s t a t _ s c a t t e r / - - i t e r a t e f u n c t o r s t e p s
d a t a s t o r e _ r e g r e s s i o n / d a t a s t o r e _ r e g r e s s i o n , d a t a s t o r e _ r e g r e s s i o n _ l i n , d a t a s t o r e _ r e g r e s s i o n _ l i n r o b u s t , d a t a s t o r e _ r e g r e s s i o n _ l i n r o b u s t _ p , d a t a s t o r e _ r e g r e s s i o n _ l i n w e i g h t , d a t a s t o r e _ r e g r e s s i o n _ n o n l i n r e g _ e x p , d a t a s t o r e _ r e g r e s s i o n _ n o n l i n r e g _ p o w , d a t a s t o r e _ r e g r e s s i o n _ p o l y n o m , d a t a s t o r e _ r e g r e s s i o n _ p o l y n o m _ e r r r o s / - - i t e r a t e f u n c t o r s t e p s
d a t a s t o r e _ s t a t i s t i c s / d a t a s t o r e _ s t a t i s t i c s , d a t a s t o r e _ s t a t i s t i c s _ d a t a o n l y , d a t a s t o r e _ s t a t i s t i c s _ b o x p l o t s _ s i m p l e , d a t a s t o r e _ s t a t i s t i c s _ b o x p l o t s _ o u t l i e r s , d a t a s t o r e _ s t a t i s t i c s _ h i s t , d a t a s t o r e _ s t a t i s t i c s _ k d e , d a t a s t o r e _ s t a t i s t i c s _ c u m h i s t k d e / - - i t e r a t e f u n c t o r s t e p s
d a t a s t o r e _ s t a t i s t i c s _ 2 d / d a t a s t o r e _ s t a t i s t i c s _ 2 d
2024-01-05 07:12:48 +08:00
m u l t i t h r e a d e d / m u l t i t h r e a d e d / - - m d f i l e = $ { C M A K E _ C U R R E N T _ L I S T _ D I R } / . . / e x a m p l e s / m u l t i t h r e a d e d / R E A D M E . m d
2024-01-08 21:23:04 +08:00
#"multithreaded_complex[multithreaded]/multithreaded_complex/--mdfile=${CMAKE_CURRENT_LIST_DIR}/../examples/multithreaded/README.md --complexlabel"
2022-08-29 04:48:14 +08:00
)
# custom target that generates the images for the JKQTMathText documentation
set ( JKQTPlotter_GenerateDocImage_DefaultOptions --screenshotdir= "${CMAKE_CURRENT_LIST_DIR}/../doc/images/" --screenshotplot --disablehighdpi )
set ( JKQTPlotter_GenerateDocImages_From
2022-08-30 03:46:38 +08:00
s t a c k e d b a r s / J K Q T P b a r V e r t i c a l G r a p h S t a c k e d , J K Q T P b a r H o r i z o n t a l G r a p h S t a c k e d / - - s m a l l s c r e e n s h o t p l o t
s c a t t e r / J K Q T P X Y S c a t t e r G r a p h , J K Q T P X Y S c a t t e r E r r o r G r a p h / - - s m a l l s c r e e n s h o t p l o t
s i m p l e t e s t / J K Q T P X Y L i n e G r a p h / - - s m a l l s c r e e n s h o t p l o t
2022-11-01 03:34:01 +08:00
b a r c h a r t / J K Q T P B a r V e r t i c a l G r a p h , J K Q T P B a r H o r i z o n t a l G r a p h , J K Q T P B a r V e r t i c a l G r a p h N o B a s e l i n e , J K Q T P B a r H o r i z o n t a l G r a p h N o B a s e l i n e , J K Q T P B a r V e r t i c a l G r a p h B a s e l i n e , J K Q T P B a r H o r i z o n t a l G r a p h B a s e l i n e / - - i t e r a t e f u n c t o r s t e p s - - s m a l l s c r e e n s h o t p l o t
2022-09-10 20:35:16 +08:00
b a r c h a r t _ t w o c o l o r / J K Q T P B a r V e r t i c a l G r a p h T w o C o l o r F i l l i n g , J K Q T P B a r H o r i z o n t a l G r a p h T w o C o l o r F i l l i n g / - - s m a l l s c r e e n s h o t p l o t
2022-09-11 06:06:47 +08:00
b a r c h a r t _ e r r o r b a r s / J K Q T P B a r V e r t i c a l E r r o r G r a p h , J K Q T P B a r H o r i z o n t a l E r r o r G r a p h / - - s m a l l s c r e e n s h o t p l o t
2022-10-22 22:40:44 +08:00
b a r c h a r t _ f u n c t o r f i l l / J K Q T P B a r V e r t i c a l G r a p h F u n c t o r F i l l i n g , J K Q T P B a r H o r i z o n t a l G r a p h F u n c t o r F i l l i n g / - - s m a l l s c r e e n s h o t p l o t
2022-10-29 03:48:42 +08:00
b a r c h a r t _ c u s t o m d r a w f u n c t o r / J K Q T P B a r V e r t i c a l G r a p h C u s t o m D r a w F u n c t o r , J K Q T P B a r H o r i z o n t a l G r a p h C u s t o m D r a w F u n c t o r / - - s m a l l s c r e e n s h o t p l o t
2022-08-29 04:48:14 +08:00
w i g g l e p l o t s / J K Q T P F i l l e d C u r v e X G r a p h _ w i g g l e , J K Q T P F i l l e d C u r v e Y G r a p h _ w i g g l e
2022-08-30 03:46:38 +08:00
c o n t o u r p l o t / J K Q T P C o l u m n C o n t o u r P l o t / - - s m a l l s c r e e n s h o t p l o t
f i l l e d g r a p h s / J K Q T P F i l l e d C u r v e X G r a p h , J K Q T P F i l l e d C u r v e Y G r a p h / - - s m a l l s c r e e n s h o t p l o t
2022-09-11 06:06:47 +08:00
f i l l e d g r a p h s _ e r r o r s / J K Q T P F i l l e d C u r v e X E r r o r G r a p h , J K Q T P F i l l e d C u r v e Y E r r o r G r a p h / - - s m a l l s c r e e n s h o t p l o t
2022-08-30 03:46:38 +08:00
e v a l c u r v e / J K Q T P X Y F u n c t i o n L i n e G r a p h / - - s m a l l s c r e e n s h o t p l o t
2022-09-25 21:34:05 +08:00
g e o _ c o o r d i n a t e a x i s 0 / J K Q T P C o o r d i n a t e A x i s S t y l e D r a w M o d e 0
2022-11-01 03:34:01 +08:00
i m p u l s e s p l o t / J K Q T P I m p u l s e s V e r t i c a l G r a p h , J K Q T P I m p u l s e s V e r t i c a l G r a p h _ S y m b o l s , J K Q T P I m p u l s e s H o r i z o n t a l G r a p h , J K Q T P I m p u l s e s V e r t i c a l E r r o r G r a p h , J K Q T P I m p u l s e s H o r i z o n t a l E r r o r G r a p h , J K Q T P I m p u l s e s V e r t i c a l G r a p h N o B a s e l i n e , J K Q T P I m p u l s e s V e r t i c a l G r a p h _ S y m b o l s N o B a s e l i n e , J K Q T P I m p u l s e s H o r i z o n t a l G r a p h N o B a s e l i n e , J K Q T P I m p u l s e s V e r t i c a l E r r o r G r a p h N o B a s e l i n e , J K Q T P I m p u l s e s H o r i z o n t a l E r r o r G r a p h N o B a s e l i n e , J K Q T P I m p u l s e s V e r t i c a l G r a p h B a s e l i n e , J K Q T P I m p u l s e s V e r t i c a l G r a p h _ S y m b o l s B a s e l i n e , J K Q T P I m p u l s e s H o r i z o n t a l G r a p h B a s e l i n e , J K Q T P I m p u l s e s V e r t i c a l E r r o r G r a p h B a s e l i n e , J K Q T P I m p u l s e s H o r i z o n t a l E r r o r G r a p h B a s e l i n e / - - i t e r a t e f u n c t o r s t e p s - - s m a l l s c r e e n s h o t p l o t
2022-09-26 08:08:01 +08:00
s y m b o l s _ a n d _ e r r o r s / J K Q T P X Y L i n e E r r o r G r a p h _ J K Q T P E r r o r B a r s , J K Q T P X Y L i n e E r r o r G r a p h _ J K Q T P E r r o r L i n e s , J K Q T P X Y L i n e E r r o r G r a p h _ J K Q T P E r r o r P o l y g o n s / - - i t e r a t e f u n c t o r s t e p s - - i t e r a t e f u n c t o r s t e p s _ s u p p r e s s i n i t i a l - - s m a l l s c r e e n s h o t p l o t
b o x p l o t / J K Q T P B o x p l o t V e r t i c a l G r a p h , J K Q T P B o x p l o t H o r i z o n t a l G r a p h / - - i t e r a t e f u n c t o r s t e p s - - i t e r a t e f u n c t o r s t e p s _ s u p p r e s s i n i t i a l - - s m a l l s c r e e n s h o t p l o t
2023-03-23 20:55:18 +08:00
s e c o n d _ a x i s / J K Q T B a s e P l o t t e r _ a d d S e c o n d a r y Y A x i s , J K Q T B a s e P l o t t e r _ a d d S e c o n d a r y X A x i s
2022-08-26 18:31:27 +08:00
)
2022-08-29 04:48:14 +08:00
2022-08-27 04:32:48 +08:00
foreach ( ex ${ JKQTPlotter_GenerateDocScreenshots_From } )
2022-10-31 04:52:30 +08:00
set ( example ${ ex } )
set ( basename ${ ex } )
2024-01-05 07:12:48 +08:00
string ( REGEX MATCH "([^/]+)/([^/]+)" dummy ${ ex } )
2022-08-30 03:46:38 +08:00
set ( extra_command "" )
2022-08-27 04:32:48 +08:00
if ( CMAKE_MATCH_1 STREQUAL "" OR CMAKE_MATCH_2 STREQUAL "" )
set ( example ${ ex } )
set ( basename ${ ex } )
else ( )
set ( example ${ CMAKE_MATCH_1 } )
set ( basename ${ CMAKE_MATCH_2 } )
2022-10-31 04:52:30 +08:00
set ( CMAKE_MATCH_3 "" )
2024-01-05 07:12:48 +08:00
string ( REGEX MATCH "([^/]+)/([^/]*)/(.+)" dummy ${ ex } )
2022-08-30 03:46:38 +08:00
if ( NOT ( CMAKE_MATCH_3 STREQUAL "" ) )
set ( example ${ CMAKE_MATCH_1 } )
set ( basename ${ CMAKE_MATCH_2 } )
set ( extra_command ${ CMAKE_MATCH_3 } )
endif ( )
2022-10-31 04:52:30 +08:00
endif ( )
if ( NOT extra_command STREQUAL "" )
string ( REPLACE "--" ";--" extra_command "${extra_command}" )
2022-08-27 04:32:48 +08:00
endif ( )
2024-01-08 21:23:04 +08:00
set ( example_target ${ example } )
string ( REGEX MATCH "(.+)\\[(.+)\\]" dummy ${ example } )
if ( NOT ( CMAKE_MATCH_2 STREQUAL "" ) )
set ( example ${ CMAKE_MATCH_2 } )
set ( example_target ${ CMAKE_MATCH_1 } )
message ( STATUS "example=${example}, example_target=${example_target}" )
endif ( )
set ( loc_target_name JKQTPlotter_GenerateDocScreenshots_ ${ example_target } )
2022-08-26 18:31:27 +08:00
set ( dep_name jkqtptest_ ${ example } )
2024-01-08 21:23:04 +08:00
set ( tgt_dependecies ${ dep_name } )
if ( NOT ( CMAKE_MATCH_2 STREQUAL "" ) )
set ( tgt_dependecies jkqtptest_ ${ example } JKQTPlotter_GenerateDocScreenshots_ ${ example } )
endif ( )
string ( TOUPPER ${ example_target } example_upper )
2022-08-26 18:31:27 +08:00
add_custom_target ( ${ loc_target_name }
2022-08-27 04:32:48 +08:00
C O M M E N T " B u i l d i n g J K Q T P l o t t e r D o c u m e n t a t i o n S c r e e n s h o t : $ { e x a m p l e _ u p p e r } "
2024-01-08 21:23:04 +08:00
C O M M A N D $ < T A R G E T _ F I L E : $ { d e p _ n a m e } > $ { J K Q T P l o t t e r _ G e n e r a t e D o c S c r e e n s h o t s _ D e f a u l t O p t i o n s } - - s c r e e n s h o t b a s e n a m e = $ { b a s e n a m e } $ { e x t r a _ c o m m a n d } > c : / t e m p / $ { l o c _ t a r g e t _ n a m e } . t x t
2022-08-26 18:31:27 +08:00
W O R K I N G _ D I R E C T O R Y $ { J K Q t P l o t t e r _ Q T _ B I N D I R }
2024-01-08 21:23:04 +08:00
D E P E N D S $ { t g t _ d e p e n d e c i e s }
2022-08-26 18:31:27 +08:00
)
add_dependencies ( JKQTPlotter_GenerateDocScreenshots ${ loc_target_name } )
unset ( loc_target_name )
unset ( dep_name )
2022-08-27 04:32:48 +08:00
unset ( example )
unset ( example_upper )
2024-01-08 21:23:04 +08:00
unset ( example_target )
2022-08-27 04:32:48 +08:00
unset ( basename )
2024-01-08 21:23:04 +08:00
unset ( tgt_dependecies )
2022-08-26 18:31:27 +08:00
endforeach ( )
2022-08-29 04:48:14 +08:00
foreach ( ex ${ JKQTPlotter_GenerateDocImages_From } )
string ( REGEX MATCH "(.+)/(.+)" dummy ${ ex } )
2022-08-30 03:46:38 +08:00
set ( extra_command "" )
2022-08-29 04:48:14 +08:00
if ( CMAKE_MATCH_1 STREQUAL "" OR CMAKE_MATCH_2 STREQUAL "" )
set ( example ${ ex } )
set ( basename ${ ex } )
else ( )
set ( example ${ CMAKE_MATCH_1 } )
set ( basename ${ CMAKE_MATCH_2 } )
2022-08-30 03:46:38 +08:00
string ( REGEX MATCH "(.+)/(.*)/(.+)" dummy ${ ex } )
if ( NOT ( CMAKE_MATCH_3 STREQUAL "" ) )
set ( example ${ CMAKE_MATCH_1 } )
set ( basename ${ CMAKE_MATCH_2 } )
set ( extra_command ${ CMAKE_MATCH_3 } )
endif ( )
2022-08-29 04:48:14 +08:00
endif ( )
2022-09-26 08:08:01 +08:00
if ( NOT extra_command STREQUAL "" )
string ( REPLACE "--" ";--" extra_command "${extra_command}" )
endif ( )
2022-08-29 04:48:14 +08:00
set ( loc_target_name JKQTPlotter_GenerateDocImages_ ${ example } )
set ( dep_name jkqtptest_ ${ example } )
string ( TOUPPER ${ example } example_upper )
add_custom_target ( ${ loc_target_name }
C O M M E N T " B u i l d i n g J K Q T P l o t t e r D o c u m e n t a t i o n I m a g e : $ { e x a m p l e _ u p p e r } "
2022-08-30 03:46:38 +08:00
C O M M A N D $ < T A R G E T _ F I L E : $ { d e p _ n a m e } > $ { J K Q T P l o t t e r _ G e n e r a t e D o c I m a g e _ D e f a u l t O p t i o n s } - - s c r e e n s h o t b a s e n a m e = $ { b a s e n a m e } $ { e x t r a _ c o m m a n d }
2022-08-29 04:48:14 +08:00
W O R K I N G _ D I R E C T O R Y $ { J K Q t P l o t t e r _ Q T _ B I N D I R }
D E P E N D S $ { d e p _ n a m e }
)
add_dependencies ( JKQTPlotter_GenerateDocImages ${ loc_target_name } )
unset ( loc_target_name )
unset ( dep_name )
unset ( example )
unset ( example_upper )
unset ( basename )
endforeach ( )
2022-08-26 18:31:27 +08:00
endif ( )