Rodrigo Arias
ddbb7dd9f4
Adds forwards declarations in headers and includes all headers in sources, even if they are found by transitive includes.
12 lines
409 B
CMake
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)
|