fixes and default .gitignore
This commit is contained in:
parent
21be08ec55
commit
92de4ab1d7
16
.gitignore
vendored
Normal file
16
.gitignore
vendored
Normal file
@ -0,0 +1,16 @@
|
||||
# build results
|
||||
bin/
|
||||
obj/
|
||||
*.log
|
||||
*.tmp
|
||||
|
||||
# IDE files
|
||||
.vs/
|
||||
.vshistory/
|
||||
.editorconfig
|
||||
*.user
|
||||
*.vcxproj.filters
|
||||
|
||||
# other files
|
||||
.old*/
|
||||
current.config
|
||||
@ -11,3 +11,8 @@
|
||||
+ added makefile task fix_log
|
||||
+ new comments in scripts and Makefile
|
||||
+ wrapped arguments with quots in scripts
|
||||
+ now u should add CPP_ARGS to LINKER_ARGS manually
|
||||
+ added error(msg) function to functions.sh
|
||||
+ replaced printf calls with myprint in scripts
|
||||
+ added default .gitignore
|
||||
+ added *.log to .gitignore
|
||||
|
||||
@ -2,3 +2,5 @@
|
||||
|
||||
delete_dir "$OBJDIR"
|
||||
delete_dir "$OUTDIR"
|
||||
myprint "${WHITE}deleting build logs"
|
||||
rm -rf *.log
|
||||
|
||||
@ -92,7 +92,7 @@ $(find $OBJDIR/libs -name '*.a')"
|
||||
# (outfile)
|
||||
function pack_static_lib {
|
||||
myprint "${CYAN}----------[pack_static_lib]-----------"
|
||||
local outfile="$OUTDIR/$1"
|
||||
local outfile="$1"
|
||||
myprint "${BLUE}outfile: ${GRAY}$outfile"
|
||||
local objects="$(find $OBJDIR/objects -name *.o)
|
||||
$(find $OBJDIR/libs -name '*.a')"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user