Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
AW: [cdt-dev] How to import an exist Makefile to a cdt-project?

Hello Lazy Fox :)

1. Create a C - Makefile project (assuming the working dir of the make is the project root folder)
2. Change the project properties:
2a) Go to C/C++ Build - Builder settings and uncheck "use default build command"
2b) Add the command line (without the target to build) that calls your make, e.g. c:\make\make -f makefile.mak -k
2c) Go to tab Behaviour and add your targets for running an incremental build, clean build and compile build (make sure "Build (Incremental Build)" is checked. Otherwise the build cannot be started at all.
3) If everything is configured properly you can run the make by executing the menu entry Project -> Build Project

-----Ursprüngliche Nachricht-----
Von: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx] Im Auftrag von Lazy Fox
Gesendet: Donnerstag, 28. Februar 2008 15:05
An: cdt-dev@xxxxxxxxxxx
Betreff: [cdt-dev] How to import an exist Makefile to a cdt-project?

I use eclipse-cpp-europa in Linux.
I want to change my C project to Eclipse. My project had already had a 
Makefile, but how can I import it to the cdt project? So Eclipse can use 
it to make my application?

-- 

_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev


Back to the top