Skip to content

Instantly share code, notes, and snippets.

@johnX9
Last active May 20, 2018 08:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save johnX9/006c103e5ce2a8ec6017487a24b361f2 to your computer and use it in GitHub Desktop.
Save johnX9/006c103e5ce2a8ec6017487a24b361f2 to your computer and use it in GitHub Desktop.
file(GLOB ABI_FILES "*.abi")
configure_file("${ABI_FILES}" "${CMAKE_CURRENT_BINARY_DIR}" COPYONLY)
# Change "Players" with the name of the folder containing your smart contracts
add_wast_executable(TARGET Players
INCLUDE_FOLDERS "${STANDARD_INCLUDE_FOLDERS}"
LIBRARIES libc libc++ eosiolib
DESTINATION_FOLDER ${CMAKE_CURRENT_BINARY_DIR}
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment