Skip to content

Docs issue: Dynamic Dispatch Example + CMake #144

Open
@Wheest

Description

The dynamic dispatch example, as described in documentation seems to work using the Makefile approach.

However, with a CMake file, using the appropriate CMake module, the build fails with error:

main.cpp:(.text+0x5): undefined reference to print_arch()'

I've made a barebones repository that implements only the dynamic dispatch built with CMake.

It is available here.

The CMake documentation was generated in 2013, so it's possible that it is no longer appropriate for the current version of the project.

Any pointers on getting this working for CMake? It would really help me with integrating into my projects.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions