cpp-d1064k
[projects.git] / tools / make / cmake_check
diff --git a/tools/make/cmake_check b/tools/make/cmake_check
new file mode 100755 (executable)
index 0000000..aa85d8c
--- /dev/null
@@ -0,0 +1,12 @@
+#!/bin/bash
+set -e
+cd ../build
+if [ -e debian/$paket.cmake ]
+then
+       cp debian/$paket.cmake CMakeLists.txt
+       echo "make" > debian/$paket.build
+       chmod 755 debian/$paket.build
+       echo "cmake ." > debian/$paket.prebuild
+       chmod 755 debian/$paket.prebuild
+fi
+