blob: 55bc77f963f81be6b6bdad88cd82fedb70a24afb [file] [log] [blame]
#include <stdio.h>
#include <stdlib.h>
int main(int argc, char* argv[])
{
char* var = getenv("CMAKE_ENVIRONMENT_TEST_VAR");
if (!var) {
var = "(null)";
}
fprintf(stdout, "Environment:\n");
fprintf(stdout, " CMAKE_ENVIRONMENT_TEST_VAR='%s'\n", var);
return 0;
}