summaryrefslogtreecommitdiff
path: root/tools/template.cbp
diff options
context:
space:
mode:
authoraozima <[email protected]>2013-06-16 23:18:16 +0800
committeraozima <[email protected]>2013-06-16 23:18:16 +0800
commitfd289ff34f7006e8d9932e83e6eef2afdc601f5f (patch)
tree15b1d49884c0f93f38952e3ff45388d695b581c3 /tools/template.cbp
parent7eb4120a8577ac28fc8fedfec9d1eb1976c60db6 (diff)
add a default codeblocks template.
Diffstat (limited to 'tools/template.cbp')
-rw-r--r--tools/template.cbp41
1 files changed, 41 insertions, 0 deletions
diff --git a/tools/template.cbp b/tools/template.cbp
new file mode 100644
index 0000000000..ac21c8b54d
--- /dev/null
+++ b/tools/template.cbp
@@ -0,0 +1,41 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
+<CodeBlocks_project_file>
+ <FileVersion major="1" minor="6" />
+ <Project>
+ <Option title="project" />
+ <Option pch_mode="2" />
+ <Option compiler="gcc" />
+ <Build>
+ <Target title="Debug">
+ <Option output="build/bin/Debug/project" prefix_auto="1" extension_auto="1" />
+ <Option object_output="build/obj/Debug/" />
+ <Option type="1" />
+ <Option compiler="gcc" />
+ <Compiler>
+ <Add option="-g" />
+ </Compiler>
+ </Target>
+ <Target title="Release">
+ <Option output="build/bin/Release/project" prefix_auto="1" extension_auto="1" />
+ <Option object_output="build/obj/Release/" />
+ <Option type="1" />
+ <Option compiler="gcc" />
+ <Compiler>
+ <Add option="-O2" />
+ </Compiler>
+ <Linker>
+ <Add option="-s" />
+ </Linker>
+ </Target>
+ </Build>
+ <Compiler>
+ <Add option="-Wall" />
+ </Compiler>
+ <Extensions>
+ <code_completion />
+ <envvars />
+ <debugger />
+ <lib_finder disable_auto="1" />
+ </Extensions>
+ </Project>
+</CodeBlocks_project_file>