https://github.com/Kitware/CMake
Raw File
Tip revision: 51e7d4150756a01d51da38acfd0a469b138e1fde authored by Brad King on 29 June 2018, 13:03:08 UTC
CMake 3.12.0-rc2
Tip revision: 51e7d41
foobar.c
#ifdef _WIN32
__declspec(dllimport)
#endif
  extern void bar();

int main()
{
  bar();
  return 0;
}
back to top