]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Cleanup
authormaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 5 Mar 2013 23:54:44 +0000 (23:54 +0000)
committermaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 5 Mar 2013 23:54:44 +0000 (23:54 +0000)
git-svn-id: https://svn.dealii.org/branches/branch_cmake@28743 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/cmake/checks/check_01_system_features.cmake

index ac792086aa403c18e5f77998e86aa58af3a461a5..fbf041238725a56b4ef28ee07aab3dc6e0245371 100644 (file)
@@ -81,6 +81,15 @@ IF(CMAKE_SYSTEM_NAME MATCHES "Windows")
   #
   SET(DEAL_II_MSVC TRUE)
 
+
+  #
+  # Disable shared libraries on native Windows targets for the moment.
+  #
+  MESSAGE(WARNING "\n"
+    "BUILD_SHARED_LIBS forced to OFF\n\n"
+    )
+  SET(BUILD_SHARED_LIBS OFF CACHE BOOL "" FORCE)
+
   #
   # Disable -ggdb and -g on Windows/MinGW targets for the moment until the
   # compilation issues with too big files are resolved
@@ -93,16 +102,3 @@ IF(CMAKE_SYSTEM_NAME MATCHES "Windows")
   STRIP_FLAG(DEAL_II_SHARED_LINKER_FLAGS_DEBUG "-g")
 ENDIF()
 
-
-#
-# Disable shared libraries on native Windows targets for the moment.
-#
-# - Matthias Maier, 2013
-#
-IF(CMAKE_SYSTEM_NAME MATCHES "Windows")
-  MESSAGE(WARNING "\n"
-    "BUILD_SHARED_LIBS forced to OFF\n\n"
-    )
-  SET(BUILD_SHARED_LIBS OFF CACHE BOOL "" FORCE)
-ENDIF()
-

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.