1 # Copyright (C) 2018-2019 Intel Corporation
2 # SPDX-License-Identifier: Apache-2.0
5 if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
6 set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-unknown-warning-option -Wno-inconsistent-missing-override -Wno-pass-failed")
7 set(CMAKE_CC_FLAGS "${CMAKE_CC_FLAGS} -Wno-unknown-warning-option -Wno-inconsistent-missing-override -Wno-pass-failed")
10 add_subdirectory(pugixml)
11 export(TARGETS pugixml NAMESPACE IE:: APPEND FILE "${CMAKE_BINARY_DIR}/targets.cmake")
13 add_subdirectory(stb_lib)
17 set(CLDNN__OUTPUT_BIN_DIR ${CMAKE_RUNTIME_OUTPUT_DIRECTORY})
18 set(CLDNN__OUTPUT_LIB_DIR ${CMAKE_LIBRARY_OUTPUT_DIRECTORY})
19 set(CLDNN__INCLUDE_TESTS OFF CACHE BOOL "" FORCE)
20 set(CLDNN__INCLUDE_CORE_INTERNAL_TESTS OFF CACHE BOOL "" FORCE)
21 set(CLDNN__INCLUDE_EXAMPLES OFF CACHE BOOL "" FORCE)
22 set(CLDNN__INCLUDE_TUTORIAL OFF CACHE BOOL "" FORCE)
24 set(CLDNN__ARCHITECTURE_TARGET "Windows64" CACHE STRING "" FORCE)
26 set(CLDNN__ARCHITECTURE_TARGET "Linux64" CACHE STRING "" FORCE)
29 add_subdirectory(clDNN)
36 add_subdirectory("${IE_MAIN_SOURCE_DIR}/thirdparty/fluid/modules/gapi")