Vim settings - "IDE" builds in debug mode
This commit is contained in:
parent
9e75356509
commit
302894e404
5 changed files with 17 additions and 5 deletions
12
.vim.local/scripts/build-config
Normal file
12
.vim.local/scripts/build-config
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
# vim: syntax=make
|
||||||
|
|
||||||
|
BUILD_STATIC_LIB = n
|
||||||
|
BUILD_DYNAMIC_LIB = y
|
||||||
|
DEBUG = y
|
||||||
|
OPTIMIZE = n
|
||||||
|
BUILD_TESTS = y
|
||||||
|
|
||||||
|
OUTDIR = output
|
||||||
|
|
||||||
|
export BUILD_STATIC_LIB BUILD_DYNAMIC_LIB DEBUG OPTIMIZE BUILD_TESTS
|
||||||
|
export OUTDIR
|
|
@ -1,2 +1,2 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
make -j 8 all
|
make -j 8 all CONFIG=.vim.local/scripts/build-config
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
make fullclean
|
make fullclean CONFIG=.vim.local/scripts/build-config
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
make fullclean
|
make fullclean CONFIG=.vim.local/scripts/build-config
|
||||||
make -j 8 all
|
make -j 8 all CONFIG=.vim.local/scripts/build-config
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
if make -j 8 all; then
|
if make -j 8 all CONFIG=.vim.local/scripts/build-config; then
|
||||||
if [ "$VIM_RELDIR" = "tests" ] && [ "$VIM_FILEEXT" = ".cc" ]; then
|
if [ "$VIM_RELDIR" = "tests" ] && [ "$VIM_FILEEXT" = ".cc" ]; then
|
||||||
if [ -f "output/fast/test-$VIM_FILENOEXT" ]; then
|
if [ -f "output/fast/test-$VIM_FILENOEXT" ]; then
|
||||||
LD_LIBRARY_PATH=./output \
|
LD_LIBRARY_PATH=./output \
|
||||||
|
|
Loading…
Reference in a new issue