CMake/Tests/LoadCommandOneConfig/LoadedCommand.cxx

22 lines
330 B
C++
Raw Normal View History

#include "LoadedCommand.h"
2002-12-05 19:55:53 +03:00
#include <stdio.h>
2002-09-17 00:27:00 +04:00
int main ()
{
2002-12-05 19:55:53 +03:00
#ifdef HAVE_VSBLABLA
printf("Should not be able to find vsblabla\n");
return 1;
#endif
#if !defined( HAVE_PRINTF )
printf("Should be able to find printf\n");
return 1;
#endif
2002-09-17 00:27:00 +04:00
#ifdef CMAKE_IS_FUN
return SIZEOF_CHAR-1;
2002-09-17 00:27:00 +04:00
#else
return SIZEOF_SHORT;
2002-09-17 00:27:00 +04:00
#endif
}