Add debug configuration for codelite projets
[bertos.git] / wizard / cltemplates / bertos.project
1 <?xml version="1.0" encoding="utf-8"?>
2 <CodeLite_Project Name="$project" InternalType="">
3 $filelist
4   <Description></Description>
5   <Dependencies/>
6   <Settings Type="Dynamic Library">
7     <Configuration Name="Debug" CompilerType="gnu g++" DebuggerType="GNU gdb debugger" Type="Dynamic Library">
8      <General OutputFile="" IntermediateDirectory="./Debug" Command="./images/$project.elf" CommandArguments="" WorkingDirectory="$(IntermediateDirectory)" PauseExecWhenProcTerminates="yes"/>
9       <Compiler Required="yes" Options="-g">
10         <IncludePath Value="."/>
11       </Compiler>
12       <Linker Required="yes" Options=""/>
13       <Debugger IsRemote="yes" RemoteHostName="localhost" RemoteHostPort="3333" DebuggerPath="$debuggerpath">
14         <PostConnectCommands>monitor soft_reset_halt
15 tbreak main</PostConnectCommands>
16         <StartupCommands></StartupCommands>
17       </Debugger>      
18       <ResourceCompiler Required="no" Options=""/>
19       <PreBuild/>
20       <PostBuild/>
21       <CustomBuild Enabled="yes">
22         <CleanCommand>make clean</CleanCommand>
23         <BuildCommand>make</BuildCommand>
24         <PreprocessFileCommand></PreprocessFileCommand>
25         <SingleFileCommand></SingleFileCommand>
26         <MakefileGenerationCommand></MakefileGenerationCommand>
27         <ThirdPartyToolName>None</ThirdPartyToolName>
28         <WorkingDirectory>$(WorkspacePath)</WorkingDirectory>
29       </CustomBuild>
30       <AdditionalRules>
31         <CustomPostBuild></CustomPostBuild>
32         <CustomPreBuild></CustomPreBuild>
33       </AdditionalRules>
34     </Configuration>
35     <Configuration Name="Release" CompilerType="gnu g++" DebuggerType="GNU gdb debugger" Type="Dynamic Library">
36       <General OutputFile="" IntermediateDirectory="./Release" Command="" CommandArguments="" WorkingDirectory="$(IntermediateDirectory)" PauseExecWhenProcTerminates="yes"/>
37       <Compiler Required="yes" Options="">
38         <IncludePath Value="."/>
39       </Compiler>
40       <Linker Required="yes" Options="-O2"/>
41       <Debugger IsRemote="no" RemoteHostName="" RemoteHostPort="" DebuggerPath="">
42         <PostConnectCommands></PostConnectCommands>
43         <StartupCommands></StartupCommands>
44       </Debugger>
45       <ResourceCompiler Required="no" Options=""/>
46       <PreBuild/>
47       <PostBuild/>
48       <CustomBuild Enabled="yes">
49         <CleanCommand>make clean</CleanCommand>
50         <BuildCommand>make</BuildCommand>
51         <PreprocessFileCommand></PreprocessFileCommand>
52         <SingleFileCommand></SingleFileCommand>
53         <MakefileGenerationCommand></MakefileGenerationCommand>
54         <ThirdPartyToolName>None</ThirdPartyToolName>
55         <WorkingDirectory>$(WorkspacePath)</WorkingDirectory>
56       </CustomBuild>
57       <AdditionalRules>
58         <CustomPostBuild></CustomPostBuild>
59         <CustomPreBuild></CustomPreBuild>
60       </AdditionalRules>
61     </Configuration>
62   </Settings>
63 </CodeLite_Project>