summaryrefslogtreecommitdiff
path: root/Tests/Complex/Library
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2011-12-23 14:50:21 -0500
committerBrad King <brad.king@kitware.com>2011-12-23 16:16:49 -0500
commit137e5974bcde960cf408eb4027d35defa9a93217 (patch)
treed3d7baa2906c235ae965099ac49ffb6a06f98646 /Tests/Complex/Library
parent63379207e189688d7e266e6b27420300c9761caf (diff)
downloadcmake-137e5974bcde960cf408eb4027d35defa9a93217.tar.gz
complex: Remove dynamic loader tests
Everything covered by these tests is now covered by the KWSys DynamicLoader test and the Plugin test.
Diffstat (limited to 'Tests/Complex/Library')
-rw-r--r--Tests/Complex/Library/CMakeLists.txt1
-rw-r--r--Tests/Complex/Library/moduleFile.c6
-rw-r--r--Tests/Complex/Library/moduleFile.h12
3 files changed, 0 insertions, 19 deletions
diff --git a/Tests/Complex/Library/CMakeLists.txt b/Tests/Complex/Library/CMakeLists.txt
index 281e48a551..c8efc30226 100644
--- a/Tests/Complex/Library/CMakeLists.txt
+++ b/Tests/Complex/Library/CMakeLists.txt
@@ -43,7 +43,6 @@ ENDIF(WIN32)
#
SET(SharedLibrarySources sharedFile)
ADD_LIBRARY(CMakeTestLibraryShared SHARED ${SharedLibrarySources})
-ADD_LIBRARY(CMakeTestModule MODULE moduleFile.c)
SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DTEST_C_FLAGS")
ADD_LIBRARY(CMakeTestCLibraryShared SHARED testConly.c)
DEFINE_PROPERTY(
diff --git a/Tests/Complex/Library/moduleFile.c b/Tests/Complex/Library/moduleFile.c
deleted file mode 100644
index 608d750f19..0000000000
--- a/Tests/Complex/Library/moduleFile.c
+++ /dev/null
@@ -1,6 +0,0 @@
-#include "moduleFile.h"
-
-int ModuleFunction()
-{
- return 1;
-}
diff --git a/Tests/Complex/Library/moduleFile.h b/Tests/Complex/Library/moduleFile.h
deleted file mode 100644
index 6b561e1092..0000000000
--- a/Tests/Complex/Library/moduleFile.h
+++ /dev/null
@@ -1,12 +0,0 @@
-#if defined(_WIN32) || defined(WIN32) /* Win32 version */
-#ifdef CMakeTestModule_EXPORTS
-# define CMakeTest_EXPORT __declspec(dllexport)
-#else
-# define CMakeTest_EXPORT __declspec(dllimport)
-#endif
-#else
-/* unix needs nothing */
-#define CMakeTest_EXPORT
-#endif
-
-CMakeTest_EXPORT int ModuleFunction();