| Summary: | Non-default build commands not actually executed in Linux | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Tools] CDT | Reporter: | Josh Davidson <josh.davidson> | ||||
| Component: | cdt-build | Assignee: | cdt-build-inbox <cdt-build-inbox> | ||||
| Status: | NEW --- | QA Contact: | Jonah Graham <jonah> | ||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | aegges, cdtdoug | ||||
| Version: | 8.1.0 | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | PC | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Josh Davidson
Created attachment 208708 [details]
Screenshot of how things are setup. This is from Windows, but setup is basically identical in Linux
(In reply to comment #0) I think you misinterpreted the setup. In "Build command" you should insert your actual build command. On the behavior tab you insert the "make targets" that are used for incremental build/clean etc. Eclipse will then call "BUILD_COMMAND MAKE_TARGET" So MAKE_TARGET is a kind of argument (the syntax is borrowed from original make). In your case where you defined no build command you will get the following command line: python setup.py bdist_egg --plat-name=linux64 build_ext build --build-platlib=build/linux64 Notice the space at the beginning which prevents the execution of this command. I don't know why this works under Windows but the principal behavior of Eclipse is identical. see Help page http://help.eclipse.org/indigo/index.jsp?topic=%2Forg.eclipse.cdt.doc.user%2Freference%2Fcdt_u_prop_build.htm Your setup is a little tricky as you have different commands for build and clean. You could try to create a small Makefile has two possible make targets for build and clean. |