Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
YottaChain
YTBP
提交
134a2eef
Y
YTBP
项目概览
YottaChain
/
YTBP
通知
0
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
Y
YTBP
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
134a2eef
编写于
6月 15, 2017
作者:
D
Daniel Larimer
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
add issing cmakelist
上级
a3639661
变更
2
显示空白变更内容
内联
并排
Showing
2 changed file
with
78 addition
and
1 deletion
+78
-1
libraries/wasm-jit/.gitignore
libraries/wasm-jit/.gitignore
+0
-1
libraries/wasm-jit/CMakeLists.txt
libraries/wasm-jit/CMakeLists.txt
+78
-0
未找到文件。
libraries/wasm-jit/.gitignore
已删除
100644 → 0
浏览文件 @
a3639661
Build
libraries/wasm-jit/CMakeLists.txt
0 → 100644
浏览文件 @
134a2eef
#cmake_minimum_required(VERSION 2.7.0)
#project (WAVM)
#
#enable_testing()
#
#set_property(GLOBAL PROPERTY USE_FOLDERS ON)
#
## Put executables in the bin dir, and libraries in the lib dir.
#SET(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/lib)
#SET(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/bin)
#
## Allow includes relative to the source path.
set
(
WAVM_INCLUDE_DIR
${
CMAKE_CURRENT_LIST_DIR
}
/Include
)
include_directories
(
${
WAVM_INCLUDE_DIR
}
)
#
# Use C++11
# set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++14")
# Compile with all warnings and fatal warnings
# set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Werror")
# Disable RTTI
#set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fno-rtti")
# Ensure that even static libraries are relocatable so they can be linked into a .so
# set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIC")
# Enable asan in debug builds.
# if(CMAKE_BUILD_TYPE MATCHES "Debug")
# option(ENABLE_ASAN "enable ASAN" ON)
# add_definitions("-D_DEBUG")
# else()
# option(ENABLE_ASAN "enable ASAN" OFF)
# endif()
# if(ENABLE_ASAN)
# set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fsanitize=address")
# endif()
option
(
WAVM_METRICS_OUTPUT
"controls printing the timings of some operations to stdout"
OFF
)
if
(
WAVM_METRICS_OUTPUT
)
add_definitions
(
"-DWAVM_METRICS_OUTPUT=1"
)
else
()
add_definitions
(
"-DWAVM_METRICS_OUTPUT=0"
)
endif
()
option
(
PRETEND_32BIT_ADDRESS_SPACE
"forces 64-bit WAVM to reserve address-space as it would in a 32-bit process"
OFF
)
if
(
PRETEND_32BIT_ADDRESS_SPACE
)
add_definitions
(
"-DPRETEND_32BIT_ADDRESS_SPACE=1"
)
else
()
add_definitions
(
"-DPRETEND_32BIT_ADDRESS_SPACE=0"
)
endif
()
option
(
ENABLE_SIMD_PROTOTYPE
"enables the prototype implementation of the proposed WebAssembly SIMD extension"
OFF
)
if
(
ENABLE_SIMD_PROTOTYPE
)
add_definitions
(
"-DENABLE_SIMD_PROTOTYPE=1"
)
else
()
add_definitions
(
"-DENABLE_SIMD_PROTOTYPE=0"
)
endif
()
option
(
ENABLE_THREADING_PROTOTYPE
"enables the prototype implementation of the proposed WebAssembly threading extension"
OFF
)
if
(
ENABLE_THREADING_PROTOTYPE
)
add_definitions
(
"-DENABLE_THREADING_PROTOTYPE=1"
)
else
()
add_definitions
(
"-DENABLE_THREADING_PROTOTYPE=0"
)
endif
()
add_subdirectory
(
Include/Inline
)
add_subdirectory
(
Source/Emscripten
)
add_subdirectory
(
Source/IR
)
add_subdirectory
(
Source/Logging
)
add_subdirectory
(
Source/Platform
)
add_subdirectory
(
Source/Programs
)
add_subdirectory
(
Source/Runtime
)
add_subdirectory
(
Source/WASM
)
add_subdirectory
(
Source/WAST
)
#add_subdirectory(Test/spec)
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录