mirror of
https://github.com/Kitware/CMake.git
synced 2026-06-24 08:47:59 +00:00
Add bare minimum functionality to compile C code and link on Windows. Explicitly label tests that are expected to work with `CFLAGS=-Ze`. Leave out documentation for now because this is not usable in general. Issue: #21536 Inspired-by: Serguei E. Leontiev <leo@sai.msu.ru>
10 lines
102 B
C
10 lines
102 B
C
#include "libc2.h"
|
|
|
|
#ifdef __POCC__
|
|
CM_TEST_LIB_EXPORT
|
|
#endif
|
|
float LibC2Func(void)
|
|
{
|
|
return 1.0;
|
|
}
|