mirror of
https://github.com/reactos/CMake.git
synced 2024-12-04 09:54:15 +00:00
17 lines
287 B
C++
17 lines
287 B
C++
#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;
|
|
}
|