summaryrefslogtreecommitdiff
path: root/platform/test/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'platform/test/CMakeLists.txt')
-rw-r--r--platform/test/CMakeLists.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/platform/test/CMakeLists.txt b/platform/test/CMakeLists.txt
new file mode 100644
index 0000000..6914e4b
--- /dev/null
+++ b/platform/test/CMakeLists.txt
@@ -0,0 +1,6 @@
+add_definitions(-DENABLD_LOG_FIEL)
+add_executable(hasp_verify ${CMAKE_SOURCE_DIR}/platform/src/hasp_verify.c ${CMAKE_SOURCE_DIR}/platform/test/hasp_verify_test.c)
+target_include_directories(hasp_verify PUBLIC ${CMAKE_SOURCE_DIR}/platform/include/)
+target_link_libraries(hasp_verify pthread)
+target_link_libraries(hasp_verify ${CMAKE_SOURCE_DIR}/lib/libhasp_linux_x86_64_25743.a)
+install(TARGETS hasp_verify RUNTIME DESTINATION bin COMPONENT Program) \ No newline at end of file