export CC=gcc
export CXX=g++
cmake -DCMAKE_OSX_SYSROOT="/" ../code/
mv compile_commands.json ../code
- Change the path variable
function pf() {
path="/Users/stark/Projects/16833_HW1_ParticleFilter"
alias dev="cd $path/code"
alias bldD="cd $path/build && cmake -DDEBUG_MODE=ON $path/code && make"
alias bldI="cd $path/build && cmake -DDEBUG_MODE=OFF $path/code && make"
alias run="cd $path/build && ./src/main ../code/data/map/wean.dat ../code/data/log/robotdata1.log"
export PS1="\e[0;31m[\u@\h \W]\$ \e[m "
}