Files
mathgl/mathgl-examples-install.patch

80 lines
2.3 KiB
Diff
Raw Permalink Normal View History

Index: mathgl-2.4.4+svn1661/examples/CMakeLists.txt
===================================================================
--- mathgl-2.4.4+svn1661.orig/examples/CMakeLists.txt
+++ mathgl-2.4.4+svn1661/examples/CMakeLists.txt
@@ -5,6 +5,10 @@ file(COPY ${CMAKE_SOURCE_DIR}/examples/s
Accepting request 592532 from home:Guillaume_G:branches:openSUSE:Factory:ARM - Update to 2.4.2: (Fix AArch64 build) * Add custom dialog for FLTK widgets. This can be constructed from C/C++ code, or from MGL script using Special commentaries. * Add progress for displaying the progress of execution (by ’#’ symbols in console, or by progress-bar widget). * Add contp for contour lines on parametrically specified surface. * Add flow3 for flow threads of 3D vector field, which start from the plain. * Add variant of flow for drawing a flow thread, starting from specified point. * Add scaletext for disabling text size scaling in relative inplot-s (like columnplot, ...). * Add setup for setting all low-level flags. * Add coil for projecting periodical data. * Add modulo operation ‘%’ (x%y=fmod(x,y)) to the list of known operations in real-valued formulas. * Add style ‘.’ for cont to draw contour lines from saddle points. * Add style ‘.’ for flow to draw flow thread from saddle points. * Add option value in tube for setting number of edges manually. * Crop output of ode if NAN or INFINITY value occurs. * Remove style ‘~’ for plot and tens. Now, all curves try to omit points. * Add setup flag MGL_FULL_CURV which disable omitting points of curve. * Shift axis labels closer to axis. * Change size of LaTeX-like commands \sup, \sub to be the same as \overset, \underset. * Change ticks drawing in colorbar. * Add new section All samples of documentation with large set of samples for most of MathGL features. * Samples in documentation are generated automatically now (from sample.cpp). * INCOMPATIBLE: Make obsolete MGL command setsizescl. At this, the similar C/C++/Fortran/... functions still working. * Bugfixes. - Rebase patch: * mathgl-examples-install.patch OBS-URL: https://build.opensuse.org/request/show/592532 OBS-URL: https://build.opensuse.org/package/show/science/mathgl?expand=0&rev=92
2018-03-30 10:29:17 +00:00
file(COPY ${CMAKE_SOURCE_DIR}/examples/wnd_samples.cpp DESTINATION ${CMAKE_BINARY_DIR}/examples)
add_executable(mgl_example wnd_samples.cpp full_test.cpp samples.cpp)
target_link_libraries(mgl_example mgl-static ${getopt_lib-static})
+install(
+ TARGETS mgl_example
+ RUNTIME DESTINATION bin
+)
Accepting request 592532 from home:Guillaume_G:branches:openSUSE:Factory:ARM - Update to 2.4.2: (Fix AArch64 build) * Add custom dialog for FLTK widgets. This can be constructed from C/C++ code, or from MGL script using Special commentaries. * Add progress for displaying the progress of execution (by ’#’ symbols in console, or by progress-bar widget). * Add contp for contour lines on parametrically specified surface. * Add flow3 for flow threads of 3D vector field, which start from the plain. * Add variant of flow for drawing a flow thread, starting from specified point. * Add scaletext for disabling text size scaling in relative inplot-s (like columnplot, ...). * Add setup for setting all low-level flags. * Add coil for projecting periodical data. * Add modulo operation ‘%’ (x%y=fmod(x,y)) to the list of known operations in real-valued formulas. * Add style ‘.’ for cont to draw contour lines from saddle points. * Add style ‘.’ for flow to draw flow thread from saddle points. * Add option value in tube for setting number of edges manually. * Crop output of ode if NAN or INFINITY value occurs. * Remove style ‘~’ for plot and tens. Now, all curves try to omit points. * Add setup flag MGL_FULL_CURV which disable omitting points of curve. * Shift axis labels closer to axis. * Change size of LaTeX-like commands \sup, \sub to be the same as \overset, \underset. * Change ticks drawing in colorbar. * Add new section All samples of documentation with large set of samples for most of MathGL features. * Samples in documentation are generated automatically now (from sample.cpp). * INCOMPATIBLE: Make obsolete MGL command setsizescl. At this, the similar C/C++/Fortran/... functions still working. * Bugfixes. - Rebase patch: * mathgl-examples-install.patch OBS-URL: https://build.opensuse.org/request/show/592532 OBS-URL: https://build.opensuse.org/package/show/science/mathgl?expand=0&rev=92
2018-03-30 10:29:17 +00:00
if(CMAKE_BUILD_TYPE STREQUAL "Debug" AND CMAKE_COMPILER_IS_GNUCXX AND enable-lcov)
setup_target_for_coverage(
NAME mgl_coverage
@@ -17,17 +21,29 @@ if(MGL_HAVE_FLTK)
include_directories(${FLTK_INCLUDE_DIR})
add_executable(mgl_fltk_example wnd_samples.cpp fltk_example.cpp)
target_link_libraries(mgl_fltk_example mgl-fltk)
+ install(
+ TARGETS mgl_fltk_example
+ RUNTIME DESTINATION bin
+ )
endif(MGL_HAVE_FLTK)
if(MGL_HAVE_GLUT)
add_executable(mgl_glut_example wnd_samples.cpp glut_example.cpp)
target_link_libraries(mgl_glut_example mgl-glut)
+ install(
+ TARGETS mgl_glut_example
+ RUNTIME DESTINATION bin
+ )
endif(MGL_HAVE_GLUT)
if(MGL_HAVE_WX)
include(${wxWidgets_USE_FILE})
add_executable(mgl_wx_example wnd_samples.cpp wx_example.cpp)
target_link_libraries(mgl_wx_example mgl-wx)
+ install(
+ TARGETS mgl_wx_example
+ RUNTIME DESTINATION bin
+ )
endif(MGL_HAVE_WX)
if(QT_ENABLED)
@@ -35,17 +51,33 @@ if(QT_ENABLED)
if(enable-qt5)
Accepting request 517396 from home:badshah400:branches:science - Update to version 2.4.1: * Add beltc plot, which is belt with manual coloring. * Add style '~' for plot and tens to omit some points at output. * Add style ':' for axis to draw lines through point (0,0,0). * Miscellaneous bugfixes. - Changes from version 2.4.0: * Add mgllab executable, which is FLTK based version of UDAV. * Add string manipulation in MGL language: - 'str'[n] - get string of only n-th symbol; - 'str'+v - add value v to the last character of the string; - 'str',val or 'str',!val - append numeric value to the string * Add time value to MGL language in format: 'hh-mm-ss_DD.MM.YYYY' or 'hh-mm-ss' or 'DD.MM.YYYY'. * Add iris plot to show cross-dependencies of several data arrays. * Add flame2d to draw flame fractals. * Add bbox to set bounding box for 2D output. * Add section to get part of data between specified values. * Add detect to found curves along data maximums. * Add dilate to extend the region of 1-th value. * Add erode to narrow the region of 1-th value. * Add apde to solve PDE equation in inhomogeneous nonlinear media with spatial dispersion. * Add symbol to draw the glyphs defined by addsymbol. * Add addsymbol to declare user-defined symbol (or glyph), which can be used as markers for plot (with style '&') or drawn itself by symbol command. * Add openhdf to open all data arrays from HDF file. * Extend crop to cut to optimal size for FFT (i.e. to closest of 2^n*3^m*5^l). OBS-URL: https://build.opensuse.org/request/show/517396 OBS-URL: https://build.opensuse.org/package/show/science/mathgl?expand=0&rev=83
2017-08-22 19:15:00 +00:00
include(../scripts/qt5.cmake)
target_link_libraries(mgl_qt_example mgl-qt5)
+ install(
+ TARGETS mgl_qt_example
+ RUNTIME DESTINATION bin
+ )
else(enable-qt5)
Accepting request 517396 from home:badshah400:branches:science - Update to version 2.4.1: * Add beltc plot, which is belt with manual coloring. * Add style '~' for plot and tens to omit some points at output. * Add style ':' for axis to draw lines through point (0,0,0). * Miscellaneous bugfixes. - Changes from version 2.4.0: * Add mgllab executable, which is FLTK based version of UDAV. * Add string manipulation in MGL language: - 'str'[n] - get string of only n-th symbol; - 'str'+v - add value v to the last character of the string; - 'str',val or 'str',!val - append numeric value to the string * Add time value to MGL language in format: 'hh-mm-ss_DD.MM.YYYY' or 'hh-mm-ss' or 'DD.MM.YYYY'. * Add iris plot to show cross-dependencies of several data arrays. * Add flame2d to draw flame fractals. * Add bbox to set bounding box for 2D output. * Add section to get part of data between specified values. * Add detect to found curves along data maximums. * Add dilate to extend the region of 1-th value. * Add erode to narrow the region of 1-th value. * Add apde to solve PDE equation in inhomogeneous nonlinear media with spatial dispersion. * Add symbol to draw the glyphs defined by addsymbol. * Add addsymbol to declare user-defined symbol (or glyph), which can be used as markers for plot (with style '&') or drawn itself by symbol command. * Add openhdf to open all data arrays from HDF file. * Extend crop to cut to optimal size for FFT (i.e. to closest of 2^n*3^m*5^l). OBS-URL: https://build.opensuse.org/request/show/517396 OBS-URL: https://build.opensuse.org/package/show/science/mathgl?expand=0&rev=83
2017-08-22 19:15:00 +00:00
include(../scripts/qt4.cmake)
target_link_libraries(mgl_qt_example mgl-qt4)
+ install(
+ TARGETS mgl_qt_example
+ RUNTIME DESTINATION bin
+ )
endif(enable-qt5)
if(MGL_HAVE_OPENGL)
add_executable(mgl_qgl_example wnd_samples.cpp qgl_example.cpp)
if(enable-qt5)
target_link_libraries(mgl_qgl_example mgl ${MGL_QT5_LIBS})
+ install(
+ TARGETS mgl_qgl_example
+ RUNTIME DESTINATION bin
+ )
else(enable-qt5)
target_link_libraries(mgl_qgl_example mgl ${MGL_QT4_LIBS})
+ install(
+ TARGETS mgl_qgl_example
+ RUNTIME DESTINATION bin
+ )
endif(enable-qt5)
endif(MGL_HAVE_OPENGL)
endif(QT_ENABLED)