Merge branch 'master' of github.com:mono/SkiaSharp
This commit is contained in:
Коммит
c2556a0cd8
|
@ -429,7 +429,7 @@ Task ("externals-linux")
|
|||
.WithCriteria (IsRunningOnLinux ())
|
||||
.Does (() =>
|
||||
{
|
||||
var SUPPORT_GPU = "1"; // 1 == true, 0 == false
|
||||
var SUPPORT_GPU = EnvironmentVariable ("SUPPORT_GPU") ?? "1"; // 1 == true, 0 == false
|
||||
|
||||
var ninja = DEPOT_PATH.CombineWithFilePath ("ninja").FullPath;
|
||||
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
ARCH = x64
|
||||
VERSION = 1.0.0.0
|
||||
SUPPORT_GPU = 1
|
||||
ARCH ?= x64
|
||||
VERSION ?= 1.0.0.0
|
||||
SUPPORT_GPU ?= 1
|
||||
CC ?= gcc
|
||||
CXX ?= g++
|
||||
|
||||
noop =
|
||||
space = ${noop} ${noop}
|
||||
|
@ -106,13 +108,17 @@ deps = $(objs:.o=.d)
|
|||
${objarch_root}/%.o: ${src_root}/%
|
||||
# build the local source
|
||||
mkdir -p $(dir $@)
|
||||
c++ -MMD -MF $@.d ${defines} ${includes} ${cflags} ${cflags_cc} ${arch_cflags} -c $< -o $@
|
||||
$(CXX) -MMD -MF $@.d \
|
||||
${defines} ${includes} ${cflags} ${cflags_cc} ${arch_cflags} \
|
||||
${CFLAGS} ${CXXFLAGS} \
|
||||
-c $< -o $@
|
||||
|
||||
${target}: ${objs}
|
||||
# link with skia
|
||||
mkdir -p $(dir $@)
|
||||
c++ -shared -rdynamic -s -o $@ \
|
||||
$(CXX) -shared -rdynamic -s -o $@ \
|
||||
${defines} ${includes} ${cflags} ${cflags_cc} ${arch_cflags} \
|
||||
${CFLAGS} ${CXXFLAGS} ${LDXXFLAGS} ${LDFLAGS} \
|
||||
-Wl,--start-group ${objarch_root}/*.o ${library_paths} -Wl,--end-group \
|
||||
${ldflags} -Wl,--gc-sections -Wl,--no-undefined \
|
||||
-Wl,-soname,libSkiaSharp.so.${soname_version}
|
||||
|
|
|
@ -29,10 +29,10 @@
|
|||
},
|
||||
"testRunner": "nunit",
|
||||
"frameworks": {
|
||||
"netcoreapp1.0": {
|
||||
"netcoreapp1.1": {
|
||||
"dependencies": {
|
||||
"Microsoft.NETCore.App": {
|
||||
"version": "1.0.0"
|
||||
"version": "1.1.0"
|
||||
}
|
||||
},
|
||||
"imports": [
|
||||
|
@ -45,6 +45,9 @@
|
|||
"win7-x86": { },
|
||||
"osx.10.10-x64": { },
|
||||
"osx.10.11-x64": { },
|
||||
"ubuntu.14.04-x64": { }
|
||||
"ubuntu.14.04-x64": { },
|
||||
"ubuntu.14.10-x64": { },
|
||||
"ubuntu.16.04-x64": { },
|
||||
"ubuntu.16.10-x64": { }
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче