[cig-commits] commit 1966 by bangerth to /var/svn/dealii/aspect

dealii.demon at gmail.com dealii.demon at gmail.com
Wed Oct 16 08:59:03 PDT 2013


Revision 1966

Autopilot mode should now also work in external directories.

U   trunk/aspire/CMakeLists.txt


http://www.dealii.org/websvn/revision.php?repname=Aspect+Repository&path=%2F&rev=1966&peg=1966

Diff:
Modified: trunk/aspire/CMakeLists.txt
===================================================================
--- trunk/aspire/CMakeLists.txt	2013-10-16 15:57:36 UTC (rev 1965)
+++ trunk/aspire/CMakeLists.txt	2013-10-16 15:58:47 UTC (rev 1966)
@@ -1,3 +1,8 @@
+MESSAGE("====================================================")
+MESSAGE("============ Configuring ASPIRE ====================")
+MESSAGE("====================================================")
+
+# Set the name of the project and target:
 SET(TARGET "aspire")
 
 FILE(GLOB_RECURSE TARGET_SRC  "source/*.cc")
@@ -44,25 +49,6 @@
 TARGET_LINK_LIBRARIES(${TARGET} ${CANTERA_LIBRARIES})
 endif (CANTERA_FOUND)
 
-DEAL_II_SETUP_TARGET(${TARGET}) 
+DEAL_II_SETUP_TARGET(${TARGET})
 
-   IF(${DEAL_II_BUILD_TYPE} MATCHES "Debug")
-      ADD_CUSTOM_TARGET(debug
-        COMMAND ${CMAKE_COMMAND} -DCMAKE_BUILD_TYPE=Debug ${CMAKE_SOURCE_DIR}
-        COMMENT "Switch CMAKE_BUILD_TYPE to Debug"
-        )
-      SET(_switch_targets
-        "#      $ make debug          - to switch the build type to \"Debug\"
"
-        )
-    ENDIF()
-    IF(${DEAL_II_BUILD_TYPE} MATCHES "Release")
-      ADD_CUSTOM_TARGET(release
-        COMMAND ${CMAKE_COMMAND} -DCMAKE_BUILD_TYPE=Release ${CMAKE_SOURCE_DIR}
-        COMMENT "Switch CMAKE_BUILD_TYPE to Release"
-        )
-      SET(_switch_targets
-        "${_switch_targets}#      $ make release        - to switch the build type to \"Release\"
"
-        )
-    ENDIF()
-
-#DEAL_II_INVOKE_AUTOPILOT()
+DEAL_II_INVOKE_AUTOPILOT()


More information about the CIG-COMMITS mailing list