"clitk related standards
"
-set makeprg=/home/jschaerer/workspace/cvs/clitk3/fast_make.sh
+set shiftwidth=2
+set cindent
+"set cino={.5s,e-.5s,^-.5s
+set expandtab
+set softtabstop=2
+
+set makeprg=/home/joel/workspace/cvs/clitk3/fast_make.sh
set grepprg=clgrep
// display
#define DD(a) std::cout << #a " = [ " << a << " ]" << std::endl;
#define DDV(a,n) { std::cout << #a " = [ "; for(unsigned int _i_=0; _i_<n; _i_++) { std::cout << a[_i_] << " "; }; std::cout << " ]" << std::endl;}
+template<class T>
+void _print_container(T const& a)
+ { for(typename T::const_iterator i=a.begin();i!=a.end();++i) { std::cout << *i << " "; };}
+#define DDS(a) { std::cout << #a " = [ "; _print_container(a) ; std::cout << " ]" << std::endl;}
//--------------------------------------------------------------------
// when everything goes wrong
sleep 1
make -j${cpus}
else #use all the available computing power by default
- cpus=$(( $(cat /proc/cpuinfo | grep -c ^processor) + 2 ))
+ cpus=$(( $(cat /proc/cpuinfo | grep -c ^processor) + 0 ))
echo "Building with ${cpus} cpus..."
fi