From: Diane Trout Date: Thu, 18 May 2006 00:56:12 +0000 (+0000) Subject: rename the python extension to _mussa.so X-Git-Url: http://woldlab.caltech.edu/gitweb/?p=mussa.git;a=commitdiff_plain;h=9ae087dea6175588bd8cbb4a80786d8d653f830b rename the python extension to _mussa.so when working on the setup.py version of the build system it seemd like I might want some python code to wrap the extension, so I renamed it to _mussa. not sure if i still need that or not. --- diff --git a/py/CMakeLists.txt b/py/CMakeLists.txt index 44465f7..3599bdf 100644 --- a/py/CMakeLists.txt +++ b/py/CMakeLists.txt @@ -21,12 +21,13 @@ INCLUDE( ${QT_USE_FILE} ) #SET_SOURCE_FILES_PROPERTIES(${SOURCES} COM - ADD_LIBRARY(mussa MODULE ${SOURCES}) - ADD_CUSTOM_TARGET(mussa.so ALL - COMMAND cp libmussa.so mussa.so - DEPENDS mussa) + ADD_LIBRARY(_mussa MODULE ${SOURCES}) + ADD_LIBRARY(mussa_py STATIC ${SOURCES}) + ADD_CUSTOM_TARGET(_mussa.so ALL + COMMAND cp lib_mussa.so _mussa.so + DEPENDS _mussa) LINK_DIRECTORIES(${MUSSA_BINARY_DIR}/alg) - TARGET_LINK_LIBRARIES(mussa + TARGET_LINK_LIBRARIES(_mussa mussa_core mussa_qui ${BOOST_PYTHON_LIBRARY}