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.
38 lines
1.4 KiB
CMake
38 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_BINARY_DIR}
|
|
${TDE_INCLUDE_DIR}
|
|
${TQT_INCLUDE_DIRS}
|
|
)
|
|
|
|
link_directories(
|
|
${TQT_LIBRARY_DIRS}
|
|
)
|
|
|
|
### Libraries #################################################################
|
|
tde_add_library(libkrossapi SHARED AUTOMOC
|
|
SOURCES
|
|
object.cpp variant.cpp list.cpp dict.cpp exception.cpp callable.cpp
|
|
eventaction.cpp eventsignal.cpp eventslot.cpp eventscript.cpp
|
|
qtobject.cpp script.cpp interpreter.cpp
|
|
LINK
|
|
tdecore-shared
|
|
DESTINATION ${LIB_INSTALL_DIR}
|
|
)
|
|
|
|
### Headers ###################################################################
|
|
install(
|
|
FILES
|
|
callable.h class.h dict.h eventaction.h event.h eventscript.h eventsignal.h
|
|
eventslot.h exception.h function.h interpreter.h list.h module.h object.h
|
|
proxy.h qtobject.h script.h value.h variant.h
|
|
DESTINATION ${INCLUDE_INSTALL_DIR}/kross/api
|
|
) |