repo.or.cz
/
cmake.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Updated formatting of documentation plus a little reorganization.
[cmake.git]
/
Tests
/
CxxOnly
/
cxxonly.cxx
blob
99ccf3b615c86ebf5a58f91a3ebeeba3c502bb5e
1
#include
"libcxx1.h"
2
#include
"libcxx2.h"
3
4
#include <stdio.h>
5
6
int
main
()
7
{
8
if
(
LibCxx1Class
::
Method
() !=
2.0
)
9
{
10
printf
(
"Problem with libcxx1
\n
"
);
11
return
1
;
12
}
13
if
(
LibCxx2Class
::
Method
() !=
1.0
)
14
{
15
printf
(
"Problem with libcxx2
\n
"
);
16
return
1
;
17
}
18
return
0
;
19
}