Reviewed Code::Blocks project template
- Removed unnecesary files - Renamed project - Reviewed paths
This commit is contained in:
parent
b5b4da1d05
commit
cadcc05a84
@ -1,15 +1,16 @@
|
|||||||
# Raylib for Code::Blocks
|
# raylib for Code::Blocks
|
||||||
**By D3nX**<br />
|
**by D3nX**
|
||||||
<br/>
|
<br/>
|
||||||
Hey ! There is the template for use with Code::Blocks =)
|
Hey! Here it is a project template to use with `Code::Blocks` =)
|
||||||
<br/><br/>
|
<br/><br/>
|
||||||
First, you will need to download the raylib installer and run it from the raylib website (https://www.raylib.com).
|
First, you need to download the [raylib installer](https://www.raylib.com) and run it. It will install raylib with the compiler.
|
||||||
<br/><br/>
|
<br/><br/>
|
||||||
Then, download the template, and open the project from Code::Blocks
|
Then, download the template, and open the project with `Code::Blocks`.
|
||||||
And before running the template, make sure following set the raylib
|
|
||||||
compiler for the IDE as show below :
|
Before running the template, make sure following set the raylib compiler for the IDE as show below:
|
||||||
![alt text](https://github.com/D3nX/raylib/blob/master/projects/CodeBlocks/compiler_bg.png)
|
<br>
|
||||||
|
![Compiler Settings](compiler_settings.png)
|
||||||
<br/>
|
<br/>
|
||||||
Finally, you can run the program and enjoy raylib running on Code::Blocks !
|
Finally, you can run the program and enjoy raylib running on `Code::Blocks`!
|
||||||
<br /><br />
|
<br /><br />
|
||||||
Hope it helped you =)
|
Hope it helped you =)
|
||||||
|
Before Width: | Height: | Size: 70 KiB After Width: | Height: | Size: 70 KiB |
@ -2,12 +2,12 @@
|
|||||||
<CodeBlocks_project_file>
|
<CodeBlocks_project_file>
|
||||||
<FileVersion major="1" minor="6" />
|
<FileVersion major="1" minor="6" />
|
||||||
<Project>
|
<Project>
|
||||||
<Option title="raylib_codeblocks_tpl" />
|
<Option title="core_basic_window" />
|
||||||
<Option pch_mode="2" />
|
<Option pch_mode="2" />
|
||||||
<Option compiler="gcc" />
|
<Option compiler="gcc" />
|
||||||
<Build>
|
<Build>
|
||||||
<Target title="Debug">
|
<Target title="Debug">
|
||||||
<Option output="bin/Debug/raylib_codeblocks_tpl" prefix_auto="1" extension_auto="1" />
|
<Option output="bin/Debug/core_basic_window" prefix_auto="1" extension_auto="1" />
|
||||||
<Option object_output="obj/Debug/" />
|
<Option object_output="obj/Debug/" />
|
||||||
<Option type="1" />
|
<Option type="1" />
|
||||||
<Option compiler="gcc" />
|
<Option compiler="gcc" />
|
||||||
@ -16,32 +16,30 @@
|
|||||||
<Add directory="../../raylib/raylib/release/include" />
|
<Add directory="../../raylib/raylib/release/include" />
|
||||||
</Compiler>
|
</Compiler>
|
||||||
<Linker>
|
<Linker>
|
||||||
<Add option="-lraylib -lglfw3 -lopengl32 -lgdi32 -lopenal32 -lwinmm" />
|
<Add option="-lraylib -lopengl32 -lgdi32 -lwinmm" />
|
||||||
<Add library="../../raylib/MinGW/lib/libraylib.a" />
|
<Add library="../../../../raylib/raylib/release/libs/win32/mingw32/libraylib.a" />
|
||||||
<Add library="../../raylib/MinGW/lib/libraylibdll.a" />
|
|
||||||
</Linker>
|
</Linker>
|
||||||
</Target>
|
</Target>
|
||||||
<Target title="Release">
|
<Target title="Release">
|
||||||
<Option output="bin/Release/raylib_codeblocks_tpl" prefix_auto="1" extension_auto="1" />
|
<Option output="bin/Release/core_basic_window" prefix_auto="1" extension_auto="1" />
|
||||||
<Option object_output="obj/Release/" />
|
<Option object_output="obj/Release/" />
|
||||||
<Option type="1" />
|
<Option type="1" />
|
||||||
<Option compiler="gcc" />
|
<Option compiler="gcc" />
|
||||||
<Compiler>
|
<Compiler>
|
||||||
<Add option="-O2" />
|
<Add option="-O2" />
|
||||||
<Add directory="../../raylib/raylib/release/include" />
|
<Add directory="../../../../raylib/raylib/release/include" />
|
||||||
</Compiler>
|
</Compiler>
|
||||||
<Linker>
|
<Linker>
|
||||||
<Add option="-s" />
|
<Add option="-s" />
|
||||||
<Add option="-lraylib -lglfw3 -lopengl32 -lgdi32 -lopenal32 -lwinmm" />
|
<Add option="-lraylib -lopengl32 -lgdi32" />
|
||||||
<Add library="../../raylib/raylib/release/libs/win32/mingw32/libraylib.a" />
|
<Add library="../../../../raylib/raylib/release/libs/win32/mingw32/libraylib.a" />
|
||||||
<Add library="../../raylib/raylib/release/libs/win32/mingw32/libraylibdll.a" />
|
|
||||||
</Linker>
|
</Linker>
|
||||||
</Target>
|
</Target>
|
||||||
</Build>
|
</Build>
|
||||||
<Compiler>
|
<Compiler>
|
||||||
<Add option="-Wall" />
|
<Add option="-Wall -std=c99" />
|
||||||
</Compiler>
|
</Compiler>
|
||||||
<Unit filename="main.c">
|
<Unit filename="core_basic_window.c">
|
||||||
<Option compilerVar="CC" />
|
<Option compilerVar="CC" />
|
||||||
</Unit>
|
</Unit>
|
||||||
<Extensions>
|
<Extensions>
|
Binary file not shown.
Binary file not shown.
@ -1,6 +0,0 @@
|
|||||||
# depslib dependency file v1.0
|
|
||||||
1531496075 source:c:\programmation c\raylib_codeblocks_tpl\main.c
|
|
||||||
"raylib.h"
|
|
||||||
|
|
||||||
1508702984 c:\raylib\raylib\release\include\raylib.h
|
|
||||||
|
|
@ -1,10 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
|
|
||||||
<CodeBlocks_layout_file>
|
|
||||||
<FileVersion major="1" minor="0" />
|
|
||||||
<ActiveTarget name="Release" />
|
|
||||||
<File name="main.c" open="1" top="1" tabpos="1" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
|
|
||||||
<Cursor>
|
|
||||||
<Cursor1 position="848" topLine="0" />
|
|
||||||
</Cursor>
|
|
||||||
</File>
|
|
||||||
</CodeBlocks_layout_file>
|
|
Loading…
Reference in New Issue
Block a user