1 # Copyright (C) 2018-2019 Intel Corporation
2 # SPDX-License-Identifier: Apache-2.0
5 set (TARGET_NAME "classification_sample")
8 ${CMAKE_CURRENT_SOURCE_DIR}/*.cpp
11 # Create named folders for the sources within the .vcproj
12 # Empty name lists them directly under the .vcproj
13 source_group("src" FILES ${SRC})
15 link_directories(${LIB_FOLDER})
17 # Create library file from sources.
18 add_executable(${TARGET_NAME} ${SRC})
20 set_target_properties(${TARGET_NAME} PROPERTIES "CMAKE_CXX_FLAGS" "${CMAKE_CXX_FLAGS} -fPIE"
21 COMPILE_PDB_NAME ${TARGET_NAME})
23 target_link_libraries(${TARGET_NAME} ${InferenceEngine_LIBRARIES} IE::ie_cpu_extension format_reader gflags)
26 target_link_libraries(${TARGET_NAME} ${LIB_DL} pthread)