summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--.gitignore3
-rw-r--r--makefile9
2 files changed, 11 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore
index 3a4bc649e5e..b20b719d9cf 100644
--- a/.gitignore
+++ b/.gitignore
@@ -22,4 +22,5 @@
/.idea
src/regtests/chdman/temp
src/regtests/jedutil/output
-*.pyc \ No newline at end of file
+*.pyc
+/CMakeLists.txt \ No newline at end of file
diff --git a/makefile b/makefile
index 3702c46797a..4468b14df5a 100644
--- a/makefile
+++ b/makefile
@@ -1075,6 +1075,15 @@ os2_x86: generate $(PROJECTDIR)/gmake-os2/Makefile
#-------------------------------------------------
+# cmake
+#-------------------------------------------------
+cmake: generate
+ $(SILENT) $(GENIE) $(PARAMS) cmake
+ $(SILENT)echo cmake_minimum_required(VERSION 2.8.4) > CMakeLists.txt
+ $(SILENT)echo add_subdirectory($(PROJECTDIR)/cmake) >> CMakeLists.txt
+
+
+#-------------------------------------------------
# Clean/bootstrap
#-------------------------------------------------