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
Initial commit.
[CMakeLuaTailorHgBridge.git]
/
CMakeLua
/
Tests
/
CustomCommand
/
foo.in
blob
08c559df4dfb325922f1168f9b3d29ae41e7b2de
1
#include "doc1.h"
2
#include "foo.h"
3
#include "config.h"
4
5
#include <stdio.h>
6
7
int generated();
8
int wrapped();
9
10
int main ()
11
{
12
if (generated()*wrapped()*doc() == 3*5*7)
13
{
14
FILE* fin = fopen(PROJECT_BINARY_DIR "/not_included.h", "r");
15
if(fin)
16
{
17
fclose(fin);
18
return 0;
19
}
20
else
21
{
22
return -2;
23
}
24
}
25
26
return -1;
27
}
28