• Brenden Blanco's avatar
    move api and create dependent option · 71fc3d5c
    Brenden Blanco authored
    Move the C++ api files under a new subdirectory.
    Use CMAKE_DEPENDENT_OPTION to enforce sdt->cpp_api relationship.
    
    Since linking .a into a .so can cause global symbols to be dropped, add
    a helper file to force exported symbols to be retained (link_all.cc).
    This problem doesn't exist for building the static cpp examples.
    Signed-off-by: default avatarBrenden Blanco <bblanco@gmail.com>
    71fc3d5c
link_all.cc 620 Bytes