mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-06-28 16:41:01 +03:00
unit: Don't run unit-internal in release build
This commit is contained in:
parent
1f47b82106
commit
aa674e4e47
@ -112,6 +112,7 @@ endif()
|
||||
#
|
||||
# build target to run unit tests
|
||||
#
|
||||
if (NOT RELEASE_BUILD)
|
||||
add_custom_target(
|
||||
unit
|
||||
COMMAND bin/unit-internal
|
||||
@ -119,3 +120,11 @@ add_custom_target(
|
||||
WORKING_DIRECTORY ${CMAKE_BINARY_DIR}
|
||||
DEPENDS unit-internal unit-hyperscan
|
||||
)
|
||||
else ()
|
||||
add_custom_target(
|
||||
unit
|
||||
COMMAND bin/unit-hyperscan
|
||||
WORKING_DIRECTORY ${CMAKE_BINARY_DIR}
|
||||
DEPENDS unit-hyperscan
|
||||
)
|
||||
endif()
|
||||
|
Loading…
x
Reference in New Issue
Block a user