blob: 15ab799083d7f373b56a624e8c8086486b696c15 (
plain)
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
43
44
45
46
|
#todo
# - handle if there is no debug python lib python35_d
# - needs to be tested
if (MINGW)
message(STATUS "MinGW detected. Removing qtcreatorcdbext from build.")
return()
endif()
include(CheckIncludeFile)
check_include_file(wdbgexts.h HAVE_WDBGEXTS_H)
if (NOT HAVE_WDBGEXTS_H)
message(WARNING "wdbgexts.h not found. Removing qtcreatorcdbext from build.")
return()
endif()
find_package(PythonLibs 3.5)
if (NOT ${PYTHONLIBS_FOUND})
message(WARNING "PythonLibs 3.5 not found. Removing qtcreatorcdbext from build.")
return()
endif()
add_qtc_library(qtcreatorcdbext
DEPENDS ${PYTHON_LIBRARIES}
INCLUDES ${PYTHON_INCLUDE_DIR}
DEFINES WITH_PYTHON=1
SOURCES
common.cpp common.h
containers.cpp containers.h
eventcallback.cpp eventcallback.h
extensioncontext.cpp extensioncontext.h
gdbmihelpers.cpp gdbmihelpers.h
iinterfacepointer.h
knowntype.h
outputcallback.cpp outputcallback.h
pycdbextmodule.cpp pycdbextmodule.h
pyfield.cpp pyfield.h
pystdoutredirect.cpp pystdoutredirect.h
pytype.cpp pytype.h
pyvalue.cpp pyvalue.h
qtcreatorcdbextension.cpp
stringutils.cpp stringutils.h
symbolgroup.cpp symbolgroup.h
symbolgroupnode.cpp symbolgroupnode.h
symbolgroupvalue.cpp symbolgroupvalue.h
)
|