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:18:37 +0200
commitc64685ad8d7b76b78a5342fc03e7b7cf245eec84 (patch)
tree2ad7cace9a15a7985f5793a65ffe0aa9ae03db13 /CMakeLists.txt
parentb9ff2396ea46ee943ad8e9eb9d7769898f28d7ab (diff)
downloadtdelibs-c64685ad8d7b76b78a5342fc03e7b7cf245eec84.tar.gz
tdelibs-c64685ad8d7b76b78a5342fc03e7b7cf245eec84.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>
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 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 )