Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
json
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
json
Commits
7f6ea47b
Unverified
Commit
7f6ea47b
authored
Jul 16, 2020
by
Niels Lohmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
🔧
adjust analysis targets
parent
4c59d6aa
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
Makefile
Makefile
+4
-4
No files found.
Makefile
View file @
7f6ea47b
...
...
@@ -5,7 +5,7 @@
##########################################################################
# directory to recent compiler binaries
COMPILER_DIR
=
/
Users/niels/Documents/projects/compilers/local
/bin
COMPILER_DIR
=
/
usr/local/opt/llvm
/bin
# find GNU sed to use `-i` parameter
SED
:=
$(
shell
command
-v
gsed
||
which
sed
)
...
...
@@ -484,13 +484,13 @@ cpplint:
# call Clang-Tidy <https://clang.llvm.org/extra/clang-tidy/>
clang_tidy
:
$(COMPILER_DIR)
/clang-tidy
$(
AMALGAMATED_FILE
)
--
-Iinclude
-std
=
c++11
$(COMPILER_DIR)
/clang-tidy
$(
SRCS
)
--
-Iinclude
-std
=
c++11
# call PVS-Studio Analyzer <https://www.viva64.com/en/pvs-studio/>
pvs_studio
:
rm
-fr
pvs_studio_build
mkdir
pvs_studio_build
cd
pvs_studio_build
;
cmake ..
-DCMAKE_EXPORT_COMPILE_COMMANDS
=
On
cd
pvs_studio_build
;
cmake ..
-DCMAKE_EXPORT_COMPILE_COMMANDS
=
On
-DJSON_MultipleHeaders
=
ON
cd
pvs_studio_build
;
pvs-studio-analyzer analyze
-j
10
cd
pvs_studio_build
;
plog-converter
-a
'GA:1,2;64:1;CS'
-t
fullhtml PVS-Studio.log
-o
pvs
open pvs_studio_build/pvs/index.html
...
...
@@ -499,7 +499,7 @@ pvs_studio:
infer
:
rm
-fr
infer_build
mkdir
infer_build
cd
infer_build
;
infer compile
--
cmake ..
;
infer run
--
make
-j
4
cd
infer_build
;
infer compile
--
cmake ..
-DJSON_MultipleHeaders
=
ON
;
infer run
--
make
-j
4
# call OCLint <http://oclint.org> static analyzer
oclint
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment