mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-06-28 16:41:01 +03:00
hscheck accepts a file of regular expressions in the form: ID:/regex/flags and tests whether they can be compiled with Hyperscan, reporting the error if compilation fails.
11 lines
295 B
CMake
11 lines
295 B
CMake
# only set these after all tests are done
|
|
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${EXTRA_C_FLAGS}")
|
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${EXTRA_CXX_FLAGS}")
|
|
|
|
SET(hscheck_SOURCES
|
|
main.cpp
|
|
)
|
|
add_executable(hscheck ${hscheck_SOURCES})
|
|
target_link_libraries(hscheck hs expressionutil pthread)
|
|
|