FAQ Compiling on Eclipse in Linux
What you should know
- Using Eclipse
- Using Eclipse CDT
How to do
In Eclipse, create a managed C++ project.
In project properties > C/C++ Build > Configuration Setting > Tool Settings > GCC C++ Compiler > Miscellaneos > Other flags, append `sdl-config --cflags`
In project properties > C/C++ Build > Configuration Setting > Tool Settings > GCC C++ Linker > Miscellaneos > Linker flags, add `sdl-config --libs`
Write your code and compile it.
