Development reference: Difference between revisions
No edit summary |
No edit summary |
||
Line 466: | Line 466: | ||
/etc/init.d/apache restart | /etc/init.d/apache restart | ||
|} | |} | ||
{| class="mw-collapsible mw-collapsed wikitable" | |||
! Eclipse debug and release env var settings | |||
|- | |||
| eclipse env settings: | |||
* Set up build-Debug and build-Release folders via bootstrap force [debug|release], then configure build configurations for them both | |||
* To use the right boost folders, set all this up: | |||
Project->Settings->C++ Build->Build vars-> | |||
Debug: | |||
CPPFLAGS: $CPPFLAGS | |||
LDFLAGS: $DEBUG_LDFLAGS | |||
CFLAGS: -ggdb3 -O0 | |||
CXXFLAGS: -ggdb3 -O0 | |||
Release: | |||
CPPFLAGS: $CPPFLAGS | |||
LDFLAGS: $RELEASE_LDFLAGS | |||
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 | |||
|} | |||
{| class="mw-collapsible mw-collapsed wikitable" | {| class="mw-collapsible mw-collapsed wikitable" | ||
! eclipse settings | ! eclipse settings | ||
Line 477: | Line 502: | ||
ln -s /home/m/development/config/common/home/m/development/eclipse-workspace/.metadata/.plugins/org.eclipse.core.runtime/.settings/* . | ln -s /home/m/development/config/common/home/m/development/eclipse-workspace/.metadata/.plugins/org.eclipse.core.runtime/.settings/* . | ||
That should get you configured very well. Here are some of the settings that are used: | That should get you configured very well. Here are some of the settings that are used: | ||
* Annoyances: | * Annoyances: | ||
** To get problems to reset on build, I had to turn on (for all configs, then exit/restart): Project->Properties->C++ Build->Settings->Error Parsers-> [x] GNU gmake Error Parser 7 | ** To get problems to reset on build, I had to turn on (for all configs, then exit/restart): Project->Properties->C++ Build->Settings->Error Parsers-> [x] GNU gmake Error Parser 7 |
Revision as of 05:06, 6 July 2015
Expandc++11 Model View Controller skeleton |
---|
Expandc++11 containers |
---|
Expandc++11 example for large groups of objects with frequent crud AND search |
---|
Expandc++11 example for large groups of objects with infrequent crud and frequent search |
---|
Expandc++11 example to associate two complex objects (one the map key, one the map value) |
---|
Expandc++11 example for multiple unordered_set indexes into one group of objects |
---|
Expandc++11 example for set with specific sorting |
---|
Expandc++11 loop through vector to erase some items |
---|
Expandc++11 range based for loop, jacked with boost index if needed |
---|
Expandc++11 for loop using lambda |
---|
Expandc++11 integer types |
---|
ExpandC++11 scoped enumeration |
---|
Expandc++ in-memory storage of "major" objects |
---|
Expandc++ stl reverse iterator skeleton |
---|
Expandc++ stl reading a binary file into a string |
---|
ExpandC/C++ best-in-class tool selection |
---|
Expandc/c++ gdb debugging |
---|
ExpandC - Create a portable command line C project in Visual Studio |
---|
Expandc++ Create a portable C++ project in Visual Studio |
---|
Expandboost release and debug build for linux |
---|
Expandboost build for both 32 and 64 bit Windows |
---|
Expandphp debugging |
---|
ExpandEclipse debug and release env var settings |
---|
Expandeclipse settings |
---|
Expandeclipse java project layout format |
---|
Expandeclipse new project from existing code |
---|
Expandemacs configuration |
---|
ExpandSQL Server 2008+ proper upsert using MERGE |
---|
Expandgit use kdiff3 as difftool and mergetool |
---|
Expandgit create merge-to command |
---|
Expandgit shared repo |
---|
Expandgit create new branch on server, pull to client |
---|
Expandgit windows configure notepad++ editor |
---|
Expandgit pull when untracked files are in the way |
---|
Expandgit create new branch when untracked files are in the way |
---|
Expandgit fix push behavior - ONLY PUSH CURRENT doh |
---|
Expandgit recreate repo |
---|
Expandgit connect to origin after the fact |
---|
ExpandWindows command prompt FULL SCREEN |
---|
Expandbash chmod dirs |
---|
Web Services |
---|
Firefox Addon development |
---|
Expandmediawiki collapsible skeleton |
---|
Expandmediawiki collapsible example |
---|