summaryrefslogtreecommitdiffstats
path: root/swig/CMakeLists.txt
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2013-12-13 00:44:17 +0100
committerGravatar Nikias Bassen2013-12-13 00:44:17 +0100
commita798afc8b5b00a43f4b121168e0419df2d398338 (patch)
treec178d7a149028944254511d03f91266ca43cfcbd /swig/CMakeLists.txt
parent3b7647499474619b3e24bf01105b6b037887a0ed (diff)
downloadlibplist-a798afc8b5b00a43f4b121168e0419df2d398338.tar.gz
libplist-a798afc8b5b00a43f4b121168e0419df2d398338.tar.bz2
change build system to autotools
Diffstat (limited to 'swig/CMakeLists.txt')
-rw-r--r--swig/CMakeLists.txt24
1 files changed, 0 insertions, 24 deletions
diff --git a/swig/CMakeLists.txt b/swig/CMakeLists.txt
deleted file mode 100644
index 379cb95..0000000
--- a/swig/CMakeLists.txt
+++ /dev/null
@@ -1,24 +0,0 @@
-INCLUDE( ${SWIG_USE_FILE} )
-
-SET(CMAKE_SWIG_FLAGS -Werror -Wall -modern)
-
-INCLUDE_DIRECTORIES( ${PYTHON_INCLUDE_PATH} )
-
-SET_SOURCE_FILES_PROPERTIES(plist.i PROPERTIES CPLUSPLUS ON)
-SWIG_ADD_MODULE( plist python plist.i )
-SWIG_LINK_LIBRARIES( plist plist plist++ ${PYTHON_LIBRARIES} )
-
-EXEC_PROGRAM("${PYTHON_EXECUTABLE}"
- ARGS "-c 'try:\n import distutils.sysconfig; print distutils.sysconfig.get_python_lib(plat_specific=1)\nexcept: pass\n'"
- OUTPUT_VARIABLE DISTUTILS_PYTHON_ILIBRARY_PATH
- )
-
-INSTALL( FILES ${CMAKE_CURRENT_BINARY_DIR}/_plist${CMAKE_SHARED_MODULE_SUFFIX}
- DESTINATION ${DISTUTILS_PYTHON_ILIBRARY_PATH}/plist/ )
-INSTALL( FILES ${CMAKE_CURRENT_BINARY_DIR}/plist.py
- DESTINATION ${DISTUTILS_PYTHON_ILIBRARY_PATH}/plist/ )
-INSTALL( FILES ${CMAKE_CURRENT_SOURCE_DIR}/__init__.py
- DESTINATION ${DISTUTILS_PYTHON_ILIBRARY_PATH}/plist/ )
-INSTALL( FILES ${CMAKE_CURRENT_SOURCE_DIR}/plist.i
- DESTINATION include/plist/swig COMPONENT dev)
-