From 7337f730979f0b5daca205c18e8fd2a9edc77edf Mon Sep 17 00:00:00 2001 From: malaterre Date: Mon, 15 May 2006 21:21:50 +0000 Subject: [PATCH] ENH: Adding a test for install --- Testing/Install/CMakeLists.txt | 7 +++++++ Testing/Install/dummy.cxx | 7 +++++++ 2 files changed, 14 insertions(+) create mode 100644 Testing/Install/CMakeLists.txt create mode 100644 Testing/Install/dummy.cxx 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; +} -- 2.45.1