Add initial project template for CodeBlocks IDE

This commit is contained in:
Valeriy Koval
2016-03-29 18:37:22 +03:00
parent b5366f9d2f
commit b67acfec9c

View File

@ -0,0 +1,57 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<CodeBlocks_project_file>
<FileVersion major="1" minor="6" />
<Project>
<Option title="{{project_name}}" />
<Option makefile_is_custom="1" />
<Option pch_mode="2" />
<Option compiler="gcc" />
<MakeCommands>
<Build command="platformio -f -c codeblocks run" />
<CompileFile command="platformio -f -c codeblocks run" />
<Clean command="platformio -f -c codeblocks run -t clean" />
<DistClean command="platformio -f -c codeblocks run -t clean" />
<AskRebuildNeeded command="1" />
<SilentBuild command="platformio -f -c codeblocks run &gt; $(CMD_NULL)" />
</MakeCommands>
<Build>
<Target title="Debug">
<Option type="1" />
<Option compiler="gcc" />
<Option use_console_runner="0" />
<MakeCommands>
<Build command="platformio -f -c codeblocks run" />
<CompileFile command="platformio -f -c codeblocks run" />
<Clean command="platformio -f -c codeblocks run -t clean" />
<DistClean command="platformio -f -c codeblocks run -t clean" />
<AskRebuildNeeded command="1" />
<SilentBuild command="platformio -f -c codeblocks run &gt; $(CMD_NULL)" />
</MakeCommands>
</Target>
<Target title="Release">
<Option type="1" />
<Option compiler="gcc" />
<Option use_console_runner="0" />
<MakeCommands>
<Build command="platformio -f -c codeblocks run" />
<CompileFile command="platformio -f -c codeblocks run" />
<Clean command="platformio -f -c codeblocks run -t clean" />
<DistClean command="platformio -f -c codeblocks run -t clean" />
<AskRebuildNeeded command="1" />
<SilentBuild command="platformio -f -c codeblocks run &gt; $(CMD_NULL)" />
</MakeCommands>
</Target>
</Build>
<Compiler>
% for define in defines:
<Add option="-D{{define}}"/>
% end
% for include in includes:
<Add directory="{{include.replace("\\", "/")}}"/>
% end
</Compiler>
% for file in src_files:
<Unit filename="{{file.replace("\\", "/")}}"></Unit>
% end
</Project>
</CodeBlocks_project_file>