-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathCbProjectFromCompileCommands_unix.cbp
More file actions
52 lines (52 loc) · 1.73 KB
/
CbProjectFromCompileCommands_unix.cbp
File metadata and controls
52 lines (52 loc) · 1.73 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
43
44
45
46
47
48
49
50
51
52
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<CodeBlocks_project_file>
<FileVersion major="1" minor="6" />
<Project>
<Option title="CbProjectFromCompileCommands" />
<Option pch_mode="2" />
<Option compiler="gcc" />
<Build>
<Target title="external_cb">
<Option output="CbProjectFromCompileCommands" prefix_auto="1" extension_auto="1" />
<Option object_output=".objs/default" />
<Option type="3" />
<Option compiler="gcc" />
<Compiler>
<Add option="-Wall" />
<Add option="-g" />
<Add option="`pkg-config --cflags codeblocks`" />
<Add option="`wx-config --cflags`" />
<Add option="-fno-gnu-unique" />
<Add directory="json/include" />
</Compiler>
<Linker>
<Add option="`pkg-config --libs codeblocks`" />
<Add option="`wx-config --libs`" />
</Linker>
<ExtraCommands>
<Add after="zip -j9 CbProjectFromCompileCommands.zip manifest.xml" />
<Add after="cp -f libCbProjectFromCompileCommands.so CbProjectFromCompileCommands.so" />
<Add after="zip -j9 CbProjectFromCompileCommands.cbplugin CbProjectFromCompileCommands.so CbProjectFromCompileCommands.zip" />
<Add after="rm -f CbProjectFromCompileCommands.so" />
<Mode after="always" />
</ExtraCommands>
</Target>
</Build>
<VirtualTargets>
<Add alias="All" targets="external_cb;" />
</VirtualTargets>
<Compiler>
<Add option="-std=c++11" />
<Add option="-fPIC" />
</Compiler>
<Linker>
<Add option="-Wl,--no-undefined" />
</Linker>
<Unit filename="CbProjectFromCompileCommands.cpp" />
<Unit filename="CbProjectFromCompileCommands.h" />
<Unit filename="manifest.xml" />
<Extensions>
<lib_finder disable_auto="1" />
</Extensions>
</Project>
</CodeBlocks_project_file>