Resync
[CMakeLuaTailorHgBridge.git] / CMakeLua / Tests / Environment / main.cxx
blob2e1bf4c28b2eff5836df50871a09b70ab5e06029
1 #include <stdio.h>
2 #include <stdlib.h>
4 int main(int argc, char *argv[])
6 char* var = getenv("CMAKE_ENVIRONMENT_TEST_VAR");
7 if (!var)
9 var = "(null)";
12 fprintf(stdout, "Environment:\n");
13 fprintf(stdout, " CMAKE_ENVIRONMENT_TEST_VAR='%s'\n", var);
15 return 0;