]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Add configure_deal_ii.cmake
authormaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 13 Sep 2012 14:39:18 +0000 (14:39 +0000)
committermaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 13 Sep 2012 14:39:18 +0000 (14:39 +0000)
git-svn-id: https://svn.dealii.org/branches/branch_cmake@26354 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/contrib/cmake/configure/configure_deal_ii.cmake [new file with mode: 0644]

diff --git a/deal.II/contrib/cmake/configure/configure_deal_ii.cmake b/deal.II/contrib/cmake/configure/configure_deal_ii.cmake
new file mode 100644 (file)
index 0000000..4a7e3c2
--- /dev/null
@@ -0,0 +1,20 @@
+#
+# Set up deal.II specific definitions
+#
+
+SET(DEAL_II_PACKAGE_BUGREPORT "dealii@dealii.org")
+
+SET(DEAL_II_PACKAGE_NAME "deal.II")
+
+SET(DEAL_II_PACKAGE_TARNAME ${DEAL_II_PACKAGE_NAME})
+
+SET(DEAL_II_PACKAGE_VERSION ${VERSION})
+
+SET(DEAL_II_PACKAGE_STRING "${DEAL_II_PACKAGE_NAME} ${DEAL_II_PACKAGE_VERSION}")
+
+SET(DEAL_II_PACKAGE_URL "")
+
+STRING(REGEX REPLACE "^([0-9]+)\\..*" "\\1" DEAL_II_MAJOR "${VERSION}")
+STRING(REGEX REPLACE "^[0-9]+\\.([0-9]+).*" "\\1" DEAL_II_MINOR "${VERSION}")
+
+SET(DEAL_II_PATH ${CMAKE_INSTALL_PREFIX})

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.