Magellan Linux

Diff of /trunk/include/cmake.sminc

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

branches/magellan-next/include/cmake.sminc revision 8012 by niro, Tue Jun 28 19:58:57 2011 UTC trunk/include/cmake.sminc revision 21166 by niro, Thu Mar 13 15:11:50 2014 UTC
# Line 101  cmake_install() Line 101  cmake_install()
101  {  {
102   local feature="$1"   local feature="$1"
103   local option="$2"   local option="$2"
104   echo "-DINSTALL_${feature}=\"${option}\""   echo "-DINSTALL_${feature}=${option}"
105  }  }
106    
107  # generic cmake opts  # generic cmake opts
# Line 109  cmake_opt() Line 109  cmake_opt()
109  {  {
110   local feature="$1"   local feature="$1"
111   local option="$2"   local option="$2"
112   echo "-D${feature}=\"${option}\""   echo "-D${feature}=${option}"
113  }  }
114    
115  cmake_src_prepare()  cmake_src_prepare()
# Line 130  cmake_configure() Line 130  cmake_configure()
130   fi   fi
131    
132   cmake \   cmake \
133     -DCMAKE_VERBOSE_MAKEFILE=ON \
134   -DCMAKE_BUILD_TYPE=Release \   -DCMAKE_BUILD_TYPE=Release \
135   -DCMAKE_INSTALL_PREFIX=${PREFIX:-/usr} \   -DCMAKE_INSTALL_PREFIX=${PREFIX:-/usr} \
136   -DLIB_SUFFIX=${libsuffix} \   -DLIB_SUFFIX=${libsuffix} \
# Line 154  cmake_src_compile() Line 155  cmake_src_compile()
155   mmake || die   mmake || die
156  }  }
157    
158    cmake_src_check()
159    {
160     #cd ${BUILDDIR}/build
161     #mmake -j1 -k check || die
162     return 0
163    }
164    
165  cmake_src_install()  cmake_src_install()
166  {  {
167   cd ${BUILDDIR}/build   cd ${BUILDDIR}/build
# Line 171  cmake_src_install() Line 179  cmake_src_install()
179   done   done
180  }  }
181    
182  export_inherits cmake src_prepare src_compile src_install  export_inherits cmake src_prepare src_compile src_check src_install

Legend:
Removed from v.8012  
changed lines
  Added in v.21166