You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
1.4 KiB
CMake
39 lines
1.4 KiB
CMake
###############################################################################
|
|
# Trinity KOffice #
|
|
# --------------- #
|
|
# This file is licensed under the terms of GNU GPL v3 or later. #
|
|
# Improvements and feedback are welcome. #
|
|
###############################################################################
|
|
|
|
include_directories(
|
|
${CMAKE_CURRENT_BINARY_DIR}
|
|
${CMAKE_CURRENT_SOURCE_DIR}
|
|
${CMAKE_SOURCE_DIR}/lib/kross/
|
|
${CMAKE_BINARY_DIR}/lib/kross/
|
|
${TDE_INCLUDE_DIR}
|
|
${TQT_INCLUDE_DIRS}
|
|
)
|
|
|
|
link_directories(
|
|
${TQT_LIBRARY_DIRS}
|
|
)
|
|
|
|
### Libraries #################################################################
|
|
tde_add_library(libkrossmain SHARED AUTOMOC
|
|
SOURCES
|
|
krossconfig.cpp mainmodule.cpp scriptcontainer.cpp manager.cpp
|
|
scriptaction.cpp scriptguiclient.cpp wdgscriptsmanagerbase.ui
|
|
wdgscriptsmanager.cpp
|
|
LINK
|
|
tdecore-shared tdeio-shared tdeui-shared tdenewstuff-shared
|
|
libkrossapi-shared
|
|
DESTINATION ${LIB_INSTALL_DIR}
|
|
)
|
|
|
|
### Headers ###################################################################
|
|
install(
|
|
FILES
|
|
krossconfig.h mainmodule.h manager.h scriptaction.h scriptcontainer.h
|
|
scriptguiclient.h wdgscriptsmanager.h
|
|
DESTINATION ${INCLUDE_INSTALL_DIR}/KOffice
|
|
) |