forked from kactus2/kactus2dev
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPythonAPI.pro
More file actions
42 lines (33 loc) · 1.05 KB
/
PythonAPI.pro
File metadata and controls
42 lines (33 loc) · 1.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# ----------------------------------------------------
# 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 -lKactusAPI
DEPENDPATH += ..
INCLUDEPATH += ..\
../KactusAPI/include
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 -doxygen -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 pythonAPI.py
INSTALLS += target