delete old file
This commit is contained in:
parent
f2c60cf6c9
commit
6101ba0b3a
|
@ -1,43 +0,0 @@
|
|||
INCLUDE_DIRECTORIES(${PYTHON_INCLUDE_PATH} ${HURRICANE_SOURCE_DIR}/src/hurricane)
|
||||
|
||||
SET(sources ProxyProperty.cpp PyBox.cpp PyCell.cpp PyCellLocator.cpp
|
||||
PyComponent.cpp PyComponentLocator.cpp PyContact.cpp
|
||||
PyDataBase.cpp PyEntity.cpp PyHorizontal.cpp
|
||||
PyHurricane.cpp PyHyperNet.cpp PyInstance.cpp PyInstanceLocator.cpp
|
||||
PyLayer.cpp PyLibrary.cpp PyName.cpp PyNet.cpp PyNetLocator.cpp
|
||||
PyOccurrence.cpp PyOccurrenceLocator.cpp PyPath.cpp PyPin.cpp PyPinLocator.cpp
|
||||
PyPlug.cpp PyPlugLocator.cpp PyPoint.cpp PyReference.cpp PyReferenceLocator.cpp
|
||||
PySegment.cpp PySegmentLocator.cpp PyTechnology.cpp PyTransformation.cpp
|
||||
PyUnit.cpp PyUpdateSession.cpp PyVertical.cpp
|
||||
)
|
||||
|
||||
|
||||
SET(includes ProxyProperty.h PyBox.h PyCell.h PyCellLocator.h
|
||||
PyComponent.h PyComponentLocator.h PyContact.h
|
||||
PyDataBase.h PyEntity.h PyHorizontal.h
|
||||
PyHurricane.h PyHyperNet.h PyInstance.h PyInstanceLocator.h
|
||||
PyLayer.h PyLibrary.h PyName.h PyNet.h PyNetLocator.h
|
||||
PyOccurrence.h PyOccurrenceLocator.h PyPath.h PyPin.h PyPinLocator.h
|
||||
PyPlug.h PyPlugLocator.h PyPoint.h PyReference.h PyReferenceLocator.h
|
||||
PySegment.h PySegmentLocator.h PyTechnology.h PyTransformation.h
|
||||
PyUnit.h PyUpdateSession.h PyVertical.h
|
||||
)
|
||||
|
||||
ADD_LIBRARY(isobar SHARED ${sources})
|
||||
|
||||
TARGET_LINK_LIBRARIES(isobar hurricane ${PYTHON_LIBRARIES})
|
||||
|
||||
SET(source_dir ${HURRICANE_SOURCE_DIR}/src/pyext)
|
||||
SET(binary_dir ${HURRICANE_BINARY_DIR}/src/pyext)
|
||||
SET(include_dirs ${HURRICANE_SOURCE_DIR}/src/hurricane)
|
||||
SET(library_dirs ${HURRICANE_BINARY_DIR}/src/hurricane:${binary_dir})
|
||||
|
||||
CONFIGURE_FILE(PyExtensionBuild.conf.in ${binary_dir}/PyExtensionBuild.conf)
|
||||
|
||||
ADD_CUSTOM_COMMAND(TARGET isobar POST_BUILD
|
||||
COMMAND cp ${source_dir}/setup.py ${binary_dir}/setup.py
|
||||
COMMAND ${PYTHON_EXECUTABLE} ${binary_dir}/setup.py build
|
||||
--build-base=${binary_dir}
|
||||
DEPENDS ${binary_dir}/PyExtensionBuild.conf)
|
||||
|
||||
INSTALL(TARGETS isobar DESTINATION /lib)
|
Loading…
Reference in New Issue