2024-01-15 20:38:50 +08:00
|
|
|
cmake_minimum_required(VERSION 3.23)
|
2019-06-21 04:24:47 +08:00
|
|
|
|
2022-07-23 19:59:23 +08:00
|
|
|
|
2019-06-21 04:24:47 +08:00
|
|
|
message( STATUS )
|
|
|
|
message( STATUS "............................................................................." )
|
|
|
|
message( STATUS ".. BUILDING EXAMPLES" )
|
|
|
|
message( STATUS "............................................................................." )
|
2022-07-23 19:59:23 +08:00
|
|
|
if(CImg_FOUND)
|
|
|
|
message( STATUS ".. - CIMG available: BUILDING CImg-binding examples" )
|
|
|
|
else()
|
|
|
|
message( STATUS ".. - CIMG NOT available: SKIPPING CImg-binding examples" )
|
|
|
|
endif()
|
|
|
|
if(OpenCV_FOUND)
|
|
|
|
message( STATUS ".. - OpenCV available: BUILDING OpenCV-binding examples" )
|
|
|
|
else()
|
|
|
|
message( STATUS ".. - OpenCV NOT available: SKIPPING OpenCV-binding examples" )
|
|
|
|
endif()
|
|
|
|
if (JKQtPlotter_BUILD_WITH_PRECOMPILED_HEADERS)
|
|
|
|
message( STATUS ".. - Precompiled Header: ON" )
|
|
|
|
else()
|
|
|
|
message( STATUS ".. - Precompiled Header: OFF")
|
|
|
|
endif()
|
2019-06-21 04:24:47 +08:00
|
|
|
|
2022-07-23 19:59:23 +08:00
|
|
|
message( STATUS "............................................................................." )
|
2022-07-23 03:41:07 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
2022-08-26 18:31:27 +08:00
|
|
|
# examples for libexampletools
|
|
|
|
message( STATUS ".. BUILDING EXAMPLE TOOLS LIB:" )
|
|
|
|
add_subdirectory(libexampletools)
|
|
|
|
|
NEW/BREAKING: provide general targets JKQTPlotter5/6::JKQTPlotter5/6, JKQTPlotter5/6::JKQTMathText5/6, ... which are independent of the type of build (shared/static)
NEW/BREAKING: refactor CMake-Code, so static/dynamic switch is done via <code>BUILD_SHARED_LIBS</code>, which retires <code>JKQtPlotter_BUILD_STATIC_LIBS</code>, <code>JKQtPlotter_BUILD_SHARED_LIBS</code> and removes the capability to build static and shared libraries in one location (fixes issue #104)
NEW: prepareed library for CMake's <a href="https://cmake.org/cmake/help/latest/module/FetchContent.html">FetchContent</a>-API
NEW: the different sub-libraries JKQTPlotter, JKQTFastPlotter (DEPRECATED), JKQTMath, JKQTMathText can be activated/deactivated with CMake options JKQtPlotter_BUILD_LIB_JKQTPLOTTER, JKQtPlotter_BUILD_LIB_JKQTFASTPLOTTER, JKQtPlotter_BUILD_LIB_JKQTMATHTEXT, JKQtPlotter_BUILD_LIB_JKQTMATH
2024-01-16 20:05:52 +08:00
|
|
|
if (JKQtPlotter_BUILD_LIB_JKQTFASTPLOTTER)
|
|
|
|
# examples for JKQtFastPlotter
|
|
|
|
message( STATUS ".. BUILDING EXAMPLES FOR JKQTFASTPLOTTER:" )
|
|
|
|
add_subdirectory(jkqtfastplotter_test)
|
|
|
|
endif()
|
2022-08-26 18:31:27 +08:00
|
|
|
|
NEW/BREAKING: provide general targets JKQTPlotter5/6::JKQTPlotter5/6, JKQTPlotter5/6::JKQTMathText5/6, ... which are independent of the type of build (shared/static)
NEW/BREAKING: refactor CMake-Code, so static/dynamic switch is done via <code>BUILD_SHARED_LIBS</code>, which retires <code>JKQtPlotter_BUILD_STATIC_LIBS</code>, <code>JKQtPlotter_BUILD_SHARED_LIBS</code> and removes the capability to build static and shared libraries in one location (fixes issue #104)
NEW: prepareed library for CMake's <a href="https://cmake.org/cmake/help/latest/module/FetchContent.html">FetchContent</a>-API
NEW: the different sub-libraries JKQTPlotter, JKQTFastPlotter (DEPRECATED), JKQTMath, JKQTMathText can be activated/deactivated with CMake options JKQtPlotter_BUILD_LIB_JKQTPLOTTER, JKQtPlotter_BUILD_LIB_JKQTFASTPLOTTER, JKQtPlotter_BUILD_LIB_JKQTMATHTEXT, JKQtPlotter_BUILD_LIB_JKQTMATH
2024-01-16 20:05:52 +08:00
|
|
|
if (JKQtPlotter_BUILD_LIB_JKQTMATHTEXT)
|
|
|
|
# examples specific to JKQtMathText
|
|
|
|
message( STATUS ".. BUILDING EXAMPLES FOR JKQTMATHTEXT:" )
|
|
|
|
add_subdirectory(jkqtmathtext_simpletest)
|
|
|
|
add_subdirectory(jkqtmathtext_test)
|
|
|
|
endif()
|
2019-06-21 04:24:47 +08:00
|
|
|
|
NEW/BREAKING: provide general targets JKQTPlotter5/6::JKQTPlotter5/6, JKQTPlotter5/6::JKQTMathText5/6, ... which are independent of the type of build (shared/static)
NEW/BREAKING: refactor CMake-Code, so static/dynamic switch is done via <code>BUILD_SHARED_LIBS</code>, which retires <code>JKQtPlotter_BUILD_STATIC_LIBS</code>, <code>JKQtPlotter_BUILD_SHARED_LIBS</code> and removes the capability to build static and shared libraries in one location (fixes issue #104)
NEW: prepareed library for CMake's <a href="https://cmake.org/cmake/help/latest/module/FetchContent.html">FetchContent</a>-API
NEW: the different sub-libraries JKQTPlotter, JKQTFastPlotter (DEPRECATED), JKQTMath, JKQTMathText can be activated/deactivated with CMake options JKQtPlotter_BUILD_LIB_JKQTPLOTTER, JKQtPlotter_BUILD_LIB_JKQTFASTPLOTTER, JKQtPlotter_BUILD_LIB_JKQTMATHTEXT, JKQtPlotter_BUILD_LIB_JKQTMATH
2024-01-16 20:05:52 +08:00
|
|
|
if (JKQtPlotter_BUILD_LIB_JKQTPLOTTER)
|
|
|
|
# examples for JKQtPlotter
|
|
|
|
message( STATUS ".. BUILDING EXAMPLES FOR JKQTPLOTTER:" )
|
|
|
|
# needs to be first for Precompiled Headers to work
|
|
|
|
add_subdirectory(simpletest)
|
2019-06-21 04:24:47 +08:00
|
|
|
|
NEW/BREAKING: provide general targets JKQTPlotter5/6::JKQTPlotter5/6, JKQTPlotter5/6::JKQTMathText5/6, ... which are independent of the type of build (shared/static)
NEW/BREAKING: refactor CMake-Code, so static/dynamic switch is done via <code>BUILD_SHARED_LIBS</code>, which retires <code>JKQtPlotter_BUILD_STATIC_LIBS</code>, <code>JKQtPlotter_BUILD_SHARED_LIBS</code> and removes the capability to build static and shared libraries in one location (fixes issue #104)
NEW: prepareed library for CMake's <a href="https://cmake.org/cmake/help/latest/module/FetchContent.html">FetchContent</a>-API
NEW: the different sub-libraries JKQTPlotter, JKQTFastPlotter (DEPRECATED), JKQTMath, JKQTMathText can be activated/deactivated with CMake options JKQtPlotter_BUILD_LIB_JKQTPLOTTER, JKQtPlotter_BUILD_LIB_JKQTFASTPLOTTER, JKQtPlotter_BUILD_LIB_JKQTMATHTEXT, JKQtPlotter_BUILD_LIB_JKQTMATH
2024-01-16 20:05:52 +08:00
|
|
|
add_subdirectory(jkqtplot_test)
|
|
|
|
add_subdirectory(advplotstyling)
|
|
|
|
add_subdirectory(barchart)
|
|
|
|
add_subdirectory(boxplot)
|
|
|
|
add_subdirectory(barchart_errorbars)
|
|
|
|
add_subdirectory(barchart_functorfill)
|
|
|
|
add_subdirectory(barchart_twocolor)
|
|
|
|
add_subdirectory(barchart_customdrawfunctor)
|
|
|
|
add_subdirectory(contourplot)
|
|
|
|
add_subdirectory(datastore)
|
|
|
|
add_subdirectory(datastore_groupedstat)
|
|
|
|
add_subdirectory(datastore_iterators)
|
|
|
|
add_subdirectory(datastore_regression)
|
|
|
|
add_subdirectory(datastore_statistics)
|
|
|
|
add_subdirectory(datastore_statistics_2d)
|
|
|
|
add_subdirectory(dateaxes)
|
|
|
|
add_subdirectory(distributionplot)
|
|
|
|
add_subdirectory(errorbarstyles)
|
|
|
|
add_subdirectory(evalcurve)
|
|
|
|
add_subdirectory(filledgraphs)
|
|
|
|
add_subdirectory(filledgraphs_errors)
|
2024-02-11 21:18:50 +08:00
|
|
|
add_subdirectory(financialgraphs)
|
NEW/BREAKING: provide general targets JKQTPlotter5/6::JKQTPlotter5/6, JKQTPlotter5/6::JKQTMathText5/6, ... which are independent of the type of build (shared/static)
NEW/BREAKING: refactor CMake-Code, so static/dynamic switch is done via <code>BUILD_SHARED_LIBS</code>, which retires <code>JKQtPlotter_BUILD_STATIC_LIBS</code>, <code>JKQtPlotter_BUILD_SHARED_LIBS</code> and removes the capability to build static and shared libraries in one location (fixes issue #104)
NEW: prepareed library for CMake's <a href="https://cmake.org/cmake/help/latest/module/FetchContent.html">FetchContent</a>-API
NEW: the different sub-libraries JKQTPlotter, JKQTFastPlotter (DEPRECATED), JKQTMath, JKQTMathText can be activated/deactivated with CMake options JKQtPlotter_BUILD_LIB_JKQTPLOTTER, JKQtPlotter_BUILD_LIB_JKQTFASTPLOTTER, JKQtPlotter_BUILD_LIB_JKQTMATHTEXT, JKQtPlotter_BUILD_LIB_JKQTMATH
2024-01-16 20:05:52 +08:00
|
|
|
add_subdirectory(functionplot)
|
|
|
|
add_subdirectory(geo_arrows)
|
2024-02-14 06:49:23 +08:00
|
|
|
add_subdirectory(geo_bezier)
|
NEW/BREAKING: provide general targets JKQTPlotter5/6::JKQTPlotter5/6, JKQTPlotter5/6::JKQTMathText5/6, ... which are independent of the type of build (shared/static)
NEW/BREAKING: refactor CMake-Code, so static/dynamic switch is done via <code>BUILD_SHARED_LIBS</code>, which retires <code>JKQtPlotter_BUILD_STATIC_LIBS</code>, <code>JKQtPlotter_BUILD_SHARED_LIBS</code> and removes the capability to build static and shared libraries in one location (fixes issue #104)
NEW: prepareed library for CMake's <a href="https://cmake.org/cmake/help/latest/module/FetchContent.html">FetchContent</a>-API
NEW: the different sub-libraries JKQTPlotter, JKQTFastPlotter (DEPRECATED), JKQTMath, JKQTMathText can be activated/deactivated with CMake options JKQtPlotter_BUILD_LIB_JKQTPLOTTER, JKQtPlotter_BUILD_LIB_JKQTFASTPLOTTER, JKQtPlotter_BUILD_LIB_JKQTMATHTEXT, JKQtPlotter_BUILD_LIB_JKQTMATH
2024-01-16 20:05:52 +08:00
|
|
|
add_subdirectory(geo_simple)
|
|
|
|
add_subdirectory(geo_coordinateaxis0)
|
|
|
|
add_subdirectory(geometric)
|
2024-02-06 21:49:14 +08:00
|
|
|
add_subdirectory(graphlabels)
|
NEW/BREAKING: provide general targets JKQTPlotter5/6::JKQTPlotter5/6, JKQTPlotter5/6::JKQTMathText5/6, ... which are independent of the type of build (shared/static)
NEW/BREAKING: refactor CMake-Code, so static/dynamic switch is done via <code>BUILD_SHARED_LIBS</code>, which retires <code>JKQtPlotter_BUILD_STATIC_LIBS</code>, <code>JKQtPlotter_BUILD_SHARED_LIBS</code> and removes the capability to build static and shared libraries in one location (fixes issue #104)
NEW: prepareed library for CMake's <a href="https://cmake.org/cmake/help/latest/module/FetchContent.html">FetchContent</a>-API
NEW: the different sub-libraries JKQTPlotter, JKQTFastPlotter (DEPRECATED), JKQTMath, JKQTMathText can be activated/deactivated with CMake options JKQtPlotter_BUILD_LIB_JKQTPLOTTER, JKQtPlotter_BUILD_LIB_JKQTFASTPLOTTER, JKQtPlotter_BUILD_LIB_JKQTMATHTEXT, JKQtPlotter_BUILD_LIB_JKQTMATH
2024-01-16 20:05:52 +08:00
|
|
|
add_subdirectory(imageplot)
|
|
|
|
add_subdirectory(imageplot_cimg)
|
|
|
|
add_subdirectory(imageplot_modifier)
|
|
|
|
add_subdirectory(imageplot_nodatastore)
|
|
|
|
add_subdirectory(imageplot_opencv)
|
|
|
|
add_subdirectory(imageplot_userpal)
|
|
|
|
add_subdirectory(impulsesplot)
|
|
|
|
add_subdirectory(logaxes)
|
|
|
|
add_subdirectory(mandelbrot)
|
|
|
|
add_subdirectory(multiplot)
|
|
|
|
add_subdirectory(multithreaded)
|
|
|
|
add_subdirectory(parametriccurve)
|
|
|
|
add_subdirectory(paramscatterplot)
|
|
|
|
add_subdirectory(paramscatterplot_image)
|
|
|
|
add_subdirectory(paramscatterplot_customsymbol)
|
|
|
|
add_subdirectory(parsedfunctionplot)
|
2024-02-10 07:26:45 +08:00
|
|
|
add_subdirectory(paramvectorfield)
|
NEW/BREAKING: provide general targets JKQTPlotter5/6::JKQTPlotter5/6, JKQTPlotter5/6::JKQTMathText5/6, ... which are independent of the type of build (shared/static)
NEW/BREAKING: refactor CMake-Code, so static/dynamic switch is done via <code>BUILD_SHARED_LIBS</code>, which retires <code>JKQtPlotter_BUILD_STATIC_LIBS</code>, <code>JKQtPlotter_BUILD_SHARED_LIBS</code> and removes the capability to build static and shared libraries in one location (fixes issue #104)
NEW: prepareed library for CMake's <a href="https://cmake.org/cmake/help/latest/module/FetchContent.html">FetchContent</a>-API
NEW: the different sub-libraries JKQTPlotter, JKQTFastPlotter (DEPRECATED), JKQTMath, JKQTMathText can be activated/deactivated with CMake options JKQtPlotter_BUILD_LIB_JKQTPLOTTER, JKQtPlotter_BUILD_LIB_JKQTFASTPLOTTER, JKQtPlotter_BUILD_LIB_JKQTMATHTEXT, JKQtPlotter_BUILD_LIB_JKQTMATH
2024-01-16 20:05:52 +08:00
|
|
|
add_subdirectory(rgbimageplot)
|
|
|
|
add_subdirectory(rgbimageplot_cimg)
|
|
|
|
add_subdirectory(rgbimageplot_opencv)
|
|
|
|
add_subdirectory(rgbimageplot_qt)
|
|
|
|
add_subdirectory(scatter)
|
|
|
|
add_subdirectory(scatter_customsymbol)
|
|
|
|
add_subdirectory(second_axis)
|
|
|
|
add_subdirectory(speed)
|
|
|
|
add_subdirectory(stackedbars)
|
|
|
|
add_subdirectory(stepplots)
|
|
|
|
add_subdirectory(styledboxplot)
|
|
|
|
add_subdirectory(styling)
|
|
|
|
add_subdirectory(symbols_and_errors)
|
|
|
|
add_subdirectory(symbols_and_styles)
|
|
|
|
add_subdirectory(ui)
|
2024-09-18 20:37:46 +08:00
|
|
|
add_subdirectory(ui_bind_scrollbar)
|
NEW/BREAKING: provide general targets JKQTPlotter5/6::JKQTPlotter5/6, JKQTPlotter5/6::JKQTMathText5/6, ... which are independent of the type of build (shared/static)
NEW/BREAKING: refactor CMake-Code, so static/dynamic switch is done via <code>BUILD_SHARED_LIBS</code>, which retires <code>JKQtPlotter_BUILD_STATIC_LIBS</code>, <code>JKQtPlotter_BUILD_SHARED_LIBS</code> and removes the capability to build static and shared libraries in one location (fixes issue #104)
NEW: prepareed library for CMake's <a href="https://cmake.org/cmake/help/latest/module/FetchContent.html">FetchContent</a>-API
NEW: the different sub-libraries JKQTPlotter, JKQTFastPlotter (DEPRECATED), JKQTMath, JKQTMathText can be activated/deactivated with CMake options JKQtPlotter_BUILD_LIB_JKQTPLOTTER, JKQtPlotter_BUILD_LIB_JKQTFASTPLOTTER, JKQtPlotter_BUILD_LIB_JKQTMATHTEXT, JKQtPlotter_BUILD_LIB_JKQTMATH
2024-01-16 20:05:52 +08:00
|
|
|
add_subdirectory(user_interaction)
|
2024-02-09 04:52:30 +08:00
|
|
|
add_subdirectory(vectorfield)
|
NEW/BREAKING: provide general targets JKQTPlotter5/6::JKQTPlotter5/6, JKQTPlotter5/6::JKQTMathText5/6, ... which are independent of the type of build (shared/static)
NEW/BREAKING: refactor CMake-Code, so static/dynamic switch is done via <code>BUILD_SHARED_LIBS</code>, which retires <code>JKQtPlotter_BUILD_STATIC_LIBS</code>, <code>JKQtPlotter_BUILD_SHARED_LIBS</code> and removes the capability to build static and shared libraries in one location (fixes issue #104)
NEW: prepareed library for CMake's <a href="https://cmake.org/cmake/help/latest/module/FetchContent.html">FetchContent</a>-API
NEW: the different sub-libraries JKQTPlotter, JKQTFastPlotter (DEPRECATED), JKQTMath, JKQTMathText can be activated/deactivated with CMake options JKQtPlotter_BUILD_LIB_JKQTPLOTTER, JKQtPlotter_BUILD_LIB_JKQTFASTPLOTTER, JKQtPlotter_BUILD_LIB_JKQTMATHTEXT, JKQtPlotter_BUILD_LIB_JKQTMATH
2024-01-16 20:05:52 +08:00
|
|
|
add_subdirectory(violinplot)
|
|
|
|
add_subdirectory(wiggleplots)
|
|
|
|
endif()
|