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.
40 lines
588 B
CMake
40 lines
588 B
CMake
include_directories(
|
|
${CMAKE_BINARY_DIR}
|
|
${CMAKE_CURRENT_BINARY_DIR}
|
|
${CMAKE_CURRENT_SOURCE_DIR}
|
|
${TQT_INCLUDE_DIRS}
|
|
${PYTHON_INCLUDE_DIRS}
|
|
)
|
|
|
|
link_directories(
|
|
${TQT_LIBRARY_DIRS}
|
|
)
|
|
|
|
##### tdesip (shared)
|
|
|
|
tde_add_library( tdesip SHARED
|
|
|
|
SOURCES
|
|
siplib.c
|
|
apiversions.c
|
|
descriptors.c
|
|
tqtlib.c
|
|
threads.c
|
|
objmap.c
|
|
voidptr.c
|
|
bool.cpp
|
|
LINK
|
|
${PYTHON_LIBRARIES}
|
|
|
|
DESTINATION ${PYTHON_SITE_PACKAGES}/tdesip
|
|
)
|
|
|
|
|
|
# headers
|
|
|
|
install(
|
|
FILES sip.h
|
|
DESTINATION ${PYTHON_INCLUDE_DIRS}
|
|
RENAME tdesip.h
|
|
)
|