Skip to content
项目
群组
代码片段
帮助
正在加载...
登录
切换导航
F
freeswitch
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
张华
freeswitch
Commits
17f3daa7
提交
17f3daa7
authored
3月 23, 2017
作者:
Shane Bryldt
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
FS-10167: Basic building of libks under VS2015, tests compile but most do not run successfully yet.
上级
856c87b4
隐藏空白字符变更
内嵌
并排
正在显示
15 个修改的文件
包含
202 行增加
和
22 行删除
+202
-22
libks.vcxproj
libs/libks/libks.vcxproj
+51
-5
libks.vcxproj.filters
libs/libks/libks.vcxproj.filters
+108
-6
ks_cJSON.h
libs/libks/src/include/ks_cJSON.h
+1
-1
ks_types.h
libs/libks/src/include/ks_types.h
+5
-0
ks_rng.c
libs/libks/src/ks_rng.c
+4
-4
ks_socket.c
libs/libks/src/ks_socket.c
+2
-2
ks_thread.c
libs/libks/src/ks_thread.c
+1
-1
simclist.c
libs/libks/src/simclist.c
+2
-1
testhash.c
libs/libks/test/testhash.c
+2
-2
testhash.vcxproj
libs/libks/test/testhash.vcxproj
+6
-0
testpools.vcxproj
libs/libks/test/testpools.vcxproj
+4
-0
testq.vcxproj
libs/libks/test/testq.vcxproj
+4
-0
testsock.vcxproj
libs/libks/test/testsock.vcxproj
+4
-0
testthreadmutex.vcxproj
libs/libks/test/testthreadmutex.vcxproj
+4
-0
testtime.vcxproj
libs/libks/test/testtime.vcxproj
+4
-0
没有找到文件。
libs/libks/libks.vcxproj
浏览文件 @
17f3daa7
...
...
@@ -74,6 +74,8 @@
<LinkIncremental>
true
</LinkIncremental>
<IntDir>
$(Platform)\$(Configuration)\
</IntDir>
<OutDir>
$(SolutionDir)$(Platform)\$(Configuration)\
</OutDir>
<IncludePath>
$(SolutionDir);$(SolutionDir)\crypt;$(SolutionDir)\openssl\include;$(IncludePath)
</IncludePath>
<LibraryPath>
$(SolutionDir)\openssl\lib;$(LibraryPath)
</LibraryPath>
</PropertyGroup>
<PropertyGroup
Condition=
"'$(Configuration)|$(Platform)'=='Release|Win32'"
>
<LinkIncremental>
...
...
@@ -81,21 +83,27 @@
<IntDir>
$(Platform)\$(Configuration)\
</IntDir>
<OutDir>
$(SolutionDir)$(Platform)\$(Configuration)\
</OutDir>
</PropertyGroup>
<PropertyGroup
Condition=
"'$(Configuration)|$(Platform)'=='Debug|x64'"
>
<IncludePath>
$(SolutionDir);$(SolutionDir)\crypt;$(SolutionDir)\openssl\include64;$(IncludePath)
</IncludePath>
<LibraryPath>
$(SolutionDir)\openssl\lib64;$(LibraryPath)
</LibraryPath>
</PropertyGroup>
<ItemDefinitionGroup
Condition=
"'$(Configuration)|$(Platform)'=='Debug|Win32'"
>
<ClCompile>
<PreprocessorDefinitions>
WIN32;_DEBUG;_WINDOWS;_USRDLL;LIBKS_EXPORTS;%(PreprocessorDefinitions)
</PreprocessorDefinitions>
<PreprocessorDefinitions>
WIN32;_DEBUG;_WINDOWS;_USRDLL;LIBKS_EXPORTS;
CJSON_EXPORT_SYMBOLS;
%(PreprocessorDefinitions)
</PreprocessorDefinitions>
<RuntimeLibrary>
MultiThreadedDebugDLL
</RuntimeLibrary>
<WarningLevel>
EnableAllWarnings
</WarningLevel>
<DebugInformationFormat>
ProgramDatabase
</DebugInformationFormat>
<Optimization>
Disabled
</Optimization>
<AdditionalIncludeDirectories>
%(AdditionalIncludeDirectories)
</AdditionalIncludeDirectories>
<FunctionLevelLinking>
true
</FunctionLevelLinking>
<TreatWarningAsError>
true
</TreatWarningAsError>
<TreatWarningAsError>
false
</TreatWarningAsError>
<DisableSpecificWarnings>
4711;4574;4100;4127;4668;4255;4706;4710;4820;4090
</DisableSpecificWarnings>
</ClCompile>
<Link>
<TargetMachine>
MachineX86
</TargetMachine>
<GenerateDebugInformation>
true
</GenerateDebugInformation>
<SubSystem>
Windows
</SubSystem>
<AdditionalDependencies>
Rpcrt4.lib;Crypt32.lib;libsslMT.lib;libcryptoMT.lib;%(AdditionalDependencies)
</AdditionalDependencies>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup
Condition=
"'$(Configuration)|$(Platform)'=='Release|Win32'"
>
...
...
@@ -119,15 +127,17 @@
<ItemDefinitionGroup
Condition=
"'$(Configuration)|$(Platform)'=='Debug|x64'"
>
<ClCompile>
<AdditionalIncludeDirectories>
%(AdditionalIncludeDirectories)
</AdditionalIncludeDirectories>
<PreprocessorDefinitions>
WIN32;_DEBUG;_WINDOWS;_USRDLL;LIBKS_EXPORTS;%(PreprocessorDefinitions)
</PreprocessorDefinitions>
<PreprocessorDefinitions>
WIN32;_DEBUG;_WINDOWS;_USRDLL;LIBKS_EXPORTS;
CJSON_EXPORT_SYMBOLS;
%(PreprocessorDefinitions)
</PreprocessorDefinitions>
<DebugInformationFormat>
EditAndContinue
</DebugInformationFormat>
<WarningLevel>
EnableAllWarnings
</WarningLevel>
<FunctionLevelLinking>
true
</FunctionLevelLinking>
<TreatWarningAsError>
true
</TreatWarningAsError>
<TreatWarningAsError>
false
</TreatWarningAsError>
<DisableSpecificWarnings>
4711;4574;4100;4127;4668;4255;4706;4710;4820;4090
</DisableSpecificWarnings>
</ClCompile>
<Link>
<SubSystem>
Windows
</SubSystem>
<GenerateDebugInformation>
Debug
</GenerateDebugInformation>
<AdditionalDependencies>
Rpcrt4.lib;Crypt32.lib;libsslMT.lib;libcryptoMT.lib;%(AdditionalDependencies)
</AdditionalDependencies>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup
Condition=
"'$(Configuration)|$(Platform)'=='Release|x64'"
>
...
...
@@ -143,7 +153,18 @@
</Link>
</ItemDefinitionGroup>
<ItemGroup>
<ClCompile
Include=
"crypt\aescrypt.c"
/>
<ClCompile
Include=
"crypt\aeskey.c"
/>
<ClCompile
Include=
"crypt\aestab.c"
/>
<ClCompile
Include=
"crypt\aes_modes.c"
/>
<ClCompile
Include=
"crypt\sha2.c"
/>
<ClCompile
Include=
"crypt\twofish.c"
/>
<ClCompile
Include=
"crypt\twofish_cfb.c"
/>
<ClCompile
Include=
"src\cJSON.c"
/>
<ClCompile
Include=
"src\cJSON_Utils.c"
/>
<ClCompile
Include=
"src\ks.c"
/>
<ClCompile
Include=
"src\ks_acl.c"
/>
<ClCompile
Include=
"src\ks_base64.c"
/>
<ClCompile
Include=
"src\ks_buffer.c"
/>
<ClCompile
Include=
"src\ks_config.c"
/>
<ClCompile
Include=
"src\ks_dso.c"
/>
...
...
@@ -155,27 +176,52 @@
<ClCompile
Include=
"src\ks_q.c"
/>
<ClCompile
Include=
"src\ks_rng.c"
/>
<ClCompile
Include=
"src\ks_socket.c"
/>
<ClCompile
Include=
"src\ks_ssl.c"
/>
<ClCompile
Include=
"src\ks_string.c"
/>
<ClCompile
Include=
"src\ks_thread.c"
/>
<ClCompile
Include=
"src\ks_mutex.c"
/>
<ClCompile
Include=
"src\ks_thread_pool.c"
/>
<ClCompile
Include=
"src\ks_time.c"
/>
<ClCompile
Include=
"src\kws.c"
/>
<ClCompile
Include=
"src\simclist.c"
/>
<ClCompile
Include=
"src\win\mman.c"
/>
</ItemGroup>
<ItemGroup>
<ClInclude
Include=
"crypt\aes.h"
/>
<ClInclude
Include=
"crypt\aescpp.h"
/>
<ClInclude
Include=
"crypt\aesopt.h"
/>
<ClInclude
Include=
"crypt\aestab.h"
/>
<ClInclude
Include=
"crypt\brg_endian.h"
/>
<ClInclude
Include=
"crypt\brg_types.h"
/>
<ClInclude
Include=
"crypt\sha2.h"
/>
<ClInclude
Include=
"crypt\twofish.h"
/>
<ClInclude
Include=
"src\include\ks.h"
/>
<ClInclude
Include=
"src\include\ks_acl.h"
/>
<ClInclude
Include=
"src\include\ks_base64.h"
/>
<ClInclude
Include=
"src\include\ks_buffer.h"
/>
<ClInclude
Include=
"src\include\ks_cJSON.h"
/>
<ClInclude
Include=
"src\include\ks_cJSON_Utils.h"
/>
<ClInclude
Include=
"src\include\ks_config.h"
/>
<ClInclude
Include=
"src\include\ks_dso.h"
/>
<ClInclude
Include=
"src\include\ks_hash.h"
/>
<ClInclude
Include=
"src\include\ks_json.h"
/>
<ClInclude
Include=
"src\include\ks_platform.h"
/>
<ClInclude
Include=
"src\include\ks_printf.h"
/>
<ClInclude
Include=
"src\include\ks_q.h"
/>
<ClInclude
Include=
"src\include\ks_socket.h"
/>
<ClInclude
Include=
"src\include\ks_ssl.h"
/>
<ClInclude
Include=
"src\include\ks_threadmutex.h"
/>
<ClInclude
Include=
"src\include\ks_thread_pool.h"
/>
<ClInclude
Include=
"src\include\ks_time.h"
/>
<ClInclude
Include=
"src\include\ks_types.h"
/>
<ClInclude
Include=
"src\include\ks_pool.h"
/>
<ClInclude
Include=
"src\include\ks_rng.h"
/>
<ClInclude
Include=
"src\include\kws.h"
/>
<ClInclude
Include=
"src\include\simclist.h"
/>
<ClInclude
Include=
"src\win\mman.h"
/>
<ClInclude
Include=
"src\win\sys\mman.h"
/>
</ItemGroup>
<Import
Project=
"$(VCTargetsPath)\Microsoft.Cpp.targets"
/>
<ImportGroup
Label=
"ExtensionTargets"
>
</ImportGroup>
</Project>
</Project>
\ No newline at end of file
libs/libks/libks.vcxproj.filters
浏览文件 @
17f3daa7
...
...
@@ -69,6 +69,48 @@
<ClCompile
Include=
"src\ks_time.c"
>
<Filter>
Source Files
</Filter>
</ClCompile>
<ClCompile
Include=
"crypt\aescrypt.c"
>
<Filter>
Source Files
</Filter>
</ClCompile>
<ClCompile
Include=
"crypt\aeskey.c"
>
<Filter>
Source Files
</Filter>
</ClCompile>
<ClCompile
Include=
"crypt\aestab.c"
>
<Filter>
Source Files
</Filter>
</ClCompile>
<ClCompile
Include=
"crypt\aes_modes.c"
>
<Filter>
Source Files
</Filter>
</ClCompile>
<ClCompile
Include=
"crypt\sha2.c"
>
<Filter>
Source Files
</Filter>
</ClCompile>
<ClCompile
Include=
"crypt\twofish.c"
>
<Filter>
Source Files
</Filter>
</ClCompile>
<ClCompile
Include=
"crypt\twofish_cfb.c"
>
<Filter>
Source Files
</Filter>
</ClCompile>
<ClCompile
Include=
"src\ks_ssl.c"
>
<Filter>
Source Files
</Filter>
</ClCompile>
<ClCompile
Include=
"src\kws.c"
>
<Filter>
Source Files
</Filter>
</ClCompile>
<ClCompile
Include=
"src\ks_base64.c"
>
<Filter>
Source Files
</Filter>
</ClCompile>
<ClCompile
Include=
"src\ks_acl.c"
>
<Filter>
Source Files
</Filter>
</ClCompile>
<ClCompile
Include=
"src\cJSON_Utils.c"
>
<Filter>
Source Files
</Filter>
</ClCompile>
<ClCompile
Include=
"src\cJSON.c"
>
<Filter>
Source Files
</Filter>
</ClCompile>
<ClCompile
Include=
"src\ks_thread_pool.c"
>
<Filter>
Source Files
</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<ClInclude
Include=
"src\include\ks.h"
>
...
...
@@ -95,20 +137,80 @@
<ClInclude
Include=
"src\include\simclist.h"
>
<Filter>
Header Files
</Filter>
</ClInclude>
<ClInclude
Include=
"src\
include\table
.h"
>
<ClInclude
Include=
"src\
win\mman
.h"
>
<Filter>
Header Files
</Filter>
</ClInclude>
<ClInclude
Include=
"src\include\
table_loc
.h"
>
<ClInclude
Include=
"src\include\
ks_types
.h"
>
<Filter>
Header Files
</Filter>
</ClInclude>
<ClInclude
Include=
"src\
win\mman
.h"
>
<ClInclude
Include=
"src\
include\ks_platform
.h"
>
<Filter>
Header Files
</Filter>
</ClInclude>
<ClInclude
Include=
"
src\include\ks_typ
es.h"
>
<ClInclude
Include=
"
crypt\a
es.h"
>
<Filter>
Header Files
</Filter>
</ClInclude>
<ClInclude
Include=
"src\include\ks_platform.h"
>
<ClInclude
Include=
"crypt\aescpp.h"
>
<Filter>
Header Files
</Filter>
</ClInclude>
<ClInclude
Include=
"crypt\aesopt.h"
>
<Filter>
Header Files
</Filter>
</ClInclude>
<ClInclude
Include=
"crypt\aestab.h"
>
<Filter>
Header Files
</Filter>
</ClInclude>
<ClInclude
Include=
"crypt\brg_endian.h"
>
<Filter>
Header Files
</Filter>
</ClInclude>
<ClInclude
Include=
"crypt\brg_types.h"
>
<Filter>
Header Files
</Filter>
</ClInclude>
<ClInclude
Include=
"crypt\sha2.h"
>
<Filter>
Header Files
</Filter>
</ClInclude>
<ClInclude
Include=
"crypt\twofish.h"
>
<Filter>
Header Files
</Filter>
</ClInclude>
<ClInclude
Include=
"src\win\sys\mman.h"
>
<Filter>
Header Files
</Filter>
</ClInclude>
<ClInclude
Include=
"src\include\ks_acl.h"
>
<Filter>
Header Files
</Filter>
</ClInclude>
<ClInclude
Include=
"src\include\ks_base64.h"
>
<Filter>
Header Files
</Filter>
</ClInclude>
<ClInclude
Include=
"src\include\ks_cJSON.h"
>
<Filter>
Header Files
</Filter>
</ClInclude>
<ClInclude
Include=
"src\include\ks_cJSON_Utils.h"
>
<Filter>
Header Files
</Filter>
</ClInclude>
<ClInclude
Include=
"src\include\ks_dso.h"
>
<Filter>
Header Files
</Filter>
</ClInclude>
<ClInclude
Include=
"src\include\ks_hash.h"
>
<Filter>
Header Files
</Filter>
</ClInclude>
<ClInclude
Include=
"src\include\ks_printf.h"
>
<Filter>
Header Files
</Filter>
</ClInclude>
<ClInclude
Include=
"src\include\ks_q.h"
>
<Filter>
Header Files
</Filter>
</ClInclude>
<ClInclude
Include=
"src\include\ks_socket.h"
>
<Filter>
Header Files
</Filter>
</ClInclude>
<ClInclude
Include=
"src\include\ks_ssl.h"
>
<Filter>
Header Files
</Filter>
</ClInclude>
<ClInclude
Include=
"src\include\ks_thread_pool.h"
>
<Filter>
Header Files
</Filter>
</ClInclude>
<ClInclude
Include=
"src\include\ks_time.h"
>
<Filter>
Header Files
</Filter>
</ClInclude>
<ClInclude
Include=
"src\include\kws.h"
>
<Filter>
Header Files
</Filter>
</ClInclude>
</ItemGroup>
</Project>
</Project>
\ No newline at end of file
libs/libks/src/include/ks_cJSON.h
浏览文件 @
17f3daa7
...
...
@@ -141,7 +141,7 @@ CJSON_PUBLIC(int) cJSON_GetArraySize(const cJSON *array);
CJSON_PUBLIC
(
cJSON
*
)
cJSON_GetArrayItem
(
const
cJSON
*
array
,
int
item
);
/* Get item "string" from object. Case insensitive. */
CJSON_PUBLIC
(
cJSON
*
)
cJSON_GetObjectItem
(
const
cJSON
*
object
,
const
char
*
string
);
CJSON_PUBLIC
(
cJSON
*
)
cJSON_GetObjectItemCaseSensitive
(
const
cJSON
*
object
,
const
char
*
string
);
CJSON_PUBLIC
(
cJSON
*
)
cJSON_GetObjectItemCaseSensitive
(
const
cJSON
*
const
object
,
const
char
*
const
string
);
CJSON_PUBLIC
(
int
)
cJSON_HasObjectItem
(
const
cJSON
*
object
,
const
char
*
string
);
/* For analysing failed parses. This returns a pointer to the parse error. You'll probably need to look a few chars back to make sense of it. Defined when cJSON_Parse() returns 0. 0 when cJSON_Parse() succeeds. */
CJSON_PUBLIC
(
const
char
*
)
cJSON_GetErrorPtr
(
void
);
...
...
libs/libks/src/include/ks_types.h
浏览文件 @
17f3daa7
...
...
@@ -73,6 +73,11 @@ KS_BEGIN_EXTERN_C
KS_POLL_ERROR
=
(
1
<<
2
)
}
ks_poll_t
;
#if defined(_MSC_VER)
#include <BaseTsd.h>
typedef
SSIZE_T
ssize_t
;
#endif
typedef
uint16_t
ks_port_t
;
typedef
size_t
ks_size_t
;
typedef
unsigned
char
ks_byte_t
;
...
...
libs/libks/src/ks_rng.c
浏览文件 @
17f3daa7
...
...
@@ -57,7 +57,7 @@ KS_DECLARE(char *) ks_uuid_str(ks_pool_t *pool, uuid_t *uuid)
#ifdef __WINDOWS__
unsigned
char
*
str
;
UuidToStringA
(
uuid
,
&
str
);
uuidstr
=
ks_pstrdup
(
pool
,
str
);
uuidstr
=
ks_pstrdup
(
pool
,
(
const
char
*
)
str
);
RpcStringFreeA
(
&
str
);
#else
char
str
[
37
]
=
{
0
};
...
...
@@ -129,7 +129,7 @@ KS_DECLARE(size_t) ks_rng_seed_data(uint8_t *seed, size_t length)
}
#ifdef __WINDOWS__
if
(
crypt_provider
)
{
if
(
!
CryptGenRandom
(
crypt_provider
,
length
,
seed
))
{
if
(
!
CryptGenRandom
(
crypt_provider
,
(
DWORD
)
length
,
seed
))
{
return
0
;
}
bytes
=
length
;
...
...
@@ -156,11 +156,11 @@ KS_DECLARE(size_t) ks_rng_add_entropy(const uint8_t *buffer, size_t length)
}
if
(
buffer
&&
length
)
{
sha512_hash
(
buffer
,
length
,
&
global_sha512
);
sha512_hash
(
buffer
,
(
unsigned
long
)
length
,
&
global_sha512
);
}
if
(
len
>
0
)
{
sha512_hash
(
seed
,
len
,
&
global_sha512
);
sha512_hash
(
seed
,
(
unsigned
long
)
len
,
&
global_sha512
);
length
+=
len
;
}
...
...
libs/libks/src/ks_socket.c
浏览文件 @
17f3daa7
...
...
@@ -123,8 +123,8 @@ KS_DECLARE(ks_status_t) ks_socket_option(ks_socket_t socket, int option_name, ks
break
;
case
IPV6_V6ONLY
:
#ifdef WIN32
#warning make sure windows works like linux for IPV6 to IPV4 automapping stuff
result
=
setsockopt
(
socket
,
SOL
_IPV6
,
IPV6_V6ONLY
,
(
char
*
)
&
opt
,
sizeof
(
opt
));
//
#warning make sure windows works like linux for IPV6 to IPV4 automapping stuff
result
=
setsockopt
(
socket
,
IPPROTO
_IPV6
,
IPV6_V6ONLY
,
(
char
*
)
&
opt
,
sizeof
(
opt
));
#else
result
=
setsockopt
(
socket
,
SOL_IPV6
,
IPV6_V6ONLY
,
&
opt
,
sizeof
(
opt
));
#endif
...
...
libs/libks/src/ks_thread.c
浏览文件 @
17f3daa7
...
...
@@ -43,7 +43,7 @@ KS_DECLARE(ks_pid_t) ks_thread_self_id(void)
{
#ifdef WIN32
return
GetCurrentThreadId
();
#el
se
if gettid
#elif gettid
return
gettid
();
#else
return
syscall
(
SYS_gettid
);
...
...
libs/libks/src/simclist.c
浏览文件 @
17f3daa7
...
...
@@ -20,6 +20,7 @@
*/
/* SimCList implementation, version 1.6 */
#include <ks.h>
#include <stdlib.h>
#include <string.h>
...
...
@@ -30,7 +31,7 @@
#include <unistd.h>
#include <stdint.h>
#else
#include <Windows.h>
//
#include <Windows.h>
#endif
#ifndef SIMCLIST_NO_DUMPRESTORE
/* includes for dump/restore */
...
...
libs/libks/test/testhash.c
浏览文件 @
17f3daa7
...
...
@@ -68,7 +68,7 @@ static void *test2_thread(ks_thread_t *thread, void *data)
int
test2
(
void
)
{
ks_thread_t
*
threads
[
MAX
];
int
ttl
=
5
;
int
ttl
=
1
;
int
runs
=
5
;
ks_pool_t
*
pool
;
ks_hash_t
*
hash
;
...
...
@@ -120,7 +120,7 @@ int test2(void)
return
1
;
}
#include "sodium.h"
//
#include "sodium.h"
#define TEST3_SIZE 20
int
test3
(
void
)
{
...
...
libs/libks/test/testhash.vcxproj
浏览文件 @
17f3daa7
...
...
@@ -73,10 +73,14 @@
<LinkIncremental>
true
</LinkIncremental>
<IntDir>
$(Platform)\$(Configuration)\$(ProjectName)\
</IntDir>
<OutDir>
$(SolutionDir)$(Platform)\$(Configuration)\
</OutDir>
<IncludePath>
$(SolutionDir);$(SolutionDir)\crypt;$(SolutionDir)\openssl\include;$(IncludePath)
</IncludePath>
<LibraryPath>
$(SolutionDir)\openssl\lib;$(LibraryPath)
</LibraryPath>
</PropertyGroup>
<PropertyGroup
Condition=
"'$(Configuration)|$(Platform)'=='Debug|x64'"
>
<LinkIncremental>
true
</LinkIncremental>
<IntDir>
$(Platform)\$(Configuration)\$(ProjectName)\
</IntDir>
<IncludePath>
$(SolutionDir);$(SolutionDir)\crypt;$(SolutionDir)\openssl\include64;$(IncludePath)
</IncludePath>
<LibraryPath>
$(SolutionDir)\openssl\lib64;$(LibraryPath)
</LibraryPath>
</PropertyGroup>
<PropertyGroup
Condition=
"'$(Configuration)|$(Platform)'=='Release|Win32'"
>
<LinkIncremental>
false
</LinkIncremental>
...
...
@@ -96,6 +100,7 @@
<PreprocessorDefinitions>
_CRT_SECURE_NO_WARNINGS;WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)
</PreprocessorDefinitions>
<SDLCheck>
true
</SDLCheck>
<AdditionalIncludeDirectories>
../src/include;.
</AdditionalIncludeDirectories>
<DisableSpecificWarnings>
4090
</DisableSpecificWarnings>
</ClCompile>
<Link>
<SubSystem>
Console
</SubSystem>
...
...
@@ -111,6 +116,7 @@
<PreprocessorDefinitions>
_CRT_SECURE_NO_WARNINGS;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)
</PreprocessorDefinitions>
<SDLCheck>
true
</SDLCheck>
<AdditionalIncludeDirectories>
../src/include;.
</AdditionalIncludeDirectories>
<DisableSpecificWarnings>
4090
</DisableSpecificWarnings>
</ClCompile>
<Link>
<SubSystem>
Console
</SubSystem>
...
...
libs/libks/test/testpools.vcxproj
浏览文件 @
17f3daa7
...
...
@@ -73,10 +73,14 @@
<LinkIncremental>
true
</LinkIncremental>
<IntDir>
$(Platform)\$(Configuration)\$(ProjectName)\
</IntDir>
<OutDir>
$(SolutionDir)$(Platform)\$(Configuration)\
</OutDir>
<IncludePath>
$(SolutionDir);$(SolutionDir)\crypt;$(SolutionDir)\openssl\include;$(IncludePath)
</IncludePath>
<LibraryPath>
$(SolutionDir)\openssl\lib;$(LibraryPath)
</LibraryPath>
</PropertyGroup>
<PropertyGroup
Condition=
"'$(Configuration)|$(Platform)'=='Debug|x64'"
>
<LinkIncremental>
true
</LinkIncremental>
<IntDir>
$(Platform)\$(Configuration)\$(ProjectName)\
</IntDir>
<IncludePath>
$(SolutionDir);$(SolutionDir)\crypt;$(SolutionDir)\openssl\include64;$(IncludePath)
</IncludePath>
<LibraryPath>
$(SolutionDir)\openssl\lib64;$(LibraryPath)
</LibraryPath>
</PropertyGroup>
<PropertyGroup
Condition=
"'$(Configuration)|$(Platform)'=='Release|Win32'"
>
<LinkIncremental>
false
</LinkIncremental>
...
...
libs/libks/test/testq.vcxproj
浏览文件 @
17f3daa7
...
...
@@ -73,10 +73,14 @@
<LinkIncremental>
true
</LinkIncremental>
<IntDir>
$(Platform)\$(Configuration)\$(ProjectName)\
</IntDir>
<OutDir>
$(SolutionDir)$(Platform)\$(Configuration)\
</OutDir>
<IncludePath>
$(SolutionDir);$(SolutionDir)\crypt;$(SolutionDir)\openssl\include;$(IncludePath)
</IncludePath>
<LibraryPath>
$(SolutionDir)\openssl\lib;$(LibraryPath)
</LibraryPath>
</PropertyGroup>
<PropertyGroup
Condition=
"'$(Configuration)|$(Platform)'=='Debug|x64'"
>
<LinkIncremental>
true
</LinkIncremental>
<IntDir>
$(Platform)\$(Configuration)\$(ProjectName)\
</IntDir>
<IncludePath>
$(SolutionDir);$(SolutionDir)\crypt;$(SolutionDir)\openssl\include64;$(IncludePath)
</IncludePath>
<LibraryPath>
$(SolutionDir)\openssl\lib64;$(LibraryPath)
</LibraryPath>
</PropertyGroup>
<PropertyGroup
Condition=
"'$(Configuration)|$(Platform)'=='Release|Win32'"
>
<LinkIncremental>
false
</LinkIncremental>
...
...
libs/libks/test/testsock.vcxproj
浏览文件 @
17f3daa7
...
...
@@ -73,10 +73,14 @@
<LinkIncremental>
true
</LinkIncremental>
<IntDir>
$(Platform)\$(Configuration)\$(ProjectName)\
</IntDir>
<OutDir>
$(SolutionDir)$(Platform)\$(Configuration)\
</OutDir>
<IncludePath>
$(SolutionDir);$(SolutionDir)\crypt;$(SolutionDir)\openssl\include;$(IncludePath)
</IncludePath>
<LibraryPath>
$(SolutionDir)\openssl\lib;$(LibraryPath)
</LibraryPath>
</PropertyGroup>
<PropertyGroup
Condition=
"'$(Configuration)|$(Platform)'=='Debug|x64'"
>
<LinkIncremental>
true
</LinkIncremental>
<IntDir>
$(Platform)\$(Configuration)\$(ProjectName)\
</IntDir>
<IncludePath>
$(SolutionDir);$(SolutionDir)\crypt;$(SolutionDir)\openssl\include64;$(IncludePath)
</IncludePath>
<LibraryPath>
$(SolutionDir)\openssl\lib64;$(LibraryPath)
</LibraryPath>
</PropertyGroup>
<PropertyGroup
Condition=
"'$(Configuration)|$(Platform)'=='Release|Win32'"
>
<LinkIncremental>
false
</LinkIncremental>
...
...
libs/libks/test/testthreadmutex.vcxproj
浏览文件 @
17f3daa7
...
...
@@ -73,10 +73,14 @@
<LinkIncremental>
true
</LinkIncremental>
<IntDir>
$(Platform)\$(Configuration)\$(ProjectName)\
</IntDir>
<OutDir>
$(SolutionDir)$(Platform)\$(Configuration)\
</OutDir>
<IncludePath>
$(SolutionDir);$(SolutionDir)\crypt;$(SolutionDir)\openssl\include;$(IncludePath)
</IncludePath>
<LibraryPath>
$(SolutionDir)\openssl\lib;$(LibraryPath)
</LibraryPath>
</PropertyGroup>
<PropertyGroup
Condition=
"'$(Configuration)|$(Platform)'=='Debug|x64'"
>
<LinkIncremental>
true
</LinkIncremental>
<IntDir>
$(Platform)\$(Configuration)\$(ProjectName)\
</IntDir>
<IncludePath>
$(SolutionDir);$(SolutionDir)\crypt;$(SolutionDir)\openssl\include64;$(IncludePath)
</IncludePath>
<LibraryPath>
$(SolutionDir)\openssl\lib64;$(LibraryPath)
</LibraryPath>
</PropertyGroup>
<PropertyGroup
Condition=
"'$(Configuration)|$(Platform)'=='Release|Win32'"
>
<LinkIncremental>
false
</LinkIncremental>
...
...
libs/libks/test/testtime.vcxproj
浏览文件 @
17f3daa7
...
...
@@ -73,10 +73,14 @@
<LinkIncremental>
true
</LinkIncremental>
<IntDir>
$(Platform)\$(Configuration)\$(ProjectName)\
</IntDir>
<OutDir>
$(SolutionDir)$(Platform)\$(Configuration)\
</OutDir>
<IncludePath>
$(SolutionDir);$(SolutionDir)\crypt;$(SolutionDir)\openssl\include;$(IncludePath)
</IncludePath>
<LibraryPath>
$(SolutionDir)\openssl\lib;$(LibraryPath)
</LibraryPath>
</PropertyGroup>
<PropertyGroup
Condition=
"'$(Configuration)|$(Platform)'=='Debug|x64'"
>
<LinkIncremental>
true
</LinkIncremental>
<IntDir>
$(Platform)\$(Configuration)\$(ProjectName)\
</IntDir>
<IncludePath>
$(SolutionDir);$(SolutionDir)\crypt;$(SolutionDir)\openssl\include64;$(IncludePath)
</IncludePath>
<LibraryPath>
$(SolutionDir)\openssl\lib64;$(LibraryPath)
</LibraryPath>
</PropertyGroup>
<PropertyGroup
Condition=
"'$(Configuration)|$(Platform)'=='Release|Win32'"
>
<LinkIncremental>
false
</LinkIncremental>
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论