/usr/share/doc/libplplot11/examples/cmake/modules/plplot_configure.cmake is in libplplot-dev 5.9.9-2ubuntu2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 | # -*- mode: cmake -*-
# This file used to configure CMake variables that are used to build the
# installed examples.
# Identify that this is the build system for the installed examples.
set(BUILD_TEST ON)
set(CORE_BUILD OFF)
# =======================================================================
# pkg-config support as well as macros to put link flags in standard
# *.pc (pkg-config) form as well as standard fullpath form used by cmake.
# PKG_CONFIG_EXECUTABLE can be used to discover whether pkg-config was
# found or not.
# =======================================================================
include(pkg-config)
set(LIB_TAG "d")
set(INCLUDE_DIR "/usr/include/plplot")
set(MATH_LIB /usr/lib/x86_64-linux-gnu/libm.so)
set(SH_EXECUTABLE /bin/bash)
set(language_info_LIST ada:ada:a;c:c:c;cxx:c++:cxx;d:d:d;f77:f77:f;f95:f95:f95;java:java:j;lua:lua:lua;ocaml:ocaml:ocaml;octave:octave:o;pdl:perl:pdl;python:python:p;tcl:tcl:t)
# This list of set commands must be consistent with language_info_LIST
# set in examples/CMakeLists.txt and configured just above. Thus,
# some consistent maintenance of that list and the current list of set
# commands must be done on the rare occasions when a language is added
# to PLplot. Cannot make the list of set commands automatically with
# a foreach loop because explicit configuration of each name is required.
set(ENABLE_ada ON)
set(ENABLE_c ON)
set(ENABLE_cxx ON)
set(ENABLE_d ON)
set(ENABLE_f77 ON)
set(ENABLE_f95 ON)
set(ENABLE_java ON)
set(ENABLE_lua ON)
set(ENABLE_ocaml ON)
set(ENABLE_octave ON)
set(ENABLE_pdl OFF)
set(ENABLE_python ON)
set(ENABLE_pyqt4 ON)
set(ENABLE_tcl ON)
# Interactive bindings
set(ENABLE_tk ON)
set(ENABLE_gnome2 OFF)
set(ENABLE_wxwidgets ON)
set(ENABLE_qt ON)
if(ENABLE_python)
set(ENABLE_pygcw OFF)
endif(ENABLE_python)
# Check for all officially supported CMake compilers that we use with
# soft-landing support.
include(language_support)
# First field is lower-case language string, second field is
# mixed-case language string used for official CMake variables, third
# field is language string to be used in output messages, and final
# field is whether it is a fatal error if this language is missing/not
# working.
set(COMPILED_LANGUAGE_INFO_LIST
"c:C:C:ON"
"ada:Ada:Ada:OFF"
"cxx:CXX:C++:OFF"
"d:D:D:OFF"
"f77:Fortran:Fortran:OFF"
"f95:Fortran:Fortran:OFF"
"java:Java:Java:OFF"
)
foreach(COMPILED_LANGUAGE_INFO ${COMPILED_LANGUAGE_INFO_LIST})
string(REGEX REPLACE "^(.*):.*:.*:.*$" "\\1" language ${COMPILED_LANGUAGE_INFO})
string(REGEX REPLACE "^.*:(.*):.*:.*$" "\\1" Language ${COMPILED_LANGUAGE_INFO})
string(REGEX REPLACE "^.*:.*:(.*):.*$" "\\1" language_output ${COMPILED_LANGUAGE_INFO})
string(REGEX REPLACE "^.*:.*:.*:(.*)$" "\\1" fatal_language ${COMPILED_LANGUAGE_INFO})
if(ENABLE_${language} AND NOT PLPLOT_${Language}_COMPILER_WORKS)
workaround_9220(${Language} PLPLOT_${Language}_COMPILER_WORKS)
if(NOT PLPLOT_${Language}_COMPILER_WORKS)
if(fatal_language)
message(FATAL_ERROR "${language_output} compiler absolutely required to build this project.")
endif(fatal_language)
message(STATUS "WARNING: no working ${language_output} compiler so disabling ${language} examples.")
set(ENABLE_${language} OFF CACHE BOOL "Enable ${language} bindings" FORCE)
endif(NOT PLPLOT_${Language}_COMPILER_WORKS)
endif(ENABLE_${language} AND NOT PLPLOT_${Language}_COMPILER_WORKS)
if(ENABLE_${language})
# Find and check ${Language} compiler
enable_language(${Language} OPTIONAL)
if(NOT CMAKE_${Language}_COMPILER_WORKS)
if(fatal_language)
message(FATAL_ERROR "${language_output} compiler absolutely required to build this project.")
endif(fatal_language)
message(STATUS "WARNING: no working ${language_output} compiler so disabling ${language} examples.")
set(ENABLE_${language} OFF CACHE BOOL "Enable ${language} bindings" FORCE)
endif(NOT CMAKE_${Language}_COMPILER_WORKS)
endif(ENABLE_${language})
endforeach(COMPILED_LANGUAGE_INFO ${COMPILED_LANGUAGE_INFO_LIST})
if(ENABLE_ada)
set(ADA_INCLUDE_DIR "/usr/share/ada/adainclude/plplotadad")
set(ADA_LIB_DIR "/usr/lib/ada/adalib/plplotadad")
endif(ENABLE_ada)
if(ENABLE_f77)
set(STATIC_OPTS OFF)
set(F77_INCLUDE_DIR /usr/lib/fortran/include/plplot)
endif(ENABLE_f77)
if(ENABLE_f95)
set(STATIC_OPTS OFF)
set(F95_MOD_DIR "/usr/lib/fortran/modules/plplot")
endif(ENABLE_f95)
if(ENABLE_java)
find_package(JNI)
set(JAR_DIR "/usr/share/java")
endif(ENABLE_java)
if(ENABLE_ocaml)
set(OCAMLC /usr/bin/ocamlc)
set(OCAMLOPT /usr/bin/ocamlopt)
set(OCAMLFIND /usr/bin/ocamlfind)
set(OCAML_HAS_CAIRO ON)
set(OCAML_HAS_GTK ON)
set(CMAKE_INSTALL_LIBDIR "/usr/lib")
set(OCAML_INSTALL_DIR "/usr/lib/ocaml")
endif(ENABLE_ocaml)
if(ENABLE_tcl OR ENABLE_tk)
set(TCL_TCLSH /usr/bin/tclsh8.5)
set(MKTCLINDEX /build/buildd/plplot-5.9.9/scripts/mktclIndex)
set(MKTCLINDEX_ARGS -itcl)
endif(ENABLE_tcl OR ENABLE_tk)
if(ENABLE_tk)
set(ENABLE_itk ON)
set(TCL_INCLUDE_PATH /usr/include/tcl8.5)
set(TK_INCLUDE_PATH /usr/include/tcl8.5;/usr/include)
endif(ENABLE_tk)
if(ENABLE_wxwidgets)
# Use identical compile and link flags to build wxwidgets application.
set(wxwidgets_COMPILE_FLAGS "-I/usr/lib/x86_64-linux-gnu/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -I/usr/include/freetype2")
set(wxwidgets_LINK_FLAGS -pthread;-Wl,-Bsymbolic-functions;-Wl,-z,relro;/usr/lib/x86_64-linux-gnu/libwx_baseu-2.8.so;/usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-2.8.so;/usr/lib/x86_64-linux-gnu/libfreetype.so)
endif(ENABLE_wxwidgets)
if(ENABLE_qt)
set(CORE_QT_VERSION_MAJOR 4)
set(CORE_QT_VERSION_MINOR 8)
set(CORE_QT_VERSION_PATCH 0)
endif(ENABLE_qt)
set(ENABLE_DYNDRIVERS ON)
set(FILE_DEVICES_LIST pdfcairo:cairo:OFF;pngcairo:cairo:ON;pscairo:cairo:OFF;svgcairo:cairo:ON;epsqt:qt:ON;pdfqt:qt:ON;bmpqt:qt:ON;jpgqt:qt:ON;pngqt:qt:ON;ppmqt:qt:ON;tiffqt:qt:ON;svgqt:qt:ON;gif:gd:ON;jpeg:gd:ON;png:gd:ON;ps:ps:OFF;svg:svg:ON;xfig:xfig:ON)
# This list of set commands must be consistent with the above list which
# implies a maintenance issue.
set(PLD_pdfcairo ON)
set(PLD_pngcairo ON)
set(PLD_pscairo ON)
set(PLD_svgcairo ON)
set(PLD_cgm OFF)
set(PLD_dg300 )
set(PLD_epsqt ON)
set(PLD_pdfqt ON)
set(PLD_bmpqt ON)
set(PLD_jpgqt ON)
set(PLD_pngqt ON)
set(PLD_ppmqt ON)
set(PLD_tiffqt ON)
set(PLD_svgqt ON)
set(PLD_gif ON)
set(PLD_jpeg ON)
set(PLD_png ON)
set(PLD_hp7470 )
set(PLD_hp7580 )
set(PLD_lj_hpgl )
set(PLD_imp )
set(PLD_ljii )
set(PLD_ljiip )
set(PLD_pbm )
set(PLD_pdf OFF)
set(PLD_ps ON)
set(PLD_pstex OFF)
set(PLD_psttf OFF)
set(PLD_svg ON)
set(PLD_tek4010f )
set(PLD_tek4107f )
set(PLD_wxpng OFF)
set(PLD_xfig ON)
# These only used for testing, but not core build
set(PLD_psc ON)
set(PLD_psttfc OFF)
set(INTERACTIVE_DEVICES_LIST xcairo:cairo;qtwidget:qt;tk:tk;wxwidgets:wxwidgets;xwin:xwin)
# Set interactive devices that are needed to build certain examples. This
# list should be consistent with INTERACTIVE_DEVICES_LIST which implies a
# maintenance issue.
set(PLD_aqt OFF)
set(PLD_gcw OFF)
set(PLD_ntk OFF)
set(PLD_qtwidget ON)
set(PLD_tk ON)
set(PLD_wincairo OFF)
set(PLD_wingcc OFF)
set(PLD_wxwidgets ON)
set(PLD_xcairo ON)
set(PLD_xwin ON)
# Set external devices that are needed to build certain examples.
set(PLD_extcairo ON)
set(PLD_extqt ON)
# Needed to check if diff and tail on system for test_diff_psc target.
set(DIFF_EXECUTABLE /usr/bin/diff)
set(TAIL_EXECUTABLE /usr/bin/tail)
set(CMP_EXECUTABLE /usr/bin/cmp)
|