Updated to libuv 1.41 (close #237).
uv_socketpair and uv_pipe aren't explicitly eported via uwv.
This commit is contained in:
parent
d799a7fc85
commit
58b299ee60
@ -16,7 +16,7 @@ endif()
|
|||||||
# Project configuration
|
# Project configuration
|
||||||
#
|
#
|
||||||
set(UVW_VERSION_MAJOR 2)
|
set(UVW_VERSION_MAJOR 2)
|
||||||
set(UVW_VERSION_MINOR 8)
|
set(UVW_VERSION_MINOR 9)
|
||||||
set(UVW_VERSION_PATCH 0)
|
set(UVW_VERSION_PATCH 0)
|
||||||
|
|
||||||
project(
|
project(
|
||||||
@ -31,11 +31,6 @@ if(NOT CMAKE_BUILD_TYPE)
|
|||||||
set(CMAKE_BUILD_TYPE Debug)
|
set(CMAKE_BUILD_TYPE Debug)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
message("*")
|
|
||||||
message("* ${PROJECT_NAME} v${PROJECT_VERSION} (${CMAKE_BUILD_TYPE})")
|
|
||||||
message("* Copyright (c) 2016-2020 Michele Caini <michele.caini@gmail.com>")
|
|
||||||
message("*")
|
|
||||||
|
|
||||||
option(USE_LIBCPP "Use libc++ by adding -stdlib=libc++ flag if availbale." ON)
|
option(USE_LIBCPP "Use libc++ by adding -stdlib=libc++ flag if availbale." ON)
|
||||||
option(USE_ASAN "Use address sanitizer by adding -fsanitize=address -fno-omit-frame-pointer flags" OFF)
|
option(USE_ASAN "Use address sanitizer by adding -fsanitize=address -fno-omit-frame-pointer flags" OFF)
|
||||||
option(USE_UBSAN "Use address sanitizer by adding -fsanitize=undefined -fno-sanitize-recover=all -fno-omit-frame-pointer flags" OFF)
|
option(USE_UBSAN "Use address sanitizer by adding -fsanitize=undefined -fno-sanitize-recover=all -fno-omit-frame-pointer flags" OFF)
|
||||||
@ -73,7 +68,7 @@ function(fetch_libuv)
|
|||||||
FetchContent_Declare(
|
FetchContent_Declare(
|
||||||
libuv
|
libuv
|
||||||
GIT_REPOSITORY https://github.com/libuv/libuv.git
|
GIT_REPOSITORY https://github.com/libuv/libuv.git
|
||||||
GIT_TAG v1.40.0
|
GIT_TAG v1.41.0
|
||||||
GIT_SHALLOW 1
|
GIT_SHALLOW 1
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
2
LICENSE
2
LICENSE
@ -1,6 +1,6 @@
|
|||||||
The MIT License (MIT)
|
The MIT License (MIT)
|
||||||
|
|
||||||
Copyright (c) 2016-2020 Michele Caini
|
Copyright (c) 2016-2021 Michele Caini
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
of this software and associated documentation files (the "Software"), to deal
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
|
|||||||
@ -436,8 +436,8 @@ who has partecipated so far.
|
|||||||
|
|
||||||
# License
|
# License
|
||||||
|
|
||||||
Code and documentation Copyright (c) 2016-2020 Michele Caini.<br/>
|
Code and documentation Copyright (c) 2016-2021 Michele Caini.<br/>
|
||||||
Logo Copyright (c) 2018-2020 Richard Caseres.
|
Logo Copyright (c) 2018-2021 Richard Caseres.
|
||||||
|
|
||||||
Code released under
|
Code released under
|
||||||
[the MIT license](https://github.com/skypjack/uvw/blob/master/LICENSE).
|
[the MIT license](https://github.com/skypjack/uvw/blob/master/LICENSE).
|
||||||
|
|||||||
@ -14,7 +14,7 @@ class UVMConan(ConanFile):
|
|||||||
exports = "LICENSE"
|
exports = "LICENSE"
|
||||||
exports_sources = "src/*"
|
exports_sources = "src/*"
|
||||||
no_copy_source = True
|
no_copy_source = True
|
||||||
requires = "libuv/1.40.0@bincrafters/stable"
|
requires = "libuv/1.41.0@bincrafters/stable"
|
||||||
|
|
||||||
def package(self):
|
def package(self):
|
||||||
self.copy(pattern="LICENSE", dst="licenses")
|
self.copy(pattern="LICENSE", dst="licenses")
|
||||||
|
|||||||
@ -3,7 +3,6 @@
|
|||||||
extern "C" int fake_func(double *);
|
extern "C" int fake_func(double *);
|
||||||
|
|
||||||
int fake_func(double *d) {
|
int fake_func(double *d) {
|
||||||
if (d)
|
if(d) { *d = -*d; }
|
||||||
*d = -*d;
|
|
||||||
return -42;
|
return -42;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user