#
# General configuration options:
#
+# DEAL_II_ALLOW_AUTODETECTION
# DEAL_II_ALLOW_BUNDLED
# DEAL_II_COMPONENT_COMPAT_FILES
-# DEAL_II_COMPONENT_CONTRIB
# DEAL_II_COMPONENT_DOCUMENTATION
# DEAL_II_COMPONENT_EXAMPLES
-# DEAL_II_ALLOW_AUTODETECTION
+# DEAL_II_COMPONENT_MESH_CONVERTER
+# DEAL_II_COMPONENT_PARAMETER_GUI
# DEAL_II_FORCE_AUTODETECTION
#
# Options regarding compilation and linking:
ON
)
-OPTION(DEAL_II_COMPONENT_CONTRIB
- "Enable installation of contrib packages. This adds a COMPONENT \"contrib\" to the build system."
- OFF
- )
-
If(DEAL_II_HAVE_DOC_DIRECTORY)
OPTION(DEAL_II_COMPONENT_DOCUMENTATION
"Enable configuration, build and installation of the documentation. This adds a COMPONENT \"documentation\" to the build system."
ON
)
+OPTION(DEAL_II_COMPONENT_MESH_CONVERTER
+ "Build and install the mesh_converter. This adds a COMPONENT \"mesh_converter\" to the build system."
+ OFF
+ )
+
+OPTION(DEAL_II_COMPONENT_PARAMETER_GUI
+ "Build and install the parameter_gui. This adds a COMPONENT \"parameter_gui\" to the build system."
+ OFF
+ )
+
OPTION(DEAL_II_ALLOW_AUTODETECTION
"Allow to automatically setup features by setting all undefined DEAL_II_WITH_* variables to ON or OFF"
ON
SET(DEAL_II_${_var} ${${_var}} CACHE BOOL "" FORCE)
UNSET(${_var} CACHE)
ENDIF()
- IF(_var MATCHES "^(COMPAT_FILES|DOCUMENTATION|EXAMPLES|CONTRIB)")
+ IF(_var MATCHES "^(COMPAT_FILES|DOCUMENTATION|EXAMPLES|MESH_CONVERTER|PARAMETER_GUI)")
SET(DEAL_II_COMPONENT_${_var} ${${_var}} CACHE BOOL "" FORCE)
UNSET(${_var} CACHE)
ENDIF()
report_features
)
ENDIF()
-
-IF(DEAL_II_COMPONENT_CONTRIB)
- ADD_CUSTOM_TARGET(contrib
- DEPENDS
- mesh_conversion
- parameter_gui
- )
-ENDIF()
-
##
#####
-IF(DEAL_II_COMPONENT_CONTRIB)
+IF(DEAL_II_COMPONENT_MESH_CONVERTER)
ADD_SUBDIRECTORY(mesh_conversion)
+ENDIF()
+
+IF(DEAL_II_COMPONENT_PARAMETER_GUI)
ADD_SUBDIRECTorY(parameter_gui)
ENDIF()
#####
##
-## Copyright (C) 2012 by the deal.II authors
+## Copyright (C) 2012, 2013 by the deal.II authors
##
## This file is part of the deal.II library.
##
#####
CMAKE_MINIMUM_REQUIRED(VERSION 2.8)
-#PROJECT(parameter_gui)
+#PROJECT(mesh_converter)
-ADD_EXECUTABLE(mesh_conversion
+ADD_EXECUTABLE(mesh_converter
Main.cc
MeshConversion.cc
)
SET(DEAL_II_EXECUTABLE_RELDIR "bin")
ENDIF()
-INSTALL(TARGETS mesh_conversion
+INSTALL(TARGETS mesh_converter
RUNTIME
DESTINATION ${DEAL_II_EXECUTABLE_RELDIR}
- COMPONENT contrib
+ COMPONENT mesh_converter
)
#####
##
-## Copyright (C) 2012 by the deal.II authors
+## Copyright (C) 2012, 2013 by the deal.II authors
##
## This file is part of the deal.II library.
##
#####
CMAKE_MINIMUM_REQUIRED(VERSION 2.8)
-#PROJECT(parameterGUI)
+#PROJECT(parameter_gui)
FIND_PACKAGE(Qt4 REQUIRED QtCore QtGui QtXml)
MARK_AS_ADVANCED(QT_QMAKE_EXECUTABLE)
application.qrc
)
-ADD_EXECUTABLE(parameterGUI
+ADD_EXECUTABLE(parameter_gui
browse_lineedit.cpp
info_message.cpp
main.cpp
${SOURCE_RCC}
)
-TARGET_LINK_LIBRARIES(parameterGUI ${QT_LIBRARIES})
+TARGET_LINK_LIBRARIES(parameter_gui ${QT_LIBRARIES})
IF("${DEAL_II_EXECUTABLE_RELDIR}" STREQUAL "")
SET(DEAL_II_EXECUTABLE_RELDIR "bin")
ENDIF()
-INSTALL(TARGETS parameterGUI
+INSTALL(TARGETS parameter_gui
RUNTIME
DESTINATION ${DEAL_II_EXECUTABLE_RELDIR}
- COMPONENT contrib
+ COMPONENT parameter_gui
)
# "Enable installation of the example steps. This adds a COMPONENT \"compat_files\" to the build system."
# )
#
-# SET(DEAL_II_COMPONENT_CONTRIB OFF CACHE BOOL
-# "Enable installation of contrib packages. This adds a COMPONENT \"contrib\" to the build system."
-# )
-#
# SET(DEAL_II_COMPONENT_DOCUMENTATION OFF CACHE BOOL
# "Enable configuration, build and installation of the html documentation. This adds a COMPONENT \"documentation\" to the build system."
# )
# "Enable configuration and installation of the example steps. This adds a COMPONENT \"examples\" to the build system."
# )
#
+# SET(DEAL_II_COMPONENT_MESH_CONVERTER OFF CACHE BOOL
+# "Build and install the mesh_converter. This adds a COMPONENT \"mesh_converter\" to the build system."
+# )
+#
+# SET(DEAL_II_COMPONENT_PARAMETER_GUI OFF CACHE BOOL
+# "Build and install the parameter_gui. This adds a COMPONENT \"parameter_gui\" to the build system."
+# )
+#
#
<acronym>deal.II</acronym> will be configured, built and installed:
<ul>
- <li>
- <p>
- <code>DEAL_II_COMPONENT_CONTRIB</code> (default
- <code>OFF</code>):
- </p>
- <p>
- Enable configuration and installation of programs
- in <code>contrib/</code>. This adds a component
- <code>contrib</code> to the build system.
- Beware of the fact that <code>contrib</code> needs
- development packages for Qt.
- </p>
-
<li>
<p>
<code>DEAL_II_COMPONENT_COMPAT_FILES</code>
not generate the documentation for the tutorial steps).
This adds a component <code>examples</code> to the build system.
</p>
+
+ <li>
+ <p>
+ <code>DEAL_II_COMPONENT_MESH_CONVERTER</code> (default
+ <code>OFF</code>):
+ </p>
+ <p>
+ Enable configuration and installation of the
+ <code>mesh_converter</code> binary. This adds a component
+ <code>mesh_converter</code> to the build system.
+ </p>
+
+ <li>
+ <p>
+ <code>DEAL_II_COMPONENT_PARAMETER_GUI</code> (default
+ <code>OFF</code>):
+ </p>
+ <p>
+ Enable configuration and installation of the
+ <code>parameter_gui</code> binary. This adds a component
+ <code>parameter_gui</code> to the build system. Beware of the
+ fact that this component needs development packages for Qt.
+ </p>
+
</ul>
</p>
<li>
<p>
- If you wish to install projects residing under
- <code>contrib/</code> such as ParameterGUI,
- specify <code>-DDEAL_II_COMPONENT_CONTRIB=ON</code>.
- Beware of the fact that parameterGUI needs
- development packages for Qt.
+ <i>mesh_converter</i>: If you wish to compile and install the
+ mesh_converter, specify
+ <code>-DDEAL_II_COMPONENT_MESH_CONVERTER=ON</code>.
+ </p>
+ <p>
+ <i>parameter_gui</i>: If you wish to compile and install the
+ parameter_gui, specify
+ <code>-DDEAL_II_COMPONENT_PARAMETER_GUI=ON</code>. Beware of the
+ fact that parameterGUI needs development packages for Qt.
</p>
</ul>
-
<a name="optional-software"></a>
<h4>Optional interfaces to other software packages</h4>