Commit d070f551 authored by Eric Bruneton's avatar Eric Bruneton
Browse files

Fix CodeBlocks project file for Linux.

parent 26a662c2
...@@ -39,7 +39,12 @@ ...@@ -39,7 +39,12 @@
</Compiler> </Compiler>
<Linker> <Linker>
<Add option="-pg" /> <Add option="-pg" />
<Add library="pthread" />
<Add library="rt" />
<Add library="GLEW" />
<Add library="glut" /> <Add library="glut" />
<Add library="GLU" />
<Add library="GL" />
</Linker> </Linker>
</Target> </Target>
<Target title="Release"> <Target title="Release">
...@@ -111,10 +116,12 @@ ...@@ -111,10 +116,12 @@
</Compiler> </Compiler>
<Linker> <Linker>
<Add option="-pg" /> <Add option="-pg" />
<Add library="glut" />
<Add library="pthread" /> <Add library="pthread" />
<Add library="rt" /> <Add library="rt" />
<Add directory="$(#glut)" /> <Add library="GLEW" />
<Add library="glut" />
<Add library="GLU" />
<Add library="GL" />
</Linker> </Linker>
</Target> </Target>
<Target title="Examples"> <Target title="Examples">
...@@ -173,12 +180,14 @@ ...@@ -173,12 +180,14 @@
<Add option="-pg" /> <Add option="-pg" />
<Add library="pthread" /> <Add library="pthread" />
<Add library="rt" /> <Add library="rt" />
<Add directory="$(#glut)" /> <Add library="GLEW" />
<Add library="glut" />
<Add library="GLU" />
<Add library="GL" />
</Linker> </Linker>
</Target> </Target>
</Build> </Build>
<Compiler> <Compiler>
<Add option="-march=i686" />
<Add option="-pedantic-errors" /> <Add option="-pedantic-errors" />
<Add option="-pedantic" /> <Add option="-pedantic" />
<Add option="-Wall" /> <Add option="-Wall" />
...@@ -196,9 +205,6 @@ ...@@ -196,9 +205,6 @@
<Add option="-D$(#glut.cflags)" /> <Add option="-D$(#glut.cflags)" />
<Add directory="libraries" /> <Add directory="libraries" />
</Compiler> </Compiler>
<Linker>
<Add option="$(#glew)" />
</Linker>
<Unit filename="examples/Main.cpp"> <Unit filename="examples/Main.cpp">
<Option target="Examples" /> <Option target="Examples" />
<Option target="Examples_UNIX" /> <Option target="Examples_UNIX" />
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment