Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function rmtmp()
- {
- find -name '*~' -delete
- find -name '*.elc' -delete
- # Remove build dirs only when we are in a cmake project
- if [ -d build/ ];then
- rm -rf build/
- fi
- # When working with pdflatex
- find -name '*.out' -delete
- find -name '*.toc' -delete
- find -name '*.log' -delete
- find -name '*.aux' -delete
- }
- function cbuild()
- {
- rmtmp
- mkdir build && cd build && \
- cmake -DCMAKE_BUILD_TYPE=Debugfull -DCMAKE_INSTALL_PREFIX=/usr .. && \
- make -j3 && cd ..
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement