1 # Build settings based on the upstream Xcode project.
2 # See: https://github.com/apple-oss-distributions/top/blob/main/top.xcodeproj/project.pbxproj
5 project('top', 'c', version : '@version@')
9 cc = meson.get_compiler('c')
11 libutil = cc.find_library('util', has_headers : 'libutil.h')
13 dependency('ncurses'),
17 sdk_frameworks = dependency('appleframeworks', modules : ['CoreFoundation', 'IOKit'])
21 libtop = static_library(
34 dependencies : [libutil, ncurses, sdk_frameworks],
71 'userinput_secondary_order.c',