Eclipse project configuration screenshots: Difference between revisions
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
[[File:Eclipse debug vars.jpg|200px|thumb|left| | [[File:Eclipse debug vars.jpg|200px|thumb|left|debug vars]] | ||
[[File:Eclipse release vars.png|200px|thumb| | [[File:Eclipse release vars.png|200px|thumb|right|release vars]] | ||
[[File:Eclipse debug env.png|thumb]] | [[File:Eclipse debug env.png|200px|thumb|left|debug env]] | ||
[[File:Eclipse release env.png|thumb]] | [[File:Eclipse release env.png|200px|thumb|right|release env]] | ||
[[File:Eclipse run debug arg.png|thumb]] | [[File:Eclipse run debug arg.png|200px|thumb|left|run debug arg]] | ||
[[File:Eclipse run debug env.png|thumb]] | [[File:Eclipse run release arg.png|200px|thumb|right|run release arg]] | ||
[[File:Eclipse run debug main.png|thumb]] | |||
[[File:Eclipse run debug env.png|200px|thumb|left|run debug env]] | |||
[[File:Eclipse run release env.png|200px|thumb|right|run release env]] | |||
[[File:Eclipse run debug main.png|200px|thumb|left|run debug main]] | |||
[[File:Eclipse run release main.png|200px|thumb|right|run release main]] | |||
To use the right boost folders, set all this up: | To use the right boost folders, set all this up: | ||
Revision as of 15:20, 28 December 2015
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