the new .vimrc.local system.

This commit is contained in:
2014-11-12 19:54:44 +04:00
parent bf8dd5f87a
commit 28848c342f
3 changed files with 10 additions and 4 deletions

View File

@@ -1,3 +1,4 @@
set path+=C:/Progra~2/Micros~1.0/VC/include
" "
" the root of all 3pty libraries " the root of all 3pty libraries
" "
@@ -12,6 +13,7 @@ let g:boostbin=g:boostlib
let g:Bboost=g:boostbin.";" let g:Bboost=g:boostbin.";"
let g:Iboost=" /I\"".g:boostinc."\"" let g:Iboost=" /I\"".g:boostinc."\""
let g:Lboost=" /LIBPATH:\"".g:boostlib."\"" let g:Lboost=" /LIBPATH:\"".g:boostlib."\""
exec "set path+=".g:boostinc
" "
" Intel TBB " Intel TBB
" "
@@ -24,4 +26,4 @@ let g:Itbb=" /I\"".g:tbbinc."\""
let g:Ltbb=" /LIBPATH:\"".g:tbblib."\" tbb.lib" let g:Ltbb=" /LIBPATH:\"".g:tbblib."\" tbb.lib"
let g:tbbmalloc=" tbbmalloc.lib" let g:tbbmalloc=" tbbmalloc.lib"
let g:tbbmproxy=" tbbmalloc_proxy.lib" let g:tbbmproxy=" tbbmalloc_proxy.lib"
exec "set path+=".g:tbbinc

View File

@@ -1,12 +1,11 @@
let s:vimrc=expand('<sfile>') let s:vimrc=expand('<sfile>:p:r')
let s:host=hostname() let s:host=hostname()
if filereadable(s:vimrc.'.'.s:host) if filereadable(s:vimrc.'.'.s:host)
execute 'source '.s:vimrc.'.'.s:host execute ':source '.s:vimrc.'.'.s:host
elseif filereadable(s:vimrc.'.win64') && has('win64') elseif filereadable(s:vimrc.'.win64') && has('win64')
source s:vimrc.'.win64' source s:vimrc.'.win64'
elseif filereadable(s:vimrc.'.linux') && has('unix') elseif filereadable(s:vimrc.'.linux') && has('unix')
source s:vimrc.'.linux' source s:vimrc.'.linux'
endif endif

View File

@@ -0,0 +1,5 @@
let g:lcppflags="-std=c++11 -O2 -pthread"
let g:wcppflags="/O2 /EHsc /DWIN32"
let g:argv=' < '.expand('%:t:r').'-sample.in'