diff options
author | Timothy Pearson <[email protected]> | 2012-01-22 01:02:36 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2012-01-22 01:02:36 -0600 |
commit | b81e43465b14836b17e4fe2dea91c78a2bdd29b3 (patch) | |
tree | 7815d61ce59a6ccb6e655ed44f5fea786f520985 /tdm/kfrontend/CMakeLists.txt | |
parent | 7021f40c13f949b7cb5ded32d0241d648a43bf6c (diff) | |
download | tdebase-b81e43465b14836b17e4fe2dea91c78a2bdd29b3.tar.gz tdebase-b81e43465b14836b17e4fe2dea91c78a2bdd29b3.zip |
Part 2 of prior commit
Diffstat (limited to 'tdm/kfrontend/CMakeLists.txt')
-rw-r--r-- | tdm/kfrontend/CMakeLists.txt | 101 |
1 files changed, 101 insertions, 0 deletions
diff --git a/tdm/kfrontend/CMakeLists.txt b/tdm/kfrontend/CMakeLists.txt new file mode 100644 index 000000000..4a069a3ae --- /dev/null +++ b/tdm/kfrontend/CMakeLists.txt @@ -0,0 +1,101 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +add_subdirectory( themer ) +add_subdirectory( themes ) +add_subdirectory( pics ) +add_subdirectory( sessions ) + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/tdm/backend + ${CMAKE_SOURCE_DIR}/tdmlib + ${CMAKE_SOURCE_DIR}/kcontrol/background + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### other data ################################ + +if( NOT DEFINED GENTDMCONF_FLAGS ) + set( GENTDMCONF_FLAGS "--no-old" ) +endif( ) + +install( CODE "execute_process( COMMAND ${CMAKE_CURRENT_BINARY_DIR}/gentdmconf --in \$ENV{DESTDIR}${CONFIG_INSTALL_DIR}/tdm --no-in-notice --face-src ${CMAKE_CURRENT_SOURCE_DIR}/pics ${GENTDMCONF_FLAGS} )" ) + + +##### config.ci (generated) ##################### + +add_custom_command( OUTPUT config.ci + COMMAND perl -w ${CMAKE_SOURCE_DIR}/tdm/confproc.pl ${CMAKE_SOURCE_DIR}/tdm/config.def config.ci + DEPENDS ${CMAKE_SOURCE_DIR}/tdm/confproc.pl ${CMAKE_SOURCE_DIR}/tdm/config.def ) + + +##### tdm_config (executable) ################### + +set_property( SOURCE tdm_config.c APPEND PROPERTY OBJECT_DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/config.ci ) + +tde_add_executable( tdm_config + SOURCES tdm_config.c + LINK + DESTINATION ${BIN_INSTALL_DIR} +) + + +##### tdm_greet (executable) #################### +if( WITH_XRANDR ) + set( TDMGREET_OPTIONAL_LINK "krandr-shared" ) +endif ( ) + +tde_add_executable( tdm_greet AUTOMOC + SOURCES + tdm_greet.c tdmconfig.cpp tdmclock.cpp kconsole.cpp + kfdialog.cpp kgdialog.cpp kchooser.cpp kgverify.cpp + tdmshutdown.cpp tdmadmindialog.cpp kgreeter.cpp + kgapp.cpp sakdlg.cc + LINK tdmthemer-static tdeui-shared Xtst ${TDMGREET_OPTIONAL_LINK} + DESTINATION ${BIN_INSTALL_DIR} +) + + +##### krootimage (executable) ################### + +tde_add_executable( krootimage AUTOMOC + SOURCES krootimage.cpp + LINK bgnd-static kio-shared + DESTINATION ${BIN_INSTALL_DIR} +) + + +##### gentdmconf (executable) ################### + +set_property( SOURCE gentdmconf.c APPEND PROPERTY OBJECT_DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/config.ci ) + +tde_add_executable( gentdmconf AUTOMOC + SOURCES gentdmconf.c + LINK X11 + DESTINATION ${BIN_INSTALL_DIR} +) + + +##### tdmctl (executable) ####################### + +tde_add_executable( tdmctl + SOURCES tdmctl.c + LINK + DESTINATION ${BIN_INSTALL_DIR} +) |