mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-04 04:40:56 -06:00
Fixes #17559 Replace our hard-coded default of cudart=static with a first-class abstraction to select the runtime library from an enumeration of logical names.
24 lines
335 B
Plaintext
24 lines
335 B
Plaintext
|
|
#ifdef _WIN32
|
|
# define IMPORT __declspec(dllimport)
|
|
IMPORT int shared_version();
|
|
int static_version()
|
|
{
|
|
return 0;
|
|
}
|
|
int mixed_version()
|
|
{
|
|
return 0;
|
|
}
|
|
#else
|
|
int shared_version();
|
|
int static_version();
|
|
int mixed_version();
|
|
#endif
|
|
|
|
int main()
|
|
{
|
|
return mixed_version() == 0 && shared_version() == 0 &&
|
|
static_version() == 0;
|
|
}
|