This variable is no longer populated. Remove all occurences.
SET(CMAKE_CUDA_USE_RESPONSE_FILE_FOR_LIBRARIES 0)
SET(CMAKE_CUDA_USE_RESPONSE_FILE_FOR_OBJECTS 0)
- #
- # Set up cuda flags:
- #
- ADD_FLAGS(DEAL_II_CUDA_FLAGS "${DEAL_II_CXX_VERSION_FLAG}")
-
# We cannot use -pedantic as compiler flags. nvcc generates code that
# produces a lot of warnings when pedantic is enabled. So filter out the
# flag:
# (anymore) which was deprecated for C++11 and removed in the C++17 standard.
# Older boost versions can't know about this but provide a possibility to
# circumvent the issue. Hence, we just check ourselves.
- ADD_FLAGS(CMAKE_REQUIRED_FLAGS "${DEAL_II_CXX_VERSION_FLAG}")
IF(CMAKE_CXX_COMPILER_ID MATCHES "MSVC")
ADD_FLAGS(CMAKE_REQUIRED_FLAGS "/WX /EHsc")
ELSE()
# Test that Boost.Iostreams is usable.
#
RESET_CMAKE_REQUIRED()
- ADD_FLAGS(CMAKE_REQUIRED_FLAGS "${DEAL_II_CXX_VERSION_FLAG}")
LIST(APPEND CMAKE_REQUIRED_LIBRARIES ${BOOST_LIBRARIES})
LIST(APPEND CMAKE_REQUIRED_INCLUDES ${BOOST_INCLUDE_DIRS})
#
LIST(APPEND CMAKE_REQUIRED_INCLUDES ${Trilinos_INCLUDE_DIRS})
LIST(APPEND CMAKE_REQUIRED_INCLUDES ${MPI_CXX_INCLUDE_PATH})
- ADD_FLAGS(CMAKE_REQUIRED_FLAGS "${DEAL_II_CXX_VERSION_FLAG}")
CHECK_SYMBOL_EXISTS(
"KOKKOS_ENABLE_CUDA_LAMBDA"
#
LIST(APPEND CMAKE_REQUIRED_INCLUDES ${Trilinos_INCLUDE_DIRS})
LIST(APPEND CMAKE_REQUIRED_INCLUDES ${MPI_CXX_INCLUDE_PATH})
- ADD_FLAGS(CMAKE_REQUIRED_FLAGS "${DEAL_II_CXX_VERSION_FLAG}")
LIST(APPEND CMAKE_REQUIRED_LIBRARIES ${Trilinos_LIBRARIES} ${MPI_LIBRARIES})
IF(EXISTS ${SACADO_TRAD_HPP})
LIST(APPEND CMAKE_REQUIRED_INCLUDES ${Trilinos_INCLUDE_DIRS})
- ADD_FLAGS(CMAKE_REQUIRED_FLAGS "${DEAL_II_CXX_VERSION_FLAG}")
CHECK_CXX_SOURCE_COMPILES(
"
LIST(APPEND CMAKE_REQUIRED_LIBRARIES ${ADOLC_LIBRARIES})
LIST(APPEND CMAKE_REQUIRED_INCLUDES ${ADOLC_INCLUDE_DIRS})
- ADD_FLAGS(CMAKE_REQUIRED_FLAGS "${DEAL_II_CXX_VERSION_FLAG}")
CHECK_CXX_SOURCE_COMPILES("
#include <adolc/adouble.h>
libraries.
</p>
- <p>
- Additionally, the variable
-<pre class="cmake">
-DEAL_II_CXX_VERSION_FLAG
-</pre>
- may be set to specify the <code>C++</code> language version flag passed to
- the compiler.
- </p>
-
<p>
There are some options to determine the behavior of the dependency
resolution.