summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2020-04-02 21:35:04 +0200
committerSlávek Banko <slavek.banko@axis.cz>2020-04-04 17:22:03 +0200
commit5da57962ef8ad8506acf2fe0176a5156f1a0ccb3 (patch)
treeda2fb57cd46402ba24535d8d24c105d2b90ec30b /CMakeLists.txt
parentc037f083c42a8304bf997ae21fc5b682db0716a0 (diff)
downloadtdelibs-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.txt12
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 )