mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-21 13:48:33 -05:00
375e6fdbbe
Based on work done by @ben.boeckel (!8051) Fixes: #22217
12 lines
137 B
CMake
12 lines
137 B
CMake
|
|
file(WRITE "${RunCMake_TEST_BINARY_DIR}/external.c" [[
|
|
|
|
|
|
#if defined(_WIN32)
|
|
__declspec(dllexport)
|
|
#endif
|
|
void external(void)
|
|
{
|
|
}
|
|
]])
|