build: ghostty lib, framework, build into app

This commit is contained in:
Mitchell Hashimoto
2023-02-13 22:20:33 -08:00
parent 81299fde9c
commit 8035865596
8 changed files with 153 additions and 6 deletions

16
include/ghostty.h Normal file
View File

@@ -0,0 +1,16 @@
#ifndef GHOSTTY_H
#define GHOSTTY_H
#ifdef __cplusplus
extern "C" {
#endif
#include <stdint.h>
uint64_t ghostty_hello(void);
#ifdef __cplusplus
}
#endif
#endif /* GHOSTTY_H */

4
include/module.modulemap Normal file
View File

@@ -0,0 +1,4 @@
module GhosttyKit {
umbrella header "ghostty.h"
export *
}