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.
50 lines
911 B
50 lines
911 B
3 years ago
|
#################################################
|
||
|
#
|
||
|
# (C) 2021 Vincent Reher
|
||
|
# tde (AT) 4reher.org
|
||
|
#
|
||
|
# Improvements and feedback are welcome
|
||
|
#
|
||
|
# This file is released under GPL >= 2
|
||
|
#
|
||
|
#################################################
|
||
|
|
||
|
add_definitions(
|
||
|
-DQT_PLUGIN
|
||
|
)
|
||
|
|
||
|
include_directories(
|
||
|
${TQT_INCLUDE_DIRS}
|
||
|
${TDE_INCLUDE_DIR}
|
||
|
${CMAKE_CURRENT_BINARY_DIR}
|
||
|
)
|
||
|
|
||
|
|
||
|
link_directories(
|
||
|
${TQT_LIBRARY_DIRS}
|
||
|
)
|
||
|
|
||
|
add_subdirectory( config )
|
||
|
|
||
|
##### other data ################################
|
||
|
|
||
|
tde_create_translated_desktop(
|
||
|
SOURCE phase2.themerc
|
||
|
DESTINATION ${DATA_INSTALL_DIR}/tdestyle/themes
|
||
|
PO_DIR style-themes
|
||
|
)
|
||
|
|
||
|
##### phase2style #################################
|
||
|
|
||
|
set( target phase2style )
|
||
|
|
||
|
set( ${target}_SRCS
|
||
|
phase2style.cpp phase2style.h shapes.h scaling.h
|
||
|
)
|
||
|
|
||
|
tde_add_kpart( ${target} AUTOMOC
|
||
|
SOURCES ${${target}_SRCS}
|
||
|
LINK tdefx-shared
|
||
|
DESTINATION ${PLUGIN_INSTALL_DIR}/plugins/styles
|
||
|
)
|