Skip to content

Commit a967a5c

Browse files
committed
Python interpreter, debugger and code completion: have a default and a cbplugin target for windows projects (and remove unneeded files in python debugger)
1 parent 04880a2 commit a967a5c

11 files changed

Lines changed: 137 additions & 736 deletions

File tree

PythonCodeCompletion/PythonCodeCompletion.cbp

Lines changed: 42 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,47 @@
66
<Option pch_mode="2" />
77
<Option compiler="gcc" />
88
<Build>
9-
<Target title="CodeCompletion">
9+
<Target title="default">
10+
<Option output="$(#cb)/devel/share/codeblocks/plugins/PythonCodeCompletion" prefix_auto="1" extension_auto="1" />
11+
<Option type="3" />
12+
<Option compiler="gcc" />
13+
<Option parameters="--debug-log --no-dde --no-check-associations --multiple-instance --no-splash-screen --verbose -p Debug" />
14+
<Option host_application="$(#cb)/devel/codeblocks" />
15+
<Option run_host_application_in_terminal="0" />
16+
<Compiler>
17+
<Add option="-g" />
18+
<Add option="-pipe" />
19+
<Add option="-mthreads" />
20+
<Add option="-fmessage-length=0" />
21+
<Add option="-fexceptions" />
22+
<Add option="-Winvalid-pch" />
23+
<Add option="-D__WXMSW__" />
24+
<Add option="-DWXUSINGDLL" />
25+
<Add option="-DWX_PRECOMP" />
26+
<Add option="-DwxUSE_UNICODE" />
27+
<Add option="-D_WINDOWS" />
28+
<Add directory="$(#wx)/lib/gcc_dll/mswu" />
29+
<Add directory="$(#wx)/include" />
30+
<Add directory="$(#cb)/include" />
31+
<Add directory="$(#cb)/sdk/wxscintilla/include" />
32+
<Add directory="../XmlRpcEmbedder/XMLRPC/include" />
33+
<Add directory="../XmlRpcEmbedder" />
34+
</Compiler>
35+
<Linker>
36+
<Add library="wxmsw28u" />
37+
<Add library="codeblocks" />
38+
<Add library="XmlRpcEmbedder" />
39+
<Add directory="$(#wx)/lib/gcc_dll" />
40+
<Add directory="$(#cb)/devel" />
41+
</Linker>
42+
<ExtraCommands>
43+
<Add after="zip -j9 PythonCodeCompletion.zip manifest.xml" />
44+
<Add after="cmd /c copy PythonCodeCompletion.zip $(#cb)\devel\share\codeblocks\" />
45+
<Add after="cmd /c copy python\python_completion_server.py $(#cb)\devel\share\codeblocks\python" />
46+
<Mode after="always" />
47+
</ExtraCommands>
48+
</Target>
49+
<Target title="cbplugin">
1050
<Option output="PythonCodeCompletion" prefix_auto="1" extension_auto="1" />
1151
<Option type="3" />
1252
<Option compiler="gcc" />
@@ -47,7 +87,7 @@
4787
</Target>
4888
</Build>
4989
<VirtualTargets>
50-
<Add alias="All" targets="CodeCompletion;" />
90+
<Add alias="All" targets="default;" />
5191
</VirtualTargets>
5292
<Unit filename="PythonCodeCompletion.cpp" />
5393
<Unit filename="PythonCodeCompletion.h" />

PythonDebugger/ConfigDialog.cpp

Lines changed: 0 additions & 176 deletions
This file was deleted.

PythonDebugger/ConfigDialog.h

Lines changed: 0 additions & 77 deletions
This file was deleted.

0 commit comments

Comments
 (0)