Add unitest

This commit is contained in:
2026-04-06 07:11:04 +10:00
parent f57ed78763
commit e009257dfd
13 changed files with 225 additions and 77 deletions

View File

@@ -4,6 +4,11 @@ project(ANSCustomModels LANGUAGES CXX)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
# Place all build outputs (.exe and .dll) in the same directory so our own
# custom model DLLs are found next to the test/demo executables at runtime.
# External DLLs (ANSLIB, OpenCV, etc.) are loaded from C:\ProgramData\ANSCENTER\Shared.
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin")
add_subdirectory(ANSCustomHelmetDetection)
add_subdirectory(ANSCustomFireNSmokeDetection)
add_subdirectory(ANSCustomWeaponDetection)