Eclipse project configuration screenshots: Difference between revisions
 (Created page with "To use the right boost folders, set all this up:     Project->Properties->C++ Build         RELEASE (create the fucker if needed)           Build directory: ${workspace_loc:/P...")  | 
				No edit summary  | 
				||
| (36 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
{|style="border-style: none";class="wikitable"  | |||
!colspan="4"|Debug  | |||
|-  | |||
| [[File:Eclipse debug vars.jpg|130px|thumb|center|debug vars]]  | |||
| [[File:Eclipse run debug main.png|130px|thumb|center|run debug main]]   | |||
| [[File:Eclipse run debug arg.png|130px|thumb|center|run debug arg]]   | |||
| [[File:Eclipse run debug env.png|130px|thumb|center|run debug env]]  | |||
|}  | |||
{|style="border-style: none";class="wikitable"  | |||
!colspan="4"|Release  | |||
|-  | |||
| [[File:Eclipse release vars.png|130px|thumb|center|release vars]]  | |||
| [[File:Eclipse run release main.png|130px|thumb|center|run release main]]  | |||
| [[File:Eclipse run release arg.png|130px|thumb|center|run release arg]]  | |||
| [[File:Eclipse run release env.png|130px|thumb|center|run release env]]  | |||
|}  | |||
To use the right boost folders, set all this up:  | To use the right boost folders, set all this up:  | ||
     Project->Properties->C++ Build  |      Project->Properties->C++ Build  | ||
| Line 21: | Line 41: | ||
         Debug:  |          Debug:  | ||
             LD_LIBRARY_PATH: /home/m/development/boost_1_58_0/lib-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    |              NOTE: you suck eclipse, making me hardcode it; this doesn't work: LD_LIBRARY_PATH: $DEBUG_LD_LIBRARY_PATH    | ||
         Release:  |          Release:  | ||
             LD_LIBRARY_PATH: /home/m/development/boost_1_58_0/lib-release/  |              LD_LIBRARY_PATH: /home/m/development/boost_1_58_0/lib-release/  | ||
             NOTE: nope: LD_LIBRARY_PATH: $RELEASE_LD_LIBRARY_PATH  |              NOTE: nope: LD_LIBRARY_PATH: $RELEASE_LD_LIBRARY_PATH  | ||
 NOTE that you do NOT have to set up LD_LIBRARY_PATH in the project ENV tab; in fact, it won't stick for RUN/DEBUG.  Don't bother with [[Media:Eclipse debug env.png|this]] or [[Media:Eclipse release env.png|this]].  | |||
Latest revision as of 21:58, 31 December 2015
| Debug | |||
|---|---|---|---|
| Release | |||
|---|---|---|---|
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, making me hardcode it; 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
NOTE that you do NOT have to set up LD_LIBRARY_PATH in the project ENV tab; in fact, it won't stick for RUN/DEBUG.  Don't bother with this or this.