Skip to content

Commit

Permalink
[CORRECTIVE] Added missing project file.
Browse files Browse the repository at this point in the history
  • Loading branch information
epekkar committed Jun 24, 2021
1 parent 5568a02 commit d9bd2d6
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions PythonAPI/PythonAPI.pro
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# ----------------------------------------------------
# This file is generated by the Qt Visual Studio Tools.
# ------------------------------------------------------

TEMPLATE = lib
TARGET = PythonAPI
DESTDIR = .
CONFIG += c++11 release dll
DEFINES += PYTHONAPI_LIB
QT += core gui widgets xml
LIBS += -L"$(SolutionDir)x64/executable" \
-L$$(PWD)/../executable -lIPXACTmodels \
-L$$(PWD)/../executable -lKactus2
DEPENDPATH += ..
INCLUDEPATH += ..
MOC_DIR += ./GeneratedFiles
OBJECTS_DIR += release
UI_DIR += ./GeneratedFiles
RCC_DIR += ./GeneratedFiles

QMAKE_CXXFLAGS += $$PYTHON_C_FLAGS

include(PythonAPI.pri)

# Run SWIG to generate PythonAPI_wrap.cxx.
swig.depends = ./PythonAPI.i
swig.target = PythonAPI_wrap.cxx
swig.commands = swig -python -c++ -O PythonAPI.i
swig.path = .

QMAKE_EXTRA_TARGETS += swig

# Rename shared library for SWIG wrapper.
unix:QMAKE_POST_LINK = ln -s -f libPythonAPI.so.1.0.0 _pythonAPI.so

# Install target
target.path = $$lib_path
target.files = _pythonAPI.so

INSTALLS += target

0 comments on commit d9bd2d6

Please sign in to comment.