mirror of
https://github.com/deltachat/deltachat-core.git
synced 2025-10-03 09:49:15 +02:00

This makes sure that there is a deltachat/deltacht.h file in the build directory before it is installed. This allows code to to #include <deltachat/deltachat.h> when building against an uninstalled library just like they would for building against an installed library.
8 lines
394 B
Meson
8 lines
394 B
Meson
# This source directory only exists so we can have a
|
|
# deltachat/deltachat.h in the build directory. This allows C code to
|
|
# always `#include <deltachat/deltachat.h>` even to build against an
|
|
# uninstalled library by -I to point at the build directory.
|
|
configure_file(input: '../src/deltachat.h',
|
|
output: 'deltachat.h',
|
|
copy: true,
|
|
install: false)
|