Diff of /trunk/include/cmake.sminc
Parent Directory | Revision Log | Patch
revision 6654 by niro, Tue Sep 14 16:46:32 2010 UTC | revision 8012 by niro, Tue Jun 28 19:58:57 2011 UTC | |
---|---|---|
# | Line 96 cmake_build_not() | Line 96 cmake_build_not() |
96 | echo "-DBUILD_${feature}=OFF" | echo "-DBUILD_${feature}=OFF" |
97 | } | } |
98 | ||
99 | # install cmake opts | |
100 | cmake_install() | |
101 | { | |
102 | local feature="$1" | |
103 | local option="$2" | |
104 | echo "-DINSTALL_${feature}=\"${option}\"" | |
105 | } | |
106 | ||
107 | # generic cmake opts | |
108 | cmake_opt() | |
109 | { | |
110 | local feature="$1" | |
111 | local option="$2" | |
112 | echo "-D${feature}=\"${option}\"" | |
113 | } | |
114 | ||
115 | cmake_src_prepare() | cmake_src_prepare() |
116 | { | { |
117 | munpack ${SRCFILE} || die | munpack ${SRCFILE} || die |
|