Instead of recompiling all of lunch source for each game, we generate source files containing the `main` function and default configuration for every game instead.
7 lines
205 B
Plaintext
7 lines
205 B
Plaintext
exec = executable(
|
|
'$name',
|
|
files('main.d') + windows.compile_resources(files('resource.rc')),
|
|
include_directories: includes,
|
|
d_import_dirs: ['.'],
|
|
link_with: [lunch, lua, luad, toml]
|
|
) |