Skip to content

Instantly share code, notes, and snippets.

@conr2d
Created September 7, 2021 20:54
Show Gist options
  • Save conr2d/d1d413b44e5263d3121e178e8f15bce3 to your computer and use it in GitHub Desktop.
Save conr2d/d1d413b44e5263d3121e178e8f15bce3 to your computer and use it in GitHub Desktop.
supported options of eosio.cdt in blanc v0.10
add_executable(eosio.token src/eosio.token.cpp)
#target_compile_options(eosio.token PUBLIC --contract=eosio.token)
target_compile_definitions(eosio.token PUBLIC -DEOSIO_CONTRACT=eosio.token)
#target_compile_options(eosio.token PUBLIC --abi-version=1.2)
target_compile_definitions(eosio.token PUBLIC -DEOSIO_ABI_VERSION=1.2)
#target_compile_options(eosio.token PUBLIC --no-abigen)
target_compile_definitions(eosio.token PUBLIC -DEOSIO_NO_ABIGEN)
#target_compile_options(eosio.token PUBLIC --no-missing-ricardian-clause)
target_compile_definitions(eosio.token PUBLIC -DEOSIO_NO_RICARDIAN)
# all options can be passed to linker too:
#target_link_options(eosio.token PUBLIC --contract=eosio.token)
target_link_options(eosio.token PUBLIC -DEOSIO_CONTRACT=eosio.token)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment