Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
L
libzmq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
libzmq
Commits
dc04c5bb
Commit
dc04c5bb
authored
Oct 25, 2015
by
Pieter Hintjens
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1621 from madebr/cmake_winci_fixes
Cmake winci fixes
parents
c5572211
0a0b9fd7
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
9 deletions
+15
-9
CMakeLists.txt
CMakeLists.txt
+4
-2
appveyor.yml
appveyor.yml
+10
-6
winrandom.c
tweetnacl/contrib/randombytes/winrandom.c
+1
-1
No files found.
CMakeLists.txt
View file @
dc04c5bb
...
...
@@ -611,7 +611,8 @@ else()
PUBLIC_HEADER
"
${
public_headers
}
"
VERSION
${
ZMQ_VERSION
}
SOVERSION
"
${
ZMQ_VERSION_MAJOR
}
.
${
ZMQ_VERSION_MINOR
}
.0"
OUTPUT_NAME
"libzmq"
)
OUTPUT_NAME
"libzmq"
PREFIX
""
)
if
(
ZMQ_BUILD_FRAMEWORK
)
set_target_properties
(
libzmq PROPERTIES
FRAMEWORK TRUE
...
...
@@ -629,7 +630,8 @@ else()
set_target_properties
(
libzmq-static PROPERTIES
PUBLIC_HEADER
"
${
public_headers
}
"
COMPILE_DEFINITIONS
"ZMQ_STATIC"
OUTPUT_NAME
"libzmq-static"
)
OUTPUT_NAME
"libzmq-static"
PREFIX
""
)
endif
()
target_link_libraries
(
libzmq
${
CMAKE_THREAD_LIBS_INIT
}
)
...
...
appveyor.yml
View file @
dc04c5bb
...
...
@@ -14,23 +14,27 @@ environment:
-
platform
:
Win32
configuration
:
Release
WITH_SODIUM
:
ON
WITH_TWEETNACL
:
O
FF
WITH_TWEETNACL
:
O
N
-
platform
:
Win32
configuration
:
Release
configuration
:
Debug
WITH_SODIUM
:
ON
WITH_TWEETNACL
:
O
FF
WITH_TWEETNACL
:
O
N
-
platform
:
x64
configuration
:
Debug
configuration
:
Release
WITH_SODIUM
:
ON
WITH_TWEETNACL
:
O
FF
WITH_TWEETNACL
:
O
N
-
platform
:
x64
configuration
:
Debug
WITH_SODIUM
:
ON
WITH_TWEETNACL
:
O
FF
WITH_TWEETNACL
:
O
N
-
platform
:
Win32
configuration
:
Release
WITH_SODIUM
:
OFF
WITH_TWEETNACL
:
OFF
-
platform
:
Win32
configuration
:
Release
WITH_SODIUM
:
ON
WITH_TWEETNACL
:
OFF
-
platform
:
Win32
configuration
:
Release
WITH_SODIUM
:
OFF
...
...
tweetnacl/contrib/randombytes/winrandom.c
View file @
dc04c5bb
...
...
@@ -22,7 +22,7 @@ void randombytes(unsigned char *x,unsigned long long xlen)
if
(
xlen
<
1048576
)
i
=
(
unsigned
)
xlen
;
else
i
=
1048576
;
ret
=
CryptGenRandom
(
hProvider
,
i
,
x
);
if
(
ret
!
=
FALSE
)
{
if
(
ret
=
=
FALSE
)
{
Sleep
(
1
);
continue
;
}
...
...
Write
Preview
Markdown
is supported
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