Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Commit

Permalink
rename Assemble to eosio-wast2wasm and install it
Browse files Browse the repository at this point in the history
  • Loading branch information
spoonincode committed May 7, 2018
1 parent 85b2948 commit ae9388d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion libraries/wasm-jit/Source/Programs/Assemble.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ int commandMain(int argc,char** argv)
{
if(argc < 3)
{
std::cerr << "Usage: Assemble in.wast out.wasm [switches]" << std::endl;
std::cerr << "Usage: eosio-wast2wasm in.wast out.wasm [switches]" << std::endl;
std::cerr << " -n|--omit-names\t\tOmits WAST function and local names from the output" << std::endl;
return EXIT_FAILURE;
}
Expand Down
7 changes: 4 additions & 3 deletions libraries/wasm-jit/Source/Programs/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
add_executable(Assemble Assemble.cpp CLI.h)
target_link_libraries(Assemble Logging IR WAST WASM)
set_target_properties(Assemble PROPERTIES FOLDER Programs)
add_executable(eosio-wast2wasm Assemble.cpp CLI.h)
target_link_libraries(eosio-wast2wasm Logging IR WAST WASM)
set_target_properties(eosio-wast2wasm PROPERTIES FOLDER Programs)
INSTALL(TARGETS eosio-wast2wasm DESTINATION ${CMAKE_INSTALL_BINDIR})

add_executable(Disassemble Disassemble.cpp CLI.h)
target_link_libraries(Disassemble Logging IR WAST WASM)
Expand Down

0 comments on commit ae9388d

Please sign in to comment.