Skip to content

Commit ef926e4

Browse files
committed
C接口的Linux版本初步运行通过
1 parent 537d9ac commit ef926e4

2 files changed

Lines changed: 86 additions & 0 deletions

File tree

QuantBox_XAPI/QuantBox_XAPI.cbp

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
2+
<CodeBlocks_project_file>
3+
<FileVersion major="1" minor="6" />
4+
<Project>
5+
<Option title="QuantBox_XAPI" />
6+
<Option pch_mode="2" />
7+
<Option compiler="clang" />
8+
<Build>
9+
<Target title="Debug">
10+
<Option output="bin/Debug/libQuantBox_XAPI" prefix_auto="1" extension_auto="1" />
11+
<Option object_output="obj/Debug/" />
12+
<Option type="3" />
13+
<Option compiler="clang" />
14+
<Option createDefFile="1" />
15+
<Option createStaticLib="1" />
16+
<Compiler>
17+
<Add option="-g" />
18+
</Compiler>
19+
</Target>
20+
<Target title="Release">
21+
<Option output="bin/Release/libQuantBox_XAPI" prefix_auto="1" extension_auto="1" />
22+
<Option object_output="obj/Release/" />
23+
<Option type="3" />
24+
<Option compiler="clang" />
25+
<Option createDefFile="1" />
26+
<Option createStaticLib="1" />
27+
<Compiler>
28+
<Add option="-O2" />
29+
</Compiler>
30+
<Linker>
31+
<Add option="-s" />
32+
</Linker>
33+
</Target>
34+
</Build>
35+
<Compiler>
36+
<Add option="-Weverything" />
37+
<Add option="-fexceptions" />
38+
</Compiler>
39+
<Unit filename="main.cpp" />
40+
<Extensions>
41+
<code_completion />
42+
<debugger />
43+
</Extensions>
44+
</Project>
45+
</CodeBlocks_project_file>
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
2+
<CodeBlocks_project_file>
3+
<FileVersion major="1" minor="6" />
4+
<Project>
5+
<Option title="QuantBox_XAPI_TEST" />
6+
<Option pch_mode="2" />
7+
<Option compiler="clang" />
8+
<Build>
9+
<Target title="Debug">
10+
<Option output="bin/Debug/QuantBox_XAPI_TEST" prefix_auto="1" extension_auto="1" />
11+
<Option object_output="obj/Debug/" />
12+
<Option type="1" />
13+
<Option compiler="clang" />
14+
<Compiler>
15+
<Add option="-g" />
16+
</Compiler>
17+
</Target>
18+
<Target title="Release">
19+
<Option output="bin/Release/QuantBox_XAPI_TEST" prefix_auto="1" extension_auto="1" />
20+
<Option object_output="obj/Release/" />
21+
<Option type="1" />
22+
<Option compiler="clang" />
23+
<Compiler>
24+
<Add option="-O2" />
25+
</Compiler>
26+
<Linker>
27+
<Add option="-s" />
28+
</Linker>
29+
</Target>
30+
</Build>
31+
<Compiler>
32+
<Add option="-Weverything" />
33+
<Add option="-fexceptions" />
34+
</Compiler>
35+
<Unit filename="main.cpp" />
36+
<Extensions>
37+
<code_completion />
38+
<debugger />
39+
</Extensions>
40+
</Project>
41+
</CodeBlocks_project_file>

0 commit comments

Comments
 (0)