projects
/
mussa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c8b64e1
)
ln -s is not that reliable
author
Diane Trout
<diane@caltech.edu>
Wed, 12 Apr 2006 01:02:48 +0000
(
01:02
+0000)
committer
Diane Trout
<diane@caltech.edu>
Wed, 12 Apr 2006 01:02:48 +0000
(
01:02
+0000)
ln throws an error if the file already exists, rm throws a file
if it doesn't exist, only cp works regardless of the start of the
python extensions existence status.
py/CMakeLists.txt
patch
|
blob
|
history
diff --git
a/py/CMakeLists.txt
b/py/CMakeLists.txt
index 6c88db94440d347ddaf10f36dde3280b922659cb..c890cfa868c9f6e402aad74dd73fea0a0b1f312f 100644
(file)
--- a/
py/CMakeLists.txt
+++ b/
py/CMakeLists.txt
@@
-18,8
+18,7
@@
FIND_PACKAGE(PythonInterp)
ADD_LIBRARY(mussa MODULE ${SOURCES})
ADD_CUSTOM_COMMAND(TARGET mussa
- COMMAND rm mussa.so
- COMMAND ln -s libmussa.so mussa.so)
+ COMMAND cp libmussa.so mussa.so)
LINK_DIRECTORIES(${MUSSA_BINARY_DIR}/alg)
TARGET_LINK_LIBRARIES(mussa
mussa_core