refactor: add an FSEvents based watcher for macos
This commit is contained in:
parent
ca0a1c69a5
commit
2e38bbf4ee
3 changed files with 204 additions and 1 deletions
|
|
@ -734,6 +734,12 @@ pub fn build_exe(
|
|||
exe.root_module.addImport("version", b.createModule(.{ .root_source_file = version_file }));
|
||||
exe.root_module.addImport("version_info", b.createModule(.{ .root_source_file = version_info_file }));
|
||||
|
||||
if (target.result.os.tag == .macos) {
|
||||
exe.addFrameworkPath(b.dependency("xcode-frameworks", .{}).path("Frameworks"));
|
||||
exe.linkFramework("CoreServices");
|
||||
exe.linkFramework("CoreFoundation");
|
||||
}
|
||||
|
||||
if (target.result.os.tag == .windows) {
|
||||
exe.addWin32ResourceFile(.{
|
||||
.file = b.path("src/win32/flow.rc"),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue