mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-10-21 12:42:25 +00:00
Add unit testing for launcher code
This commit is contained in:
parent
a484d6928e
commit
5c9c8aa424
5 changed files with 189 additions and 30 deletions
4
setup.py
4
setup.py
|
|
@ -1299,8 +1299,10 @@ def build_launcher(args: Options, launcher_dir: str = '.', bundle_type: str = 's
|
|||
werror = '' if args.ignore_compiler_warnings else '-pedantic-errors -Werror'
|
||||
cflags = f'-Wall {werror} -fpie'.split()
|
||||
cppflags = [define(f'WRAPPED_KITTENS=" {wrapped_kittens()} "')]
|
||||
libs: List[str] = []
|
||||
ldflags = shlex.split(os.environ.get('LDFLAGS', ''))
|
||||
xxhash = xxhash_flags()
|
||||
cppflags.extend(xxhash[0])
|
||||
libs: list[str] = xxhash[1]
|
||||
if args.profile or args.sanitize:
|
||||
cflags.append('-g3')
|
||||
if args.sanitize:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue