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
74675dd6
Unverified
Commit
74675dd6
authored
Feb 09, 2018
by
Niels Lohmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
⏪
back to the original version
parent
ab05df3a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
2 deletions
+1
-2
.travis.yml
.travis.yml
+1
-1
test/CMakeLists.txt
test/CMakeLists.txt
+0
-1
No files found.
.travis.yml
View file @
74675dd6
...
@@ -99,7 +99,7 @@ matrix:
...
@@ -99,7 +99,7 @@ matrix:
before_script
:
before_script
:
-
pip install --user cpp-coveralls
-
pip install --user cpp-coveralls
after_success
:
after_success
:
-
coveralls --build-root test --include include/nlohmann --gcov 'gcov-4.9' --gcov-options '\-lp'
-
coveralls --build-root test --include
single_
include/nlohmann --gcov 'gcov-4.9' --gcov-options '\-lp'
env
:
env
:
-
COMPILER=g++-4.9
-
COMPILER=g++-4.9
-
CMAKE_OPTIONS=-DJSON_Coverage=ON
-
CMAKE_OPTIONS=-DJSON_Coverage=ON
...
...
test/CMakeLists.txt
View file @
74675dd6
...
@@ -41,7 +41,6 @@ if(JSON_Coverage)
...
@@ -41,7 +41,6 @@ if(JSON_Coverage)
find_program
(
GCOV_BIN NAMES gcov-
${
GCC_VERSION
}
gcov HINTS
${
COMPILER_PATH
}
)
find_program
(
GCOV_BIN NAMES gcov-
${
GCC_VERSION
}
gcov HINTS
${
COMPILER_PATH
}
)
# collect all source files from the chosen include dir
# collect all source files from the chosen include dir
set
(
NLOHMANN_JSON_INCLUDE_BUILD_DIR
"
${
PROJECT_SOURCE_DIR
}
/single_include/"
)
file
(
GLOB_RECURSE SOURCE_FILES
${
NLOHMANN_JSON_INCLUDE_BUILD_DIR
}
*.hpp
)
file
(
GLOB_RECURSE SOURCE_FILES
${
NLOHMANN_JSON_INCLUDE_BUILD_DIR
}
*.hpp
)
# add target to collect coverage information and generate HTML file
# add target to collect coverage information and generate HTML file
...
...
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