diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2020-04-02 21:35:04 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2020-04-04 17:22:03 +0200 |
commit | 5da57962ef8ad8506acf2fe0176a5156f1a0ccb3 (patch) | |
tree | da2fb57cd46402ba24535d8d24c105d2b90ec30b /CMakeLists.txt | |
parent | c037f083c42a8304bf997ae21fc5b682db0716a0 (diff) | |
download | tdelibs-5da57962ef8ad8506acf2fe0176a5156f1a0ccb3.tar.gz tdelibs-5da57962ef8ad8506acf2fe0176a5156f1a0ccb3.zip |
Enable storing ELF metadata in a standard way using a common cmake module
for all libraries and binaries.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit c64685ad8d7b76b78a5342fc03e7b7cf245eec84)
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 5b95cfa61..a68c3061d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1187,16 +1187,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 ) |