You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
168 lines
3.1 KiB
168 lines
3.1 KiB
14 years ago
|
#################################################
|
||
|
#
|
||
|
# (C) 2010 Serghei Amelian
|
||
|
# serghei (DOT) amelian (AT) gmail.com
|
||
|
#
|
||
|
# Improvements and feedback are welcome
|
||
|
#
|
||
|
# This file is released under GPL >= 2
|
||
|
#
|
||
|
#################################################
|
||
|
|
||
|
include_directories(
|
||
|
${TQT_INCLUDE_DIRS}
|
||
|
${CMAKE_CURRENT_BINARY_DIR}
|
||
|
${CMAKE_BINARY_DIR}
|
||
|
${CMAKE_CURRENT_SOURCE_DIR}
|
||
13 years ago
|
${CMAKE_BINARY_DIR}/tdecore
|
||
14 years ago
|
${CMAKE_SOURCE_DIR}
|
||
|
${CMAKE_SOURCE_DIR}/dcop
|
||
13 years ago
|
${CMAKE_SOURCE_DIR}/tdecore
|
||
|
${CMAKE_SOURCE_DIR}/tdeui
|
||
12 years ago
|
${CMAKE_SOURCE_DIR}/tdeio
|
||
|
${CMAKE_SOURCE_DIR}/tdeio/tdeio
|
||
14 years ago
|
${FREETYPE_INCLUDE_DIRS}
|
||
|
)
|
||
|
|
||
|
link_directories(
|
||
|
${TQT_LIBRARY_DIRS}
|
||
|
)
|
||
|
|
||
|
|
||
13 years ago
|
#### tdeinit ####################################
|
||
14 years ago
|
|
||
13 years ago
|
set( target tdeinit )
|
||
14 years ago
|
|
||
|
set( ${target}_SRCS
|
||
12 years ago
|
tdeinit.cpp setproctitle.cpp
|
||
14 years ago
|
)
|
||
|
|
||
|
tde_add_executable( ${target}
|
||
|
SOURCES ${${target}_SRCS}
|
||
12 years ago
|
LINK ltdlc-static tdeparts-shared
|
||
14 years ago
|
DESTINATION ${BIN_INSTALL_DIR}
|
||
|
)
|
||
|
|
||
|
|
||
13 years ago
|
#### tdeinit_wrapper ############################
|
||
14 years ago
|
|
||
13 years ago
|
set( target tdeinit_wrapper )
|
||
14 years ago
|
|
||
|
tde_add_executable( ${target}
|
||
|
SOURCES wrapper.c
|
||
|
DESTINATION ${BIN_INSTALL_DIR}
|
||
|
)
|
||
|
|
||
|
|
||
|
#### kshell #####################################
|
||
|
|
||
|
set( target kshell )
|
||
|
|
||
|
tde_add_executable( ${target}
|
||
|
SOURCES shell.c
|
||
|
DESTINATION ${BIN_INSTALL_DIR}
|
||
|
)
|
||
|
|
||
|
|
||
13 years ago
|
#### tdeinit_shutdown ###########################
|
||
14 years ago
|
|
||
13 years ago
|
set( target tdeinit_shutdown )
|
||
14 years ago
|
|
||
|
tde_add_executable( ${target}
|
||
|
SOURCES wrapper.c
|
||
|
DESTINATION ${BIN_INSTALL_DIR}
|
||
|
)
|
||
|
|
||
|
|
||
|
#### lnusertemp #################################
|
||
|
|
||
|
set( target lnusertemp )
|
||
|
|
||
|
tde_add_executable( ${target}
|
||
|
SOURCES lnusertemp.c
|
||
|
DESTINATION ${BIN_INSTALL_DIR}
|
||
|
)
|
||
|
|
||
|
|
||
|
#### kwrapper ###################################
|
||
|
|
||
|
set( target kwrapper )
|
||
|
|
||
|
tde_add_executable( ${target}
|
||
|
SOURCES kwrapper.c
|
||
|
DESTINATION ${BIN_INSTALL_DIR}
|
||
|
)
|
||
|
|
||
|
|
||
12 years ago
|
#### tdeioslave ###################################
|
||
14 years ago
|
|
||
12 years ago
|
set( target tdeioslave )
|
||
14 years ago
|
|
||
|
tde_add_executable( ${target} AUTOMOC
|
||
12 years ago
|
SOURCES tdeioslave.cpp
|
||
|
LINK ltdlc-static tdeio-shared
|
||
14 years ago
|
DESTINATION ${BIN_INSTALL_DIR}
|
||
|
)
|
||
|
|
||
|
|
||
12 years ago
|
#### tdestartupconfig #############################
|
||
14 years ago
|
|
||
12 years ago
|
set( target tdestartupconfig )
|
||
14 years ago
|
|
||
|
tde_add_executable( ${target} AUTOMOC
|
||
12 years ago
|
SOURCES tdestartupconfig.cpp
|
||
13 years ago
|
LINK tdefakes-shared ${TQT_LIBRARIES}
|
||
14 years ago
|
DESTINATION ${BIN_INSTALL_DIR}
|
||
|
)
|
||
|
|
||
|
|
||
12 years ago
|
#### tdedostartupconfig ###########################
|
||
14 years ago
|
|
||
12 years ago
|
set( target tdedostartupconfig )
|
||
14 years ago
|
|
||
|
tde_add_executable( ${target} AUTOMOC
|
||
12 years ago
|
SOURCES tdedostartupconfig.cpp
|
||
13 years ago
|
LINK tdecore-shared
|
||
14 years ago
|
DESTINATION ${BIN_INSTALL_DIR}
|
||
|
)
|
||
|
|
||
|
|
||
13 years ago
|
#### start_tdeinit ##############################
|
||
14 years ago
|
|
||
13 years ago
|
set( target start_tdeinit )
|
||
14 years ago
|
|
||
13 years ago
|
if( TDEINIT_SETUID )
|
||
14 years ago
|
set( _setuid SETUID )
|
||
13 years ago
|
endif( TDEINIT_SETUID )
|
||
14 years ago
|
|
||
|
tde_add_executable( ${target} ${_setuid}
|
||
13 years ago
|
SOURCES start_tdeinit.c
|
||
14 years ago
|
DESTINATION ${BIN_INSTALL_DIR}
|
||
|
)
|
||
|
|
||
13 years ago
|
set_target_properties( ${target} PROPERTIES COMPILE_FLAGS -DEXECUTE=\\"${BIN_INSTALL_DIR}/tdeinit\\" )
|
||
14 years ago
|
|
||
|
|
||
13 years ago
|
#### start_tdeinit_wrapper ######################
|
||
14 years ago
|
|
||
13 years ago
|
set( target start_tdeinit_wrapper )
|
||
14 years ago
|
|
||
|
tde_add_executable( ${target}
|
||
13 years ago
|
SOURCES start_tdeinit_wrapper.c
|
||
14 years ago
|
DESTINATION ${BIN_INSTALL_DIR}
|
||
|
)
|
||
|
|
||
|
|
||
12 years ago
|
#### tdelauncher ##################################
|
||
14 years ago
|
|
||
12 years ago
|
set( target tdelauncher )
|
||
14 years ago
|
|
||
|
set( ${target}_SRCS
|
||
12 years ago
|
tdelauncher.cpp tdelauncher_main.cpp autostart.cpp
|
||
14 years ago
|
)
|
||
|
|
||
13 years ago
|
tde_add_tdeinit_executable( ${target} AUTOMOC
|
||
14 years ago
|
SOURCES ${${target}_SRCS}
|
||
12 years ago
|
LINK tdeio-shared
|
||
14 years ago
|
)
|