ovni/test/emu/common/CMakeLists.txt
Rodrigo Arias ddbb7dd9f4 Add include-what-you-use
Adds forwards declarations in headers and includes all headers in
sources, even if they are found by transitive includes.
2023-03-24 12:08:45 +00:00

12 lines
409 B
CMake

# Copyright (c) 2023 Barcelona Supercomputing Center (BSC)
# SPDX-License-Identifier: GPL-3.0-or-later
add_library(instr-static STATIC instr.c)
target_include_directories(instr-static
PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}"
PRIVATE "${CMAKE_SOURCE_DIR}/src"
PRIVATE "${CMAKE_SOURCE_DIR}/src/include"
PRIVATE "${CMAKE_SOURCE_DIR}/include"
)
target_link_libraries(ovni-static parson-static common-static)