mirror of
https://github.com/reactos/CMake.git
synced 2024-12-17 08:36:48 +00:00
abec4213d6
9259d778
Normalize OBJECT_DEPENDS paths to match custom commands (#15366)
33 lines
412 B
Plaintext
33 lines
412 B
Plaintext
#include "doc1.h"
|
|
#include "foo.h"
|
|
|
|
#include <stdio.h>
|
|
|
|
int generated();
|
|
int wrapped();
|
|
|
|
#include "subdir/subdir.h"
|
|
#ifndef SUBDIR_DEF
|
|
# error SUBDIR_DEF not defined
|
|
#endif
|
|
|
|
int main ()
|
|
{
|
|
if (generated()*wrapped()*doc() == 3*5*7)
|
|
{
|
|
FILE* fin = fopen("not_included.h", "r");
|
|
if(fin)
|
|
{
|
|
fclose(fin);
|
|
return 0;
|
|
}
|
|
else
|
|
{
|
|
return -2;
|
|
}
|
|
}
|
|
|
|
return -1;
|
|
}
|
|
|