Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Libor Bukata
CMake
Commits
a9eaefaa
Commit
a9eaefaa
authored
May 26, 2017
by
Brad King
💬
Browse files
Build with libuv on Cygwin to enable server-mode
With our last update of libuv, Cygwin is now supported.
parent
bc341a9d
Changes
2
Show whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
a9eaefaa
...
...
@@ -536,9 +536,6 @@ int main(void) { return 0; }
if
(
NOT HAVE_CoreServices_OS_X_10_5
)
set
(
CMAKE_USE_LIBUV 0
)
endif
()
elseif
(
CYGWIN
)
# libuv does not support Cygwin
set
(
CMAKE_USE_LIBUV 0
)
elseif
(
CMAKE_SYSTEM_NAME STREQUAL
"HP-UX"
)
# Disable until it can be ported.
set
(
CMAKE_USE_LIBUV 0
)
...
...
Utilities/cmlibuv/CMakeLists.txt
View file @
a9eaefaa
...
...
@@ -133,6 +133,27 @@ if(CMAKE_SYSTEM_NAME STREQUAL "AIX")
)
endif
()
if
(
CMAKE_SYSTEM_NAME MATCHES
"CYGWIN"
)
list
(
APPEND uv_libraries
)
list
(
APPEND uv_headers
include/uv-posix.h
)
list
(
APPEND uv_defines
)
list
(
APPEND uv_sources
src/unix/cygwin.c
src/unix/bsd-ifaddrs.c
src/unix/no-fsevents.c
src/unix/no-proctitle.c
src/unix/posix-hrtime.c
src/unix/posix-poll.c
src/unix/procfs-exepath.c
src/unix/sysinfo-loadavg.c
src/unix/sysinfo-memory.c
)
endif
()
if
(
CMAKE_SYSTEM_NAME STREQUAL
"Darwin"
)
list
(
APPEND uv_headers
include/uv-darwin.h
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment