1
0
mirror of synced 2025-01-25 15:53:43 +01:00

patterns: Updated pattern language

This commit is contained in:
WerWolv 2024-12-16 21:32:19 +01:00
parent d78d955d11
commit a527a7f0b0
3 changed files with 7 additions and 4 deletions

View File

@ -73,8 +73,11 @@ addPluginDirectories()
# Add unit tests
if (IMHEX_ENABLE_UNIT_TESTS)
enable_testing()
add_subdirectory(tests EXCLUDE_FROM_ALL)
if (NOT TARGET unit_tests)
enable_testing()
add_custom_target(unit_tests)
add_subdirectory(tests EXCLUDE_FROM_ALL)
endif ()
endif ()
# Configure more resources that will be added to the install package

@ -1 +1 @@
Subproject commit 6fbcbb1f8af937266b16738ebc194e657e09640a
Subproject commit 3855f22c2381783a8709663fc3aaa6d6899e69b1

View File

@ -1,6 +1,6 @@
project(unit_tests)
add_custom_target(unit_tests DEPENDS imhex_all helpers algorithms plugins)
add_dependencies(unit_tests imhex_all helpers algorithms plugins)
add_subdirectory(common)
target_compile_definitions(tests_common PUBLIC IMHEX_PROJECT_NAME="${PROJECT_NAME}")