mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 23:03:02 +08:00
Updating files modified in 2018 only. Older files remain with old style copyright header Change-Id: Ic99f2e190ad74b4b7f2bd79dd7b9fa5fbe36ec92 Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
24 lines
653 B
CMake
24 lines
653 B
CMake
#
|
|
# Copyright (C) 2017-2018 Intel Corporation
|
|
#
|
|
# SPDX-License-Identifier: MIT
|
|
#
|
|
|
|
add_library(elflib STATIC
|
|
${CMAKE_CURRENT_SOURCE_DIR}/CMakeLists.txt
|
|
${CMAKE_CURRENT_SOURCE_DIR}/reader.cpp
|
|
${CMAKE_CURRENT_SOURCE_DIR}/reader.h
|
|
${CMAKE_CURRENT_SOURCE_DIR}/types.h
|
|
${CMAKE_CURRENT_SOURCE_DIR}/writer.cpp
|
|
${CMAKE_CURRENT_SOURCE_DIR}/writer.h
|
|
)
|
|
|
|
create_project_source_tree(elflib)
|
|
|
|
target_include_directories(elflib PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
|
|
target_include_directories(elflib PRIVATE ${IGDRCL_SOURCE_DIR})
|
|
|
|
set_target_properties(elflib PROPERTIES FOLDER "elflib")
|
|
|
|
set_target_properties(elflib PROPERTIES POSITION_INDEPENDENT_CODE ON)
|