Skip to content

Commit

Permalink
scripts/create_makefile.rb: Get include paths from project config
Browse files Browse the repository at this point in the history
  • Loading branch information
TheSomeMan committed Oct 17, 2024
1 parent 2019ee6 commit 522956c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/create_makefile.rb
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,8 @@
hash[file_name] = file_path
end

include_paths = []
include_paths = project_config&.dig(:paths, :include)&.flatten || []

all_headers.each do |file|
include_paths << File.dirname(file)
end
Expand Down

0 comments on commit 522956c

Please sign in to comment.