Current test is only for Windows(cl.exe). Need to test more with the other host compilers... * Activate the test when `find_package(CUDA)` worked * The test runs with C++14 Detailed comments in 'test/cuda-test'
9 lines
200 B
C++
9 lines
200 B
C++
|
|
#include <fmt/core.h>
|
|
|
|
static_assert(__cplusplus >= 201402L, "expect C++ 2014");
|
|
|
|
auto make_message_cpp() -> std::string{
|
|
return fmt::format("host compiler\t: __cplusplus == {}", __cplusplus);
|
|
}
|