set(SCREAM_CONTROL_SOURCES atmosphere_driver.cpp fvphyshack.cpp atmosphere_surface_coupling_importer.cpp atmosphere_surface_coupling_exporter.cpp surface_coupling_utils.cpp ) set(SCREAM_CONTROL_HEADERS atmosphere_driver.hpp atmosphere_surface_coupling.hpp surface_coupling_utils.hpp ) add_library(scream_control ${SCREAM_CONTROL_SOURCES}) target_link_libraries(scream_control PUBLIC scream_share scream_io) if (Kokkos_ENABLE_CUDA) # This is to silence some nvcc warning that is a CUDA compiler bug # See https://github.com/kokkos/kokkos/issues/1473 for more details target_compile_options (scream_control PUBLIC $<$:-Xcudafe --diag_suppress=esa_on_defaulted_function_ignored>) endif() if (NOT SCREAM_LIB_ONLY) add_subdirectory(tests) endif()