summaryrefslogtreecommitdiffstats
path: root/Source/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'Source/CMakeLists.txt')
-rw-r--r--Source/CMakeLists.txt30
1 files changed, 30 insertions, 0 deletions
diff --git a/Source/CMakeLists.txt b/Source/CMakeLists.txt
new file mode 100644
index 0000000..f8ef7e5
--- /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)
+