# copyright defined in abieos/LICENSE.txt find_package(Threads) add_executable(name name.cpp) target_link_libraries(name abieos ${CMAKE_THREAD_LIBS_INIT}) add_custom_command( TARGET name POST_BUILD COMMAND ${CMAKE_COMMAND} -E create_symlink $ ${CMAKE_CURRENT_BINARY_DIR}/name2num ) add_custom_command( TARGET name POST_BUILD COMMAND ${CMAKE_COMMAND} -E create_symlink $ ${CMAKE_CURRENT_BINARY_DIR}/num2name )