mirror of
https://github.com/ScrelliCopter/tmx2gba.git
synced 2025-02-21 03:29:25 +11:00
use ext miniz in tmxlite, prune files
This commit is contained in:
@@ -1,59 +0,0 @@
|
||||
if get_option('use_extlibs')
|
||||
tmxlite_lib = library(meson.project_name() + binary_postfix,
|
||||
'FreeFuncs.cpp',
|
||||
'ImageLayer.cpp',
|
||||
'Map.cpp',
|
||||
'Object.cpp',
|
||||
'ObjectGroup.cpp',
|
||||
'Property.cpp',
|
||||
'TileLayer.cpp',
|
||||
'LayerGroup.cpp',
|
||||
'Tileset.cpp',
|
||||
install: true,
|
||||
include_directories: incdir,
|
||||
dependencies: [zdep, pugidep, zstddep]
|
||||
)
|
||||
else
|
||||
|
||||
if get_option('use_zstd')
|
||||
|
||||
tmxlite_lib = library(meson.project_name() + binary_postfix,
|
||||
'detail/pugixml.cpp',
|
||||
'FreeFuncs.cpp',
|
||||
'ImageLayer.cpp',
|
||||
'Map.cpp',
|
||||
'miniz.c',
|
||||
'Object.cpp',
|
||||
'ObjectGroup.cpp',
|
||||
'Property.cpp',
|
||||
'TileLayer.cpp',
|
||||
'LayerGroup.cpp',
|
||||
'Tileset.cpp',
|
||||
install: true,
|
||||
include_directories: incdir,
|
||||
dependencies: zstddep
|
||||
)
|
||||
else
|
||||
|
||||
tmxlite_lib = library(meson.project_name() + binary_postfix,
|
||||
'detail/pugixml.cpp',
|
||||
'FreeFuncs.cpp',
|
||||
'ImageLayer.cpp',
|
||||
'Map.cpp',
|
||||
'miniz.c',
|
||||
'Object.cpp',
|
||||
'ObjectGroup.cpp',
|
||||
'Property.cpp',
|
||||
'TileLayer.cpp',
|
||||
'LayerGroup.cpp',
|
||||
'Tileset.cpp',
|
||||
install: true,
|
||||
include_directories: incdir,
|
||||
)
|
||||
endif
|
||||
endif
|
||||
|
||||
tmxlite_dep = declare_dependency(
|
||||
link_with: tmxlite_lib,
|
||||
include_directories: incdir,
|
||||
)
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,8 +0,0 @@
|
||||
/*
|
||||
miniz public domain replacement for zlib. See miniz.c
|
||||
for more information.
|
||||
*/
|
||||
#ifndef MINIZ_HEADER_FILE_ONLY
|
||||
#define MINIZ_HEADER_FILE_ONLY
|
||||
#include "miniz.c"
|
||||
#endif //MINIZ_HEADER_FILE_ONLY
|
||||
Reference in New Issue
Block a user