File: compile-debug.sh

package info (click to toggle)
critterding 1.0-beta14%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 43,448 kB
  • sloc: cpp: 21,696; xml: 74; makefile: 34; sh: 30
file content (10 lines) | stat: -rwxr-xr-x 342 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
#!/bin/bash 
rm CMakeCache.txt -fr && rm CMakeFiles -fr
CXXFLAGS="-Og -Wall -Wextra -pipe" cmake -DCMAKE_BUILD_TYPE=Debug ./                                                                                                                                                           
if [ -z "$1" ]
	then
		time make
	else
		time make -j${1}
fi