|
From: <ai...@us...> - 2009-06-28 22:42:15
|
Revision: 10093
http://plplot.svn.sourceforge.net/plplot/?rev=10093&view=rev
Author: airwin
Date: 2009-06-28 22:42:13 +0000 (Sun, 28 Jun 2009)
Log Message:
-----------
Fix indentation.
Modified Paths:
--------------
trunk/examples/plplot_configure.cmake_installed_examples.in
Modified: trunk/examples/plplot_configure.cmake_installed_examples.in
===================================================================
--- trunk/examples/plplot_configure.cmake_installed_examples.in 2009-06-28 22:39:22 UTC (rev 10092)
+++ trunk/examples/plplot_configure.cmake_installed_examples.in 2009-06-28 22:42:13 UTC (rev 10093)
@@ -92,200 +92,200 @@
else(CORE_ENABLE_${language})
set(ENABLE_${language} OFF CACHE BOOL "Enable ${language} bindings" FORCE)
endif(CORE_ENABLE_${language})
- endif(language STREQUAL "c")
- endforeach(language_info ${language_info_LIST})
+ endif(language STREQUAL "c")
+endforeach(language_info ${language_info_LIST})
- if(ENABLE_c)
- enable_language(C)
- endif(ENABLE_c)
+if(ENABLE_c)
+ enable_language(C)
+endif(ENABLE_c)
- if(ENABLE_ada)
- enable_language(Ada)
- set(ADA_INCLUDE_DIR @ADA_INCLUDE_DIR@)
- set(ADA_LIB_DIR @ADA_LIB_DIR@)
- endif(ENABLE_ada)
+if(ENABLE_ada)
+ enable_language(Ada)
+ set(ADA_INCLUDE_DIR @ADA_INCLUDE_DIR@)
+ set(ADA_LIB_DIR @ADA_LIB_DIR@)
+endif(ENABLE_ada)
- if(ENABLE_cxx)
- enable_language(CXX)
- endif(ENABLE_cxx)
+if(ENABLE_cxx)
+ enable_language(CXX)
+endif(ENABLE_cxx)
- if(ENABLE_d)
- enable_language(D)
- endif(ENABLE_d)
+if(ENABLE_d)
+ enable_language(D)
+endif(ENABLE_d)
- if(ENABLE_F77 OR ENABLE_f95)
- set(STATIC_OPTS @STATIC_OPTS@)
- enable_language(Fortran)
- endif(ENABLE_F77 OR ENABLE_f95)
+if(ENABLE_F77 OR ENABLE_f95)
+ set(STATIC_OPTS @STATIC_OPTS@)
+ enable_language(Fortran)
+endif(ENABLE_F77 OR ENABLE_f95)
- if(ENABLE_f95)
- set(F95_MOD_DIR @F95_MOD_DIR@)
- endif(ENABLE_f95)
+if(ENABLE_f95)
+ set(F95_MOD_DIR @F95_MOD_DIR@)
+endif(ENABLE_f95)
- if(ENABLE_java)
- enable_language(Java)
- find_package(JNI)
- set(JAR_DIR @JAR_DIR@)
- endif(ENABLE_java)
+if(ENABLE_java)
+ enable_language(Java)
+ find_package(JNI)
+ set(JAR_DIR @JAR_DIR@)
+endif(ENABLE_java)
- if(ENABLE_ocaml)
- set(OCAMLC @OCAMLC@)
- set(CMAKE_INSTALL_LIBDIR @CMAKE_INSTALL_LIBDIR@)
- set(OCAML_INSTALL_DIR @OCAML_INSTALL_DIR@)
- endif(ENABLE_ocaml)
+if(ENABLE_ocaml)
+ set(OCAMLC @OCAMLC@)
+ set(CMAKE_INSTALL_LIBDIR @CMAKE_INSTALL_LIBDIR@)
+ set(OCAML_INSTALL_DIR @OCAML_INSTALL_DIR@)
+endif(ENABLE_ocaml)
- if(ENABLE_python)
- set(ENABLE_pygcw @ENABLE_pygcw@)
- endif(ENABLE_python)
+if(ENABLE_python)
+ set(ENABLE_pygcw @ENABLE_pygcw@)
+endif(ENABLE_python)
- if(ENABLE_tcl OR ENABLE_tk)
- set(TCL_TCLSH @TCL_TCLSH@)
- set(MKTCLINDEX @MKTCLINDEX@)
- set(MKTCLINDEX_ARGS @MKTCLINDEX_ARGS@)
- endif(ENABLE_tcl OR ENABLE_tk)
+if(ENABLE_tcl OR ENABLE_tk)
+ set(TCL_TCLSH @TCL_TCLSH@)
+ set(MKTCLINDEX @MKTCLINDEX@)
+ set(MKTCLINDEX_ARGS @MKTCLINDEX_ARGS@)
+endif(ENABLE_tcl OR ENABLE_tk)
- if(ENABLE_tk)
- set(ENABLE_itk @ENABLE_itk@)
- set(TCL_INCLUDE_PATH @TCL_INCLUDE_PATH@)
- set(TK_INCLUDE_PATH @TK_INCLUDE_PATH@)
- endif(ENABLE_tk)
+if(ENABLE_tk)
+ set(ENABLE_itk @ENABLE_itk@)
+ set(TCL_INCLUDE_PATH @TCL_INCLUDE_PATH@)
+ set(TK_INCLUDE_PATH @TK_INCLUDE_PATH@)
+endif(ENABLE_tk)
- if(ENABLE_wxwidgets)
- # Use identical compile and link flags to build wxwidgets application.
- set(wxwidgets_COMPILE_FLAGS "@wxwidgets_COMPILE_FLAGS@")
- set(wxwidgets_LINK_FLAGS @wxwidgets_LINK_FLAGS@)
- endif(ENABLE_wxwidgets)
+if(ENABLE_wxwidgets)
+ # Use identical compile and link flags to build wxwidgets application.
+ set(wxwidgets_COMPILE_FLAGS "@wxwidgets_COMPILE_FLAGS@")
+ set(wxwidgets_LINK_FLAGS @wxwidgets_LINK_FLAGS@)
+endif(ENABLE_wxwidgets)
- if(ENABLE_qt)
- set(CORE_QT_VERSION_MAJOR @QT_VERSION_MAJOR@)
- set(CORE_QT_VERSION_MINOR @QT_VERSION_MINOR@)
- set(CORE_QT_VERSION_PATCH @QT_VERSION_PATCH@)
- endif(ENABLE_qt)
+if(ENABLE_qt)
+ set(CORE_QT_VERSION_MAJOR @QT_VERSION_MAJOR@)
+ set(CORE_QT_VERSION_MINOR @QT_VERSION_MINOR@)
+ set(CORE_QT_VERSION_PATCH @QT_VERSION_PATCH@)
+endif(ENABLE_qt)
- # List of all devices that will be used for noninteractive device tests.
- # Exclude some devices (linuxvga, conex?) in plplot-test.sh
- # where it is likely they are interactive.
- # The first field is the device, the second field is whether it produces
- # familied output (to help keep track of file dependencies). That field must
- # be consistent with the shell logic which deploys the -fam option for
- # certain devices in plplot-test.sh.cmake.
- # N.B. That field has nothing to do with whether the device is turned ON
- # or not.
- set(noninteractive_devices_info_LIST
- pdfcairo:OFF
- pngcairo:ON
- pscairo:OFF
- svgcairo:ON
- cgm:OFF
- dg300:OFF
- epsqt:ON
- pdfqt:ON
- bmpqt:ON
- jpgqt:ON
- pngqt:ON
- ppmqt:ON
- tiffqt:ON
- svgqt:ON
- gif:ON
- jpeg:ON
- png:ON
- # All hp7xxx devices are semi-broken (Invalid pen selection warnings)
- # hp7470:OFF
- # hp7580:OFF
- # lj_hpgl is severely broken (segfaults).
- # lj_hpgl:OFF
- imp:OFF
- ljii:OFF
- ljiip:OFF
- # pbm is severely broken (glibc double free detected)
- # pbm:OFF
- pdf:OFF
- # Include ps in list because we want to test monochromatic results, but
- # exclude psc because that already done with noninteractive language tests.
- ps:OFF
- # psc:OFF
- pstex:OFF
- psttf:OFF
- psttfc:OFF
- svg:ON
- tek4010f:OFF
- tek4107f:OFF
- wxpng:OFF
- xfig:ON
- )
+# List of all devices that will be used for noninteractive device tests.
+# Exclude some devices (linuxvga, conex?) in plplot-test.sh
+# where it is likely they are interactive.
+# The first field is the device, the second field is whether it produces
+# familied output (to help keep track of file dependencies). That field must
+# be consistent with the shell logic which deploys the -fam option for
+# certain devices in plplot-test.sh.cmake.
+# N.B. That field has nothing to do with whether the device is turned ON
+# or not.
+set(noninteractive_devices_info_LIST
+ pdfcairo:OFF
+ pngcairo:ON
+ pscairo:OFF
+ svgcairo:ON
+ cgm:OFF
+ dg300:OFF
+ epsqt:ON
+ pdfqt:ON
+ bmpqt:ON
+ jpgqt:ON
+ pngqt:ON
+ ppmqt:ON
+ tiffqt:ON
+ svgqt:ON
+ gif:ON
+ jpeg:ON
+ png:ON
+ # All hp7xxx devices are semi-broken (Invalid pen selection warnings)
+ # hp7470:OFF
+ # hp7580:OFF
+ # lj_hpgl is severely broken (segfaults).
+ # lj_hpgl:OFF
+ imp:OFF
+ ljii:OFF
+ ljiip:OFF
+ # pbm is severely broken (glibc double free detected)
+ # pbm:OFF
+ pdf:OFF
+ # Include ps in list because we want to test monochromatic results, but
+ # exclude psc because that already done with noninteractive language tests.
+ ps:OFF
+ # psc:OFF
+ pstex:OFF
+ psttf:OFF
+ psttfc:OFF
+ svg:ON
+ tek4010f:OFF
+ tek4107f:OFF
+ wxpng:OFF
+ xfig:ON
+ )
- # This list of set commands must be consistent with the above list which
- # potentially is a maintenance issue. However, cannot make this list
- # automatically with a foreach loop because explicit configuration of
- # each name is required.
- set(CORE_PLD_pdfcairo @PLD_pdfcairo@)
- set(CORE_PLD_pngcairo @PLD_pngcairo@)
- set(CORE_PLD_pscairo @PLD_pscairo@)
- set(CORE_PLD_svgcairo @PLD_svgcairo@)
- set(CORE_PLD_cgm @PLD_cgm@)
- set(CORE_PLD_dg300 @PLD_dg300@)
- set(CORE_PLD_epsqt @PLD_epsqt@)
- set(CORE_PLD_pdfqt @PLD_pdfqt@)
- set(CORE_PLD_bmpqt @PLD_bmpqt@)
- set(CORE_PLD_jpgqt @PLD_jpgqt@)
- set(CORE_PLD_pngqt @PLD_pngqt@)
- set(CORE_PLD_ppmqt @PLD_ppmqt@)
- set(CORE_PLD_tiffqt @PLD_tiffqt@)
- set(CORE_PLD_svgqt @PLD_svgqt@)
- set(CORE_PLD_gif @PLD_gif@)
- set(CORE_PLD_jpeg @PLD_jpeg@)
- set(CORE_PLD_png @PLD_png@)
- set(CORE_PLD_hp7470 @PLD_hp7470@)
- set(CORE_PLD_hp7580 @PLD_hp7580@)
- set(CORE_PLD_lj_hpgl @PLD_lj_hpgl@)
- set(CORE_PLD_imp @PLD_imp@)
- set(CORE_PLD_ljii @PLD_ljii@)
- set(CORE_PLD_ljiip @PLD_ljiip@)
- set(CORE_PLD_pbm @PLD_pbm@)
- set(CORE_PLD_pdf @PLD_pdf@)
- set(CORE_PLD_ps @PLD_ps@)
- set(CORE_PLD_pstex @PLD_pstex@)
- set(CORE_PLD_psttf @PLD_psttf@)
- set(CORE_PLD_svg @PLD_svg@)
- set(CORE_PLD_tek4010f @PLD_tek4010f@)
- set(CORE_PLD_tek4107f @PLD_tek4107f@)
- set(CORE_PLD_wxpng @PLD_wxpng@)
- set(CORE_PLD_xfig @PLD_xfig@)
+# This list of set commands must be consistent with the above list which
+# potentially is a maintenance issue. However, cannot make this list
+# automatically with a foreach loop because explicit configuration of
+# each name is required.
+set(CORE_PLD_pdfcairo @PLD_pdfcairo@)
+set(CORE_PLD_pngcairo @PLD_pngcairo@)
+set(CORE_PLD_pscairo @PLD_pscairo@)
+set(CORE_PLD_svgcairo @PLD_svgcairo@)
+set(CORE_PLD_cgm @PLD_cgm@)
+set(CORE_PLD_dg300 @PLD_dg300@)
+set(CORE_PLD_epsqt @PLD_epsqt@)
+set(CORE_PLD_pdfqt @PLD_pdfqt@)
+set(CORE_PLD_bmpqt @PLD_bmpqt@)
+set(CORE_PLD_jpgqt @PLD_jpgqt@)
+set(CORE_PLD_pngqt @PLD_pngqt@)
+set(CORE_PLD_ppmqt @PLD_ppmqt@)
+set(CORE_PLD_tiffqt @PLD_tiffqt@)
+set(CORE_PLD_svgqt @PLD_svgqt@)
+set(CORE_PLD_gif @PLD_gif@)
+set(CORE_PLD_jpeg @PLD_jpeg@)
+set(CORE_PLD_png @PLD_png@)
+set(CORE_PLD_hp7470 @PLD_hp7470@)
+set(CORE_PLD_hp7580 @PLD_hp7580@)
+set(CORE_PLD_lj_hpgl @PLD_lj_hpgl@)
+set(CORE_PLD_imp @PLD_imp@)
+set(CORE_PLD_ljii @PLD_ljii@)
+set(CORE_PLD_ljiip @PLD_ljiip@)
+set(CORE_PLD_pbm @PLD_pbm@)
+set(CORE_PLD_pdf @PLD_pdf@)
+set(CORE_PLD_ps @PLD_ps@)
+set(CORE_PLD_pstex @PLD_pstex@)
+set(CORE_PLD_psttf @PLD_psttf@)
+set(CORE_PLD_svg @PLD_svg@)
+set(CORE_PLD_tek4010f @PLD_tek4010f@)
+set(CORE_PLD_tek4107f @PLD_tek4107f@)
+set(CORE_PLD_wxpng @PLD_wxpng@)
+set(CORE_PLD_xfig @PLD_xfig@)
- # Special case where core configures both ps and psc with PLD_ps.
- set(CORE_PLD_psc @PLD_ps@)
- # Special case where core configures both psttf and psttfc with PLD_psttf.
- set(CORE_PLD_psttfc @PLD_psttf@)
+# Special case where core configures both ps and psc with PLD_ps.
+set(CORE_PLD_psc @PLD_ps@)
+# Special case where core configures both psttf and psttfc with PLD_psttf.
+set(CORE_PLD_psttfc @PLD_psttf@)
- # Set interactive/external devices that are needed to build certain examples.
- set(CORE_PLD_xcairo @PLD_xcairo@)
- set(CORE_PLD_extcairo @PLD_extcairo@)
+# Set interactive/external devices that are needed to build certain examples.
+set(CORE_PLD_xcairo @PLD_xcairo@)
+set(CORE_PLD_extcairo @PLD_extcairo@)
- option(DEFAULT_NO_DEVICES
- "Disable all (ON) or enable individually (OFF) devices by default"
- OFF
- )
+option(DEFAULT_NO_DEVICES
+ "Disable all (ON) or enable individually (OFF) devices by default"
+ OFF
+ )
- if(DEFAULT_NO_DEVICES)
- set(PRESET_DEFAULT ON)
- set(DEFAULT OFF)
- else(DEFAULT_NO_DEVICES)
- set(PRESET_DEFAULT OFF)
- endif(DEFAULT_NO_DEVICES)
+if(DEFAULT_NO_DEVICES)
+ set(PRESET_DEFAULT ON)
+ set(DEFAULT OFF)
+else(DEFAULT_NO_DEVICES)
+ set(PRESET_DEFAULT OFF)
+endif(DEFAULT_NO_DEVICES)
- # Generate psc, xcairo, and extcairo options in addition to everything on
- # noninteractive_devices_info_LIST
+# Generate psc, xcairo, and extcairo options in addition to everything on
+# noninteractive_devices_info_LIST
- foreach(noninteractive_devices_info psc:? xcairo:? extcairo:? ${noninteractive_devices_info_LIST})
- string(REGEX REPLACE "^(.*):.*$" "\\1" DEVICE ${noninteractive_devices_info})
- #message("DEBUG: DEVICE = ${DEVICE}")
- if(CORE_PLD_${DEVICE})
- if(NOT PRESET_DEFAULT)
- set(DEFAULT ${CORE_PLD_${DEVICE}})
- endif(NOT PRESET_DEFAULT)
- option(PLD_${DEVICE} "Enable ${DEVICE} device" ${DEFAULT})
- else(CORE_PLD_${DEVICE})
- set(PLD_${DEVICE} OFF CACHE BOOL "Enable ${device} device" FORCE)
- endif(CORE_PLD_${DEVICE})
+foreach(noninteractive_devices_info psc:? xcairo:? extcairo:? ${noninteractive_devices_info_LIST})
+ string(REGEX REPLACE "^(.*):.*$" "\\1" DEVICE ${noninteractive_devices_info})
+ #message("DEBUG: DEVICE = ${DEVICE}")
+ if(CORE_PLD_${DEVICE})
+ if(NOT PRESET_DEFAULT)
+ set(DEFAULT ${CORE_PLD_${DEVICE}})
+ endif(NOT PRESET_DEFAULT)
+ option(PLD_${DEVICE} "Enable ${DEVICE} device" ${DEFAULT})
+ else(CORE_PLD_${DEVICE})
+ set(PLD_${DEVICE} OFF CACHE BOOL "Enable ${device} device" FORCE)
+ endif(CORE_PLD_${DEVICE})
- endforeach(noninteractive_devices_info psc:OFF xcairo:OFF extcairo:OFF ${noninteractive_devices_info_LIST})
+endforeach(noninteractive_devices_info psc:OFF xcairo:OFF extcairo:OFF ${noninteractive_devices_info_LIST})
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|