mirror of
https://github.com/libretro/Mu.git
synced 2026-09-23 15:15:43 +00:00
Include miniz library; Make all CMake builds PIC.
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
add_library(mu-libretro SHARED
|
||||
libretro.c
|
||||
cursors.c
|
||||
miniz.c
|
||||
libretro-common/compat/compat_strl.c
|
||||
libretro-common/compat/compat_posix_string.c
|
||||
libretro-common/compat/fopen_utf8.c
|
||||
@@ -36,7 +37,7 @@ else()
|
||||
set(MU_LIBRETRO_EXTENSION "")
|
||||
endif()
|
||||
|
||||
## Target to run RetroArch with the SquirrelJME Core
|
||||
## Target to run RetroArch with the Mu Core
|
||||
if(DEFINED MU_LIBRETRO_DIR)
|
||||
add_custom_target(RetroArch
|
||||
DEPENDS mu-libretro
|
||||
|
||||
@@ -109,6 +109,7 @@ COREDEFINES += $(EMU_DEFINES)
|
||||
|
||||
SOURCES_C := $(CORE_DIR)/libretro.c \
|
||||
$(CORE_DIR)/cursors.c \
|
||||
$(CORE_DIR)/miniz.c \
|
||||
$(EMU_SOURCES_C)
|
||||
SOURCES_CXX := $(EMU_SOURCES_CXX)
|
||||
SOURCES_ASM := $(EMU_SOURCES_ASM)
|
||||
|
||||
7733
libretroBuildSystem/miniz.c
Normal file
7733
libretroBuildSystem/miniz.c
Normal file
File diff suppressed because it is too large
Load Diff
1350
libretroBuildSystem/miniz.h
Normal file
1350
libretroBuildSystem/miniz.h
Normal file
File diff suppressed because it is too large
Load Diff
22
libretroBuildSystem/miniz_LICENSE
Normal file
22
libretroBuildSystem/miniz_LICENSE
Normal file
@@ -0,0 +1,22 @@
|
||||
Copyright 2013-2014 RAD Game Tools and Valve Software
|
||||
Copyright 2010-2014 Rich Geldreich and Tenacious Software LLC
|
||||
|
||||
All Rights Reserved.
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in
|
||||
all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
THE SOFTWARE.
|
||||
Reference in New Issue
Block a user