Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat bfdev: use built-in header reference path #4

Merged
merged 1 commit into from
Apr 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 8 additions & 5 deletions cmake/bfdev.cmake
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
set(BFDEV_SOURCE_PATH ${PROJECT_SOURCE_DIR}/src)
# SPDX-License-Identifier: GPL-2.0-or-later
#
# Copyright(c) 2024 John Sanpe <[email protected]>
#

# FIXME: support use system lib and user specific lib
set(CMAKE_POLICY_DEFAULT_CMP0077 NEW)
add_subdirectory(lib/bfdev)
include_directories(${PROJECT_SOURCE_DIR}/lib/bfdev/include)
include_directories(${PROJECT_BINARY_DIR}/lib/bfdev/generated)
include_directories(${CMAKE_SOURCE_DIR}/lib/bfdev/arch/generic/include)

get_property(BFDEV_INCLUDE_DIRS GLOBAL PROPERTY "BFDEV_INCLUDE_DIRS")
include_directories(${BFDEV_INCLUDE_DIRS})
2 changes: 1 addition & 1 deletion lib/bfdev
Loading