Skip to content

Commit e6d9407

Browse files
committed
增加codeblocks工程;增加发布脚本
1 parent 21b8008 commit e6d9407

File tree

5 files changed

+105
-0
lines changed

5 files changed

+105
-0
lines changed

finderror/finderror.cbp

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
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="finderror" />
6+
<Option pch_mode="2" />
7+
<Option compiler="gcc" />
8+
<Build>
9+
<Target title="Debug">
10+
<Option output="bin/Debug/finderror" prefix_auto="1" extension_auto="1" />
11+
<Option object_output="obj/Debug/" />
12+
<Option type="1" />
13+
<Option compiler="gcc" />
14+
<Compiler>
15+
<Add option="-g" />
16+
</Compiler>
17+
</Target>
18+
<Target title="Release">
19+
<Option output="bin/Release/finderror" prefix_auto="1" extension_auto="1" />
20+
<Option object_output="obj/Release/" />
21+
<Option type="1" />
22+
<Option compiler="gcc" />
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="-Wall" />
33+
<Add option="-fexceptions" />
34+
</Compiler>
35+
<Unit filename="finderror.cpp" />
36+
<Extensions>
37+
<code_completion />
38+
<envvars />
39+
<debugger />
40+
<lib_finder disable_auto="1" />
41+
</Extensions>
42+
</Project>
43+
</CodeBlocks_project_file>

vc-config-gen/vc-config-gen.cbp

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
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="vc-config-gen" />
6+
<Option pch_mode="2" />
7+
<Option compiler="gcc" />
8+
<Build>
9+
<Target title="Debug">
10+
<Option output="bin/Debug/vc-config-gen" prefix_auto="1" extension_auto="1" />
11+
<Option object_output="obj/Debug/" />
12+
<Option type="1" />
13+
<Option compiler="gcc" />
14+
<Compiler>
15+
<Add option="-g" />
16+
</Compiler>
17+
</Target>
18+
<Target title="Release">
19+
<Option output="bin/Release/vc-config-gen" prefix_auto="1" extension_auto="1" />
20+
<Option object_output="obj/Release/" />
21+
<Option type="1" />
22+
<Option compiler="gcc" />
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="-Wall" />
33+
<Add option="-fexceptions" />
34+
<Add directory="$(libs4mingw)/boost/include" />
35+
</Compiler>
36+
<Unit filename="pch.cpp" />
37+
<Unit filename="pch.h" />
38+
<Unit filename="vc-config-gen.cpp" />
39+
<Extensions>
40+
<code_completion />
41+
<envvars />
42+
<debugger />
43+
<lib_finder disable_auto="1" />
44+
</Extensions>
45+
</Project>
46+
</CodeBlocks_project_file>

windows-publish/.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
*.zip
2+
*.7z
3+
*-prebuilt-bin
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
@ECHO OFF
2+
RMDIR /s /q cpp-mingw-prebuilt-bin
3+
MD cpp-mingw-prebuilt-bin
4+
COPY ..\bin\ReleaseStatic\*.exe cpp-mingw-prebuilt-bin
5+
COPY ..\finderror\bin\Release\*.exe cpp-mingw-prebuilt-bin
6+
COPY ..\vc-config-gen\bin\Release\*.exe cpp-mingw-prebuilt-bin
7+
COPY ..\minised\*.exe cpp-mingw-prebuilt-bin
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
@ECHO OFF
2+
RMDIR /s /q cpp-vc-prebuilt-bin
3+
MD cpp-vc-prebuilt-bin
4+
COPY ..\Release\*.exe cpp-vc-prebuilt-bin
5+
COPY ..\Release\*.dll cpp-vc-prebuilt-bin
6+
COPY ..\minised\*.exe cpp-vc-prebuilt-bin

0 commit comments

Comments
 (0)