Migreate build system to Meson
FossilOrigin-Name: f2b266d4a62165383911e1575eaecce9234e845ce48040bf86494c9fb68f7366
This commit is contained in:
parent
854e63554c
commit
4f3969acfb
17 changed files with 59 additions and 5950 deletions
16
src/Makefile
16
src/Makefile
|
@ -1,16 +0,0 @@
|
|||
include ../extra.mk
|
||||
|
||||
SHARED_LIB = ${OBJIRC_SHARED_LIB}
|
||||
STATIC_LIB = ${OBJIRC_STATIC_LIB}
|
||||
LIB_MAJOR = ${OBJIRC_LIB_MAJOR}
|
||||
LIB_MINOR = ${OBJIRC_LIB_MINOR}
|
||||
|
||||
SRCS = IRCConnection.m \
|
||||
IRCUser.m
|
||||
|
||||
INCLUDES = ${SRCS:.m=.h} \
|
||||
ObjIRC.h
|
||||
|
||||
include ../buildsys.mk
|
||||
|
||||
LD = ${OBJC}
|
20
src/meson.build
Normal file
20
src/meson.build
Normal file
|
@ -0,0 +1,20 @@
|
|||
fs = import('fs')
|
||||
|
||||
sources = files(
|
||||
'IRCConnection.m',
|
||||
'IRCUser.m',
|
||||
)
|
||||
|
||||
objirc = library('objirc',
|
||||
sources,
|
||||
include_directories: incdir,
|
||||
dependencies: [objfw_dep],
|
||||
soversion: '0.0.0',
|
||||
install: true)
|
||||
|
||||
headers = ['ObjIRC.h']
|
||||
foreach source: sources
|
||||
headers += fs.replace_suffix(source.full_path(), '.h')
|
||||
endforeach
|
||||
|
||||
install_headers(headers, subdir: 'ObjIRC')
|
Loading…
Add table
Add a link
Reference in a new issue