Diff of /branches/magellan-next/include/cmake.sminc
Parent Directory | Revision Log | Patch
revision 8012 by niro, Tue Jun 28 19:58:57 2011 UTC | revision 8018 by niro, Tue Jun 28 22:04:41 2011 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() |
|