-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.vimrc
26 lines (25 loc) · 927 Bytes
/
.vimrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
nnoremap <leader>mc :CMakeSelectBuildType metal-debug<CR>
nnoremap <leader>mr :CMakeSelectBuildType metal-release<CR>
let g:cmake_variants =
\{
\ 'metal-debug' : {
\ 'cmake_build_type' : 'Debug',
\ 'cmake_usr_args' : '-DGPU=ON -DMETAL=ON -DHAZE_DEBUG=ON'
\ },
\ 'metal-release' : {
\ 'cmake_build_type' : 'Release',
\ 'cmake_usr_args' : '-DGPU=ON -DMETAL=ON -DHAZE_RELEASE=ON -DGBENCH=ON'
\ },
\ 'debug': {
\ 'cmake_build_type' : 'Debug',
\ 'cmake_usr_args' : '-DGTEST=ON -DGBENCH=ON -DHAZE_DEBUG=ON'
\ },
\ 'dev-release': {
\ 'cmake_build_type' : 'Release',
\ 'cmake_usr_args' : '-DGTEST=ON -DGBENCH=ON -DHAZE_RELEASE=ON'
\ },
\ 'release': {
\ 'cmake_build_type' : 'Release',
\ 'cmake_usr_args' : '-DGTEST=ON -DGBENCH=ON -DHAZE_RELEASE=ON'
\ }
\}