From: malaterre Date: Mon, 15 May 2006 21:21:50 +0000 (+0000) Subject: ENH: Adding a test for install X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=7337f730979f0b5daca205c18e8fd2a9edc77edf;p=gdcm.git ENH: Adding a test for install --- diff --git a/Testing/Install/CMakeLists.txt b/Testing/Install/CMakeLists.txt new file mode 100644 index 00000000..8fa6f3af --- /dev/null +++ b/Testing/Install/CMakeLists.txt @@ -0,0 +1,7 @@ +PROJECT(DummyInstall) + +FIND_PACKAGE(GDCM REQUIRED) +INCLUDE(${GDCM_USE_FILE}) + +ADD_EXECUTABLE(dummy dummy.cxx) +TARGET_LINK_LIBRARIES(dummy gdcm) diff --git a/Testing/Install/dummy.cxx b/Testing/Install/dummy.cxx new file mode 100644 index 00000000..7808f5e0 --- /dev/null +++ b/Testing/Install/dummy.cxx @@ -0,0 +1,7 @@ +#include + +int main() +{ + gdcm::File *file = new gdcm::File(); + return 0; +}