#ifndef UF_long
-#ifdef _WIN64
-
-#define UF_long __int64
-#define UF_long_max _I64_MAX
-#define UF_long_id "%I64d"
-
-#else
-
#define UF_long long
#define UF_long_max LONG_MAX
#define UF_long_id "%ld"
-#endif
#endif
/* ========================================================================== */
#ifndef UF_long
-#ifdef _WIN64
-
-#define UF_long __int64
-#define UF_long_max _I64_MAX
-#define UF_long_id "%I64d"
-
-#else
-
#define UF_long long
#define UF_long_max LONG_MAX
#define UF_long_id "%ld"
-#endif
#endif
/* ========================================================================== */
ENABLE_IF_SUPPORTED(DEAL_II_CXX_FLAGS_RELEASE "-g")
ENABLE_IF_SUPPORTED(DEAL_II_LINKER_FLAGS_RELEASE "-g")
+ REPLACE_FLAG(DEAL_II_CXX_FLAGS_DEBUG "-Og" "-O1")
+ REPLACE_FLAG(DEAL_II_CXX_FLAGS_DEBUG "-O0" "-O1")
+ REPLACE_FLAG(DEAL_II_CXX_FLAGS_DEBUG "-ggdb" "-g")
+ REPLACE_FLAG(DEAL_II_LINKER_FALGS_DEBUG "-ggdb" "-g")
ENDIF()
ENDIF()
# variable.
#
# Usage:
-# STRIP_FLAG(variable flag replacement)
+# REPLACE_FLAG(variable flag replacement)
#
MACRO(REPLACE_FLAG _variable _flag _replacement)
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