summaryrefslogtreecommitdiffstatshomepage
path: root/makefile
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2015-11-08 15:00:26 +0100
committer Miodrag Milanovic <mmicko@gmail.com>2015-11-08 15:00:26 +0100
commit44ffd8dd618651b0bdfa07502e76b9500cefabd1 (patch)
tree13de938c952020806e7db848b45638fbf4248bfe /makefile
parent0284402d1c683ee8c28d4c8cdef8b1b47ce1583e (diff)
added make option to generate CMake files for CLion and root project file (nw)
also ignored CMakeLists.txt in root
Diffstat (limited to 'makefile')
-rw-r--r--makefile9
1 files changed, 9 insertions, 0 deletions
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
#-------------------------------------------------