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
f8bc22c7
Unverified
Commit
f8bc22c7
authored
Aug 18, 2021
by
Niels Lohmann
Committed by
GitHub
Aug 18, 2021
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2945 from nlohmann/issue2941
Remove outdated json_unit test binary
parents
de4a6346
5d3ad31d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
11 deletions
+0
-11
test/CMakeLists.txt
test/CMakeLists.txt
+0
-11
No files found.
test/CMakeLists.txt
View file @
f8bc22c7
...
...
@@ -100,17 +100,6 @@ elseif (CMAKE_CXX_COMPILER_ID STREQUAL "MSVC")
#target_compile_definitions(test-disabled_exceptions PUBLIC _HAS_EXCEPTIONS=0)
endif
()
add_executable
(
json_unit EXCLUDE_FROM_ALL $<TARGET_OBJECTS:doctest_main>
${
files
}
)
target_compile_definitions
(
json_unit PRIVATE DOCTEST_CONFIG_SUPER_FAST_ASSERTS
)
target_compile_options
(
json_unit PRIVATE
$<$<CXX_COMPILER_ID:MSVC>:/EHsc;$<$<CONFIG:Release>:/Od>>
$<$<NOT:$<CXX_COMPILER_ID:MSVC>>:-Wno-deprecated;-Wno-float-equal>
$<$<CXX_COMPILER_ID:GNU>:-Wno-deprecated-declarations>
)
target_include_directories
(
json_unit PRIVATE
${
CMAKE_BINARY_DIR
}
/include thirdparty/doctest thirdparty/fifo_map
)
target_link_libraries
(
json_unit
${
NLOHMANN_JSON_TARGET_NAME
}
)
add_dependencies
(
json_unit download_test_data
)
#############################################################################
# Test the generated build configs
#############################################################################
...
...
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