We can just link with the private library, and use the main file to make it an executable. This drops the compile time by 43% here.
24 lines
479 B
Meson
24 lines
479 B
Meson
contrib_incs += [ include_directories('.') ]
|
|
|
|
libevolution_files = files(
|
|
'e-cal-data-model.c',
|
|
'e-cal-data-model-subscriber.c'
|
|
)
|
|
|
|
libevolution_deps = [
|
|
libecal_dep,
|
|
libedataserver_dep,
|
|
]
|
|
|
|
libevolution = static_library(
|
|
'evolution',
|
|
dependencies: libevolution_deps,
|
|
sources: libevolution_files,
|
|
pic: true,
|
|
)
|
|
|
|
libevolution_dep = declare_dependency(
|
|
link_with: libevolution,
|
|
include_directories: include_directories('.'),
|
|
)
|