root/trunk/digitalme/configure

Revision 2552, 0.5 kB (checked in by ahodgkinson, 13 months ago)

digitalme: Added 'clean' script.

  • Property svn:eol-style set to native
  • Property svn:executable set to *
Line 
1#!/bin/sh
2
3./clean
4
5echo "Checking for CMake ..."
6cmake_path=""
7
8if [ -f /usr/local/bin/cmake ]
9then
10        cmake_path="/usr/local/bin/cmake"
11fi
12
13if [ -f /usr/bin/cmake ]
14then
15        cmake_path="/usr/bin/cmake"
16fi
17
18if [ -f /bin/cmake ]
19then
20        cmake_path="/bin/cmake"
21fi
22
23if [ -n "$cmake_path" ]
24then
25        echo "CMake is installed ($cmake_path), configuring project ..."
26        cmake . $1 $2 $3 $4 $5
27else
28        echo -e "\033[31m-- cmake is not installed, please install the correct cmake package or download it from \"www.cmake.org\"\033[0m"
29fi
Note: See TracBrowser for help on using the browser.