Advertisement
UrryKurtz

gen_project.sh

May 14th, 2019
235
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.26 KB | None | 0 0
  1. #!/bin/sh
  2. SRC_DIR=`pwd`
  3. BLD_DIR=${SRC_DIR}"_Build"
  4. echo ${BLD_DIR}
  5. mkdir ${BLD_DIR}
  6. cd ${BLD_DIR}
  7. cmake -G "Eclipse CDT4 - Unix Makefiles" -DCMAKE_ECLIPSE_GENERATE_SOURCE_PROJECT=TRUE ${SRC_DIR} -DCMAKE_BUILD_TYPE=Debug
  8. #-DCMAKE_BUILD_TYPE=Release #for release
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement