# UnitTests
include(CheckIncludeFiles)
+include_directories("${THIRD_PARTY_INCLUDE_DIRS}")
+
# Setup the inference test framework
set(inference_test_sources
ClassifierTestCaseData.hpp
target_link_libraries(${testName} armnnCaffeParser)
target_link_libraries(${testName} armnn)
target_link_libraries(${testName} ${CMAKE_THREAD_LIBS_INIT})
+ set_target_properties(${testName} PROPERTIES
+ RUNTIME_OUTPUT_DIRECTORY_DEBUG ${CMAKE_SOURCE_DIR}/bin
+ RUNTIME_OUTPUT_DIRECTORY_RELEASE ${CMAKE_SOURCE_DIR}/bin)
addDllCopyCommands(${testName})
endmacro()
target_link_libraries(${testName} armnnTfParser)
target_link_libraries(${testName} armnn)
target_link_libraries(${testName} ${CMAKE_THREAD_LIBS_INIT})
+ set_target_properties(${testName} PROPERTIES
+ RUNTIME_OUTPUT_DIRECTORY_DEBUG ${CMAKE_SOURCE_DIR}/bin
+ RUNTIME_OUTPUT_DIRECTORY_RELEASE ${CMAKE_SOURCE_DIR}/bin)
addDllCopyCommands(${testName})
endmacro()
endif()
target_link_libraries(ExecuteNetwork armnn)
- target_link_libraries(ExecuteNetwork ${CMAKE_THREAD_LIBS_INIT})
- addDllCopyCommands(ExecuteNetwork)
+ target_link_libraries(ExecuteNetwork ${CMAKE_THREAD_LIBS_INIT})
+ addDllCopyCommands(ExecuteNetwork)
+ set_target_properties(ExecuteNetwork PROPERTIES
+ RUNTIME_OUTPUT_DIRECTORY_DEBUG ${CMAKE_SOURCE_DIR}/bin
+ RUNTIME_OUTPUT_DIRECTORY_RELEASE ${CMAKE_SOURCE_DIR}/bin)
endif()
if(BUILD_ACCURACY_TOOL)