CTestConfig.cxx 339 B

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