https://github.com/Kitware/CMake
Revision 45b1e31451dc9e393703380282434a2456284954 authored by Brad King on 18 December 2014, 15:16:40 UTC, committed by CMake Topic Stage on 18 December 2014, 15:16:40 UTC
eeaa25e5 Add 'ANDROID_API_MIN' target property to set Android Target MIN API

2 parent s a39e65a + eeaa25e
Raw File
Tip revision: 45b1e31451dc9e393703380282434a2456284954 authored by Brad King on 18 December 2014, 15:16:40 UTC
Merge topic 'vs-nsight-tegra-min-api'
Tip revision: 45b1e31
CheckFunctionExists.c
#ifdef CHECK_FUNCTION_EXISTS

char CHECK_FUNCTION_EXISTS();
#ifdef __CLASSIC_C__
int main(){
  int ac;
  char*av[];
#else
int main(int ac, char*av[]){
#endif
  CHECK_FUNCTION_EXISTS();
  if(ac > 1000)
    {
    return *av[0];
    }
  return 0;
}

#else  /* CHECK_FUNCTION_EXISTS */

#  error "CHECK_FUNCTION_EXISTS has to specify the function"

#endif /* CHECK_FUNCTION_EXISTS */
back to top