CMake module for checking backward compatibility of a C/C++ library.
ABICC_LIBRARIES(target1 [target2 ...])
ABICC_HEADERS(dir1 [dir2 ...] file1 [file2 ...])
ABICC_DUMP_FILE(DUMP file.dump)
ABICC_COMPARE(OLD file1.dump NEW file2.dump)
IF(CMAKE_BUILD_TYPE STREQUAL "Debug")
SET(ABICC_CURRENT_DUMP
"${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}_${PROJECT_VERSION}.dump")
ABICC_LIBRARIES(libtools)
ABICC_HEADERS(include)
ABICC_DUMP_FILE(DUMP "${ABICC_CURRENT_DUMP}")
ABICC_COMPARE(
OLD
"/home/projects/libtools/libtools_0.0.4.dump"
NEW
"${ABICC_CURRENT_DUMP}")
ENDIF()
$ layman -S
$ layman -a kaa
$ emerge dev-util/cmake-abicc -a
$ git clone https://github.com/Oleh-Kravchenko/cmake-abicc.git
$ cd cmake-abicc
$ mkdir build
$ cd build
$ cmake -Wno-dev -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr/local ..
$ sudo make install
Please use recipe contrib/yocto/cmake-abicc_git.bb