CTestConfig.cxx 339 B

1234567891011121314151617181920
  1. #include <stdio.h>
  2. int main(int argc, const char* argv[])
  3. {
  4. int i = 0;
  5. for (; i<argc; ++i)
  6. {
  7. fprintf(stdout, "%s\n", argv[i]);
  8. }
  9. #ifdef CMAKE_BUILD_TYPE
  10. fprintf(stdout, "CMAKE_BUILD_TYPE is %s\n", CMAKE_BUILD_TYPE);
  11. #endif
  12. #ifdef CMAKE_INTDIR
  13. fprintf(stdout, "CMAKE_INTDIR is %s\n", CMAKE_INTDIR);
  14. #endif
  15. return 0;
  16. }