From c64685ad8d7b76b78a5342fc03e7b7cf245eec84 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Thu, 2 Apr 2020 21:35:04 +0200 Subject: Enable storing ELF metadata in a standard way using a common cmake module for all libraries and binaries. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- CMakeLists.txt | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index a99a303b5..d5847df09 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1271,16 +1271,22 @@ configure_file( tdelibs.pc.cmake tdelibs.pc @ONLY ) install( FILES ${CMAKE_CURRENT_BINARY_DIR}/tdelibs.pc DESTINATION ${PKGCONFIG_INSTALL_DIR} ) +##### read source metadata ###################### + +set( TDE_VERSION "${TDE_RELEASE_NUM}" ) +tde_read_src_metadata() + + ##### subdirectories ############################ +if( WITH_ELFICON ) + add_subdirectory( tdelfeditor ) +endif( WITH_ELFICON ) add_subdirectory( dcop ) add_subdirectory( libltdl ) add_subdirectory( kglib ) add_subdirectory( tdefx ) add_subdirectory( tdecore ) -if( WITH_ELFICON ) - add_subdirectory( tdelfeditor ) -endif( WITH_ELFICON ) add_subdirectory( tdeunittest ) add_subdirectory( tdeui ) add_subdirectory( tdesu ) -- cgit v1.2.1