mirror of
https://github.com/sched-ext/scx.git
synced 2024-12-12 03:34:22 +00:00
56bb963136
Rust build was using two separate workspaces - rust/ and scheds/rust. There's no reason to separate them and it makes doc generation tricky. Use single top level workspace so that we can drive all rust building from cargo.
12 lines
520 B
Meson
12 lines
520 B
Meson
# BPF compilation uses the gen_bpf_o generator. The following should be
|
|
# passed in as extra_args.
|
|
bpf_includes = ['-I', join_paths(meson.current_source_dir(), 'include'),
|
|
'-I', join_paths(meson.current_source_dir(), 'include/vmlinux'),
|
|
'-I', join_paths(meson.current_source_dir(), 'include/bpf-compat'),]
|
|
|
|
# Common include paths for user C compilation. The following should be
|
|
# passed in as executable::include_directories.
|
|
user_c_includes = include_directories('include')
|
|
|
|
subdir('c')
|