Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
kvdb
rocksdb
提交
5855cdb6
R
rocksdb
项目概览
kvdb
/
rocksdb
12 个月 前同步成功
通知
0
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
R
rocksdb
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
5855cdb6
编写于
10月 06, 2015
作者:
S
Siying Dong
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #750 from yuslepukhin/fixup_build_options
FIx up build options
上级
7bbe10c0
25c58a20
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
4 addition
and
3 deletion
+4
-3
CMakeLists.txt
CMakeLists.txt
+4
-3
未找到文件。
CMakeLists.txt
浏览文件 @
5855cdb6
...
@@ -13,8 +13,8 @@
...
@@ -13,8 +13,8 @@
# cd build
# cd build
# 3. Run cmake to generate project files for Windows, add more options to enable required third-party libraries.
# 3. Run cmake to generate project files for Windows, add more options to enable required third-party libraries.
# See thirdparty.inc for more information.
# See thirdparty.inc for more information.
#
cmake -G "Visual Studio 12 Win64" .. <more options>
#
sample command: cmake -G "Visual Studio 12 Win64" -DGFLAGS=1 -DSNAPPY=1 -DJEMALLOC=1 ..
# 4. Then build the project in debug mode (you may want to add /m
[:<N>]
flag to run msbuild in <N> parallel threads)
# 4. Then build the project in debug mode (you may want to add /m
:<N>
flag to run msbuild in <N> parallel threads)
# msbuild ALL_BUILD.vcxproj
# msbuild ALL_BUILD.vcxproj
# 5. And release mode (/m[:<N>] is also supported)
# 5. And release mode (/m[:<N>] is also supported)
# msbuild ALL_BUILD.vcxproj /p:Configuration=Release
# msbuild ALL_BUILD.vcxproj /p:Configuration=Release
...
@@ -66,13 +66,13 @@ endif()
...
@@ -66,13 +66,13 @@ endif()
set
(
CMAKE_CXX_FLAGS_RELEASE
"
${
CMAKE_CXX_FLAGS_RELEASE
}
/Oxt /Zp8 /Gm- /Gy /MD"
)
set
(
CMAKE_CXX_FLAGS_RELEASE
"
${
CMAKE_CXX_FLAGS_RELEASE
}
/Oxt /Zp8 /Gm- /Gy /MD"
)
set
(
CMAKE_SHARED_LINKER_FLAGS
"
${
CMAKE_SHARED_LINKER_FLAGS
}
/DEBUG"
)
set
(
CMAKE_EXE_LINKER_FLAGS
"
${
CMAKE_EXE_LINKER_FLAGS
}
/DEBUG"
)
set
(
CMAKE_EXE_LINKER_FLAGS
"
${
CMAKE_EXE_LINKER_FLAGS
}
/DEBUG"
)
add_definitions
(
-DWIN32 -DOS_WIN -D_MBCS -DWIN64
)
add_definitions
(
-DWIN32 -DOS_WIN -D_MBCS -DWIN64
)
include_directories
(
${
PROJECT_SOURCE_DIR
}
)
include_directories
(
${
PROJECT_SOURCE_DIR
}
)
include_directories
(
${
PROJECT_SOURCE_DIR
}
/include
)
include_directories
(
${
PROJECT_SOURCE_DIR
}
/include
)
include_directories
(
${
PROJECT_SOURCE_DIR
}
/port
)
include_directories
(
${
PROJECT_SOURCE_DIR
}
/third-party/gtest-1.7.0/fused-src
)
include_directories
(
${
PROJECT_SOURCE_DIR
}
/third-party/gtest-1.7.0/fused-src
)
set
(
ROCKSDB_LIBS rocksdblib
${
ARTIFACT_SUFFIX
}
)
set
(
ROCKSDB_LIBS rocksdblib
${
ARTIFACT_SUFFIX
}
)
...
@@ -163,6 +163,7 @@ set(SOURCES
...
@@ -163,6 +163,7 @@ set(SOURCES
table/plain_table_reader.cc
table/plain_table_reader.cc
table/table_properties.cc
table/table_properties.cc
table/two_level_iterator.cc
table/two_level_iterator.cc
tools/dump/db_dump_tool.cc
util/arena.cc
util/arena.cc
util/auto_roll_logger.cc
util/auto_roll_logger.cc
util/bloom.cc
util/bloom.cc
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录