On windows cmake build the libraries in
${CMAKE_BINARY_DIR}/<< Libname >>/<< Debug or Release >>/Libname.lib
on ubuntu-mate in
${CMAKE_BINARY_DIR}/Libname.a
is there a way to get this pathes? My use-case for such a FULL_PATH_TO_LIB is as follows:
add_library(${LIB_NAME} STATIC ${SOURCES})
#...
target_link_libraries(${PROJECT_BENCH_NAME}
debug ${FULL_PATH_TO_LIB}${LIB_NAME}${CMAKE_DEBUG_POSTFIX}${CMAKE_STATIC_LIBRARY_SUFFIX })