repo.or.cz
/
CMakeLuaTailorHgBridge.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Resync
[CMakeLuaTailorHgBridge.git]
/
CMakeLua
/
Tests
/
Environment
/
main.cxx
blob
2e1bf4c28b2eff5836df50871a09b70ab5e06029
1
#include <stdio.h>
2
#include <stdlib.h>
3
4
int
main
(
int
argc
,
char
*
argv
[])
5
{
6
char
*
var
=
getenv
(
"CMAKE_ENVIRONMENT_TEST_VAR"
);
7
if
(!
var
)
8
{
9
var
=
"(null)"
;
10
}
11
12
fprintf
(
stdout
,
"Environment:
\n
"
);
13
fprintf
(
stdout
,
" CMAKE_ENVIRONMENT_TEST_VAR='%s'
\n
"
,
var
);
14
15
return
0
;
16
}