-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcbClangCompileCommands-unix.cbp
94 lines (94 loc) · 3.16 KB
/
cbClangCompileCommands-unix.cbp
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<CodeBlocks_project_file>
<FileVersion major="1" minor="6" />
<Project>
<Option title="cbClangCompileCommands" />
<Option platforms="Unix;" />
<Option pch_mode="2" />
<Option compiler="gcc" />
<Build>
<Target title="Release">
<Option output="cbClangCompileCommands" prefix_auto="0" extension_auto="1" />
<Option type="3" />
<Option compiler="gnu_gcc_62_compiler" />
<Option host_application="codeblocks" />
<Option run_host_application_in_terminal="0" />
<Compiler>
<Add option="-O2" />
<Add option="-pipe" />
<Add option="-fmessage-length=0" />
<Add option="-fexceptions" />
<Add option="-Winvalid-pch" />
<Add directory="$(#cb)/include" />
<Add directory="$(#cb)/sdk/wxscintilla/include" />
<Add directory="$(#wx.include)" />
<Add directory="$(#wx.lib)" />
</Compiler>
<Linker>
<Add directory="$(#cb)/devel" />
<Add directory="$(#wx.lib)" />
</Linker>
<ExtraCommands>
<Add after="zip -j9 cbClangCompileCommands.zip manifest.xml" />
<Add after="zip -j9 cbClangCompileCommands.cbplugin cbClangCompileCommands.dll cbClangCompileCommands.zip" />
</ExtraCommands>
</Target>
<Target title="Debug">
<Option output="cbClangCompileCommands" prefix_auto="0" extension_auto="1" />
<Option type="3" />
<Option compiler="gcc" />
<Option host_application="$(#cb)/devel/codeblocks.exe" />
<Option run_host_application_in_terminal="0" />
<Compiler>
<Add option="-g" />
<Add option="-pipe" />
<Add option="-fmessage-length=0" />
<Add option="-fexceptions" />
<Add option="-Winvalid-pch" />
<Add option="-DcbDEBUG" />
<Add directory="$(#cb)/include" />
<Add directory="$(#cb)/sdk/wxscintilla/include" />
<Add directory="$(#wx.include)" />
<Add directory="$(#wx.lib)" />
</Compiler>
<Linker>
<Add directory="$(#cb)/devel" />
<Add directory="$(#wx.lib)" />
</Linker>
<ExtraCommands>
<Add after="zip -j9 cbClangCompileCommands.zip manifest.xml" />
<Add after="zip -j9 cbClangCompileCommands.cbplugin cbClangCompileCommands.dll cbClangCompileCommands.zip" />
</ExtraCommands>
</Target>
<Environment>
<Variable name="WX_CONFIG" value="wx-config --version=2.8" />
</Environment>
</Build>
<Compiler>
<Add option="-fPIC" />
<Add option="`$(WX_CONFIG) --cflags`" />
<Add option="`pkg-config --cflags codeblocks`" />
<Add option="-Ulinux" />
<Add option="-Uunix" />
<Add option="-DCB_PRECOMP" />
<Add option="-DWX_PRECOMP" />
<Add option="-DwxUSE_UNICODE" />
<Add option="-DwxUSE_WCHAR_T" />
<Add option="-DBUILDING_PLUGIN" />
<Add option="-DwxUSE_GUI=1" />
<Add directory="$(#wx.lib)/wx/include/gtk2-unicode-release-2.8" />
</Compiler>
<Linker>
<Add option="`$(WX_CONFIG) --libs`" />
<Add option="`pkg-config --libs codeblocks`" />
</Linker>
<Unit filename="cbClangCompileCommands.cpp" />
<Unit filename="cbClangCompileCommands.h" />
<Unit filename="manifest.xml" />
<Extensions>
<code_completion />
<envvars />
<debugger />
</Extensions>
</Project>
</CodeBlocks_project_file>