Eclipse CDT
Jump to navigation
Jump to search
Eclipse CDT installation
wget http://eclipse.c3sl.ufpr.br/technology/epp/downloads/release/juno/R/eclipse-cpp-juno-linux-gtk-x86_64.tar.gz cd /home/shared/opt/software tar -xzf /home/MYHOME/eclipse-cpp-juno-linux-gtk-x86_64.tar.gz mv eclipse eclipse-cpp-juno-linux-gtk-x86_64 cd .. ln -s software/eclipse-cpp-juno-linux-gtk-x86_64 eclipse_cpp ./eclipse_cpp/eclipse
- Workspace: "/home/MYHOME/eclipse/cpp" # check 'use this as the default'
How to Create an external Makefile project
- File -> New -> C++ Project # choose Makefile empty project with Linux GCC toolchain
- Project Name: "TestPrimeNumber"
- Location: "/home/shared/develop/projects/Testing/IDE/eclipse/TestPrimeNumber"
- ProjectExplorer -> TestPrimeNumber -> New -> Folder
- Advanced -> Link to alternate location -> "/home/shared/develop/projects/Testing/TestPrimeNumber"
- ProjectExplorer -> TestPrimeNumber -> New -> File
- File name: "Makefile"
- >>BUILD_PATH=/home/shared/develop/projects/Testing/TestPrimeNumber
- >>
- >>all:
- >> make -C $(BUILD_PATH) $(MAKECMDGOALS);
- >>clean:
- >> make -C $(BUILD_PATH) $(MAKECMDGOALS);
Makefile
I like Cmake to solve compilation issues, but any makefile will work great.
External tools
- External tools (DDD)