summaryrefslogtreecommitdiffstats
path: root/Tests/SimpleInstall/inst.cxx
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2004-06-28 18:40:17 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2004-06-28 18:40:17 (GMT)
commitf9b43b9212b1ae2ba4dd9c4f609f8d5093421398 (patch)
tree3d0d7dc4ceb4f927efa927a568adc2594a58d355 /Tests/SimpleInstall/inst.cxx
parentd392ccaee563a7f757eae72d9b32ea258e846a7c (diff)
downloadCMake-f9b43b9212b1ae2ba4dd9c4f609f8d5093421398.zip
CMake-f9b43b9212b1ae2ba4dd9c4f609f8d5093421398.tar.gz
CMake-f9b43b9212b1ae2ba4dd9c4f609f8d5093421398.tar.bz2
BUG: Implement installing of shared library versioning and add test for the whole thing
Diffstat (limited to 'Tests/SimpleInstall/inst.cxx')
-rw-r--r--Tests/SimpleInstall/inst.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/Tests/SimpleInstall/inst.cxx b/Tests/SimpleInstall/inst.cxx
index a933e2b..241a296 100644
--- a/Tests/SimpleInstall/inst.cxx
+++ b/Tests/SimpleInstall/inst.cxx
@@ -2,6 +2,7 @@
#include "lib1.h"
#include "lib2.h"
+#include "lib4.h"
#include <stdio.h>
@@ -17,6 +18,11 @@ int main ()
printf("Problem with lib2\n");
return 1;
}
+ if ( Lib4Func() != 4.0 )
+ {
+ printf("Problem with lib4\n");
+ return 1;
+ }
printf("The value of Foo: %s\n", foo);
return SomeFunctionInFoo()-5;
}