mirror of
https://github.com/simdjson/simdjson
synced 2026-06-08 17:27:07 +00:00
90e4a66c93
* Adding type validation, enhancing optional type support and adding test a few more tests. * Adding support for string-based enum serlalization and deserialization. * Removing unintentional endline. * Removing trailing whitespace. * Adding simpler api as suggested by moisrex. * Removing explicit optiona<int> and optional<std::string> references and using concepts instead! Credit goes to Lemire for pointing this out and suggesting a concepts based approach here. * Removing tests that are not relevant for this branch. * Removing api related changes. That will be done by moisrex. * Removing unnecessary new endlines. * Removing tests related to api changes and cleaning-up irrelevant tests. * removing broken reference * Removing trailing whitespace
17 lines
1.1 KiB
CMake
17 lines
1.1 KiB
CMake
# All remaining tests link with simdjson proper
|
|
include_directories(..)
|
|
add_cpp_test(builder_string_builder_tests LABELS ondemand acceptance per_implementation)
|
|
if(SIMDJSON_STATIC_REFLECTION)
|
|
add_cpp_test(static_reflection_builder_tests LABELS ondemand acceptance per_implementation)
|
|
add_cpp_test(static_reflection_comprehensive_tests LABELS ondemand acceptance per_implementation)
|
|
add_cpp_test(static_reflection_edge_cases_tests LABELS ondemand acceptance per_implementation)
|
|
add_cpp_test(static_reflection_enum_tests LABELS ondemand acceptance per_implementation)
|
|
endif(SIMDJSON_STATIC_REFLECTION)
|
|
# Copy the simdjson dll into the tests directory
|
|
if(MSVC AND BUILD_SHARED_LIBS)
|
|
add_custom_command(TARGET builder_string_builder_tests POST_BUILD # Adds a post-build event
|
|
COMMAND ${CMAKE_COMMAND} -E copy_if_different # which executes "cmake -E copy_if_different..."
|
|
"$<TARGET_FILE:simdjson>" # <--this is in-file
|
|
"$<TARGET_FILE_DIR:builder_string_builder_tests>") # <--this is out-file path
|
|
endif(MSVC AND BUILD_SHARED_LIBS)
|