From e9aff6b79775830f40be0549254ab5107fb3df74 Mon Sep 17 00:00:00 2001 From: Nitin Kumar <59679977+lazysegtree@users.noreply.github.com> Date: Thu, 22 Jan 2026 16:17:11 +0530 Subject: [PATCH] chore(ci): Add test for options_no_regex --- test/CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 91e27ec..757b081 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -22,6 +22,11 @@ add_executable(options_test main.cpp options.cpp) target_link_libraries(options_test cxxopts) add_test(options options_test) +add_executable(options_test_noregex main.cpp options.cpp) +target_link_libraries(options_test_noregex cxxopts) +target_compile_definitions(options_test_noregex PRIVATE CXXOPTS_NO_REGEX) +add_test(options_no_regex options_test_noregex) + # test if the targets are findable from the build directory add_test(find-package-test ${CMAKE_CTEST_COMMAND} -C ${CMAKE_BUILD_TYPE}