summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2001-06-12 13:30:13 -0400
committerKen Martin <ken.martin@kitware.com>2001-06-12 13:30:13 -0400
commit583ac25e8fa4f17aa282837611624d20225a59e1 (patch)
tree1b00456a5594abd299c070b745bb102824488fb9
parent19b2f84ac7dd9a64661124971704d694e9dfbda2 (diff)
downloadcmake-583ac25e8fa4f17aa282837611624d20225a59e1.tar.gz
support testing
-rw-r--r--CMakeLists.txt40
-rw-r--r--Source/CMakeLists.txt30
2 files changed, 70 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
new file mode 100644
index 0000000000..8e95ecf750
--- /dev/null
+++ b/CMakeLists.txt
@@ -0,0 +1,40 @@
+PROJECT(CMake)
+
+SUBDIRS(Source)
+
+# Include the standard Dart testing module
+INCLUDE (${CMAKE_ROOT}/Modules/Dart.cmake)
+
+#
+# Variables used for submitting testing results. These will change from
+# project to project. Most likely, you will change DROP_SITE,
+# DROP_SITE_PASSWORD and TRIGGER_SITE.
+#
+IF (BUILD_TESTING)
+ ENABLE_TESTING()
+
+ # Dart server to submit results (used by client)
+ SET (DROP_SITE "public.kitware.com" CACHE INTERNAL
+ "FTP site for submitting testing results")
+ SET (DROP_LOCATION "/incoming" CACHE INTERNAL
+ "Directory on FTP site to place testing results")
+ SET (DROP_SITE_USER "anonymous" CACHE INTERNAL
+ "Username for FTP site for submitting testing results")
+ SET (DROP_SITE_PASSWORD "cmake-tester@somewhere.com" CACHE INTERNAL
+ "Password for FTP site for submitting testing results")
+ SET (TRIGGER_SITE
+ "http://${DROP_SITE}/cgi-bin/Submit-CMake-TestingResults.pl"
+ CACHE INTERNAL
+ "Web site to signal when testing results have been submitted")
+
+ # Dart server configuration
+ SET (CVS_WEB_URL "http://${DROP_SITE}/cgi-bin/cmakecvsweb.cgi/CMake/"
+ CACHE INTERNAL "URL for revision control system")
+ SET (DOXYGEN_URL "http://${DROP_SITE}/CMake/Doxygen/html/"
+ CACHE INTERNAL "URL for source code documentation")
+ SET (GNATS_WEB_URL "http://${DROP_SITE}/cgi-bin/gnatsweb.pl/CMake/"
+ CACHE INTERNAL "URL for bug tracker")
+
+ENDIF (BUILD_TESTING)
+
+
diff --git a/Source/CMakeLists.txt b/Source/CMakeLists.txt
new file mode 100644
index 0000000000..f8ef7e563e
--- /dev/null
+++ b/Source/CMakeLists.txt
@@ -0,0 +1,30 @@
+SOURCE_FILES(SRCS
+cmake
+cmMakeDepend
+cmMakefile
+cmMakefileGenerator
+cmRegularExpression
+cmSourceFile
+cmSystemTools
+cmDirectory
+cmCommands
+cmTarget
+cmCustomCommand
+cmCacheManager
+cmCableClassSet
+cmSourceGroup
+cmakemain
+)
+
+IF (WIN32)
+ SOURCE_FILES(SRCS cmDSWWriter cmDSPWriter cmMSProjectGenerator)
+ELSE (WIN32)
+ SOURCE_FILES(SRCS cmUnixMakefileGenerator)
+ENDIF (WIN32)
+
+ADD_EXECUTABLE(cmake SRCS)
+
+ADD_TEST(burn cmake)
+
+INSTALL_TARGETS(/bin cmake)
+