forked from EOSIO/eosio.cdt
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
42 changed files
with
565 additions
and
2,743 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,4 +31,8 @@ | |
*.out | ||
*.app | ||
|
||
# Mac OS | ||
.DS_Store | ||
|
||
# Build | ||
build/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,3 +9,4 @@ | |
[submodule "agrio_llvm"] | ||
path = agrio_llvm | ||
url = https://github.com/aggregion/llvm.git | ||
branch = agrio |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
cmake_minimum_required(VERSION 3.5) | ||
project(abigen_test_example VERSION 1.0.0) | ||
|
||
# if no wasm root is given use default path | ||
if(AGRIO_CDT_ROOT STREQUAL "" OR NOT AGRIO_CDT_ROOT) | ||
set(AGRIO_CDT_ROOT "/usr/local/agrio.cdt") | ||
endif() | ||
|
||
# append the path to the module to include | ||
list(APPEND CMAKE_MODULE_PATH ${AGRIO_CDT_ROOT}/lib/cmake) | ||
|
||
#include the toolchain cmake | ||
include(AgrioWasmToolchain) | ||
|
||
set(CMAKE_CXX_FLAGS " -abigen ${CMAKE_CXX_FLAGS} ") | ||
add_executable( test.wasm test.cpp ) |
Oops, something went wrong.