Eclipse project configuration screenshots: Difference between revisions

From Bitpost wiki
No edit summary
No edit summary
Line 1: Line 1:
[[File:Eclipse debug vars.jpg]]
[[File:Eclipse release vars.png]]
[[File:Eclipse debug env.png]]
[[File:Eclipse debug env.png]]
[[File:Eclipse release env.png]]
[[File:Eclipse run debug arg.png]]
[[File:Eclipse run debug env.png]]
[[File:Eclipse run debug main.png]]


[[File:Eclipse debug vars.jpg]]
[[File:Eclipse run release arg.png]]
[[File:Eclipse release env.png]]
[[File:Eclipse run release env.png]]
[[File:Eclipse run release main.png]]


To use the right boost folders, set all this up:
To use the right boost folders, set all this up:

Revision as of 15:14, 28 December 2015

Eclipse debug vars.jpg Eclipse release vars.png

Eclipse debug env.png Eclipse release env.png

Eclipse run debug arg.png Eclipse run debug env.png Eclipse run debug main.png

Eclipse run release arg.png Eclipse run release env.png Eclipse run release main.png

To use the right boost folders, set all this up:

   Project->Properties->C++ Build

     RELEASE (create the fucker if needed)

       Build directory: ${workspace_loc:/Power Engine}/build-Release
       Build vars->
           CPPFLAGS: $CPPFLAGS
           LDFLAGS: $RELEASE_LDFLAGS

     DEBUG (create the fucker if needed)

       Build directory: ${workspace_loc:/Power Engine}/build-Debug
       Build vars->
           CPPFLAGS: $CPPFLAGS
           LDFLAGS: $DEBUG_LDFLAGS
           CFLAGS: -ggdb3 -O0
           CXXFLAGS: -ggdb3 -O0

   Run->Run configurations->C++ App->
       Debug:
           LD_LIBRARY_PATH: /home/m/development/boost_1_58_0/lib-debug/
           NOTE: you suck eclipse, this doesn't work: LD_LIBRARY_PATH: $DEBUG_LD_LIBRARY_PATH 
       Release:
           LD_LIBRARY_PATH: /home/m/development/boost_1_58_0/lib-release/
           NOTE: nope: LD_LIBRARY_PATH: $RELEASE_LD_LIBRARY_PATH