mirror of
https://gitee.com/vnotex/vnote.git
synced 2025-07-05 22:09:52 +08:00
add coc_update.cmd
This commit is contained in:
parent
a85c39aa26
commit
55c1174ae1
35
coc_update.cmd
Normal file
35
coc_update.cmd
Normal file
@ -0,0 +1,35 @@
|
||||
@echo off
|
||||
rem Update .ccls project file for ccls LPS and compile_flags.txt for clangd
|
||||
|
||||
if "%~1"=="" (
|
||||
echo missing argument: the location of Qt's include directory
|
||||
EXIT /B 0
|
||||
)
|
||||
|
||||
set qt_inc=%~1
|
||||
set qt_inc=%qt_inc:\=\\%
|
||||
|
||||
(
|
||||
echo clang
|
||||
echo -fcxx-exceptions
|
||||
echo -std=c++11
|
||||
echo -Isrc
|
||||
echo -Isrc\\dialog
|
||||
echo -Isrc\\utils
|
||||
echo -Isrc\\widgets
|
||||
echo -Ihoedown
|
||||
echo -Ipeg-highlight
|
||||
echo -I%qt_inc%
|
||||
echo -I%qt_inc%\\QtCore
|
||||
echo -I%qt_inc%\\QtWebEngineWidgets
|
||||
echo -I%qt_inc%\\QtSvg
|
||||
echo -I%qt_inc%\\QtPrintSupport
|
||||
echo -I%qt_inc%\\QtWidgets
|
||||
echo -I%qt_inc%\\QtWebEngineCore
|
||||
echo -I%qt_inc%\\QtGui
|
||||
echo -I%qt_inc%\\QtWebChannel
|
||||
echo -I%qt_inc%\\QtNetwork
|
||||
echo -I%qt_inc%\\QtTest
|
||||
) > ".ccls"
|
||||
|
||||
copy /Y .ccls compile_flags.txt
|
Loading…
x
Reference in New Issue
Block a user