Fix Vim-integration build debug command; rename excpetions-test to singular.
This commit is contained in:
parent
67be36bb40
commit
9f5ca3c6d1
@ -49,15 +49,21 @@ if ! get(s:, 'defined', 0) " -- prevents the function from being redefined after
|
||||
function! BuildDebug()
|
||||
let s:defined = 1
|
||||
|
||||
|
||||
wall
|
||||
|
||||
if (s:ninja_path == '')
|
||||
if (s:ninja_path != '')
|
||||
if (
|
||||
\ (!filereadable(s:build_dir . '/CMakeCache.txt')) ||
|
||||
\ (!filereadable(s:build_dir . '/build.ninja'))
|
||||
\ )
|
||||
|
||||
|
||||
exec ':Dispatch ' . s:cmake_call
|
||||
endif
|
||||
echo "found ninja"
|
||||
|
||||
sleep 5
|
||||
|
||||
set makeprg='ninja'
|
||||
exec ':Make ' . s:make_args
|
||||
|
@ -1,6 +1,6 @@
|
||||
|
||||
# Add the test executable
|
||||
add_executable(mdml-tests exceptions-test.cpp)
|
||||
add_executable(mdml-tests exception-test.cpp)
|
||||
|
||||
set_target_properties(mdml-tests PROPERTIES
|
||||
RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/artifacts/tests"
|
||||
|
Loading…
Reference in New Issue
Block a user