Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » When .project is changed, how do I update the makefile on CLI ?
When .project is changed, how do I update the makefile on CLI ? [message #1777239] Mon, 27 November 2017 11:21
Hiroki Gotoh is currently offline Hiroki GotohFriend
Messages: 1
Registered: November 2017
Junior Member
Hi,

I try to compile c++ project on CLI.
I know that the following commands work well.

$ eclipse --launcher.suppressErrors -nosplash \
-application org.eclipse.cdt.managedbuilder.core.headlessbuild \
-data xxx \
-import yyy

$ eclipse --launcher.suppressErrors -nosplash \
-application org.eclipse.cdt.managedbuilder.core.headlessbuild \
-data xxx \
-cleanBuild all

However, happens compile error under the following conditions.

1: use "virtual folder" to link the source files.
2: .project has been update by svn or git. (change content is "remove some linked source files")

The cause is that an incorrect makefile is generated. (see attatchment file)
I tried to resolve this problem, but not.

I would like advice on solutions.
Thanks.

<Environment>
OS: Ubuntu 14.04
Eclipse: Oxygen or Mars
CDT: latest (v9.3.2.201709131603)
  • Attachment: example.zip
    (Size: 2.58KB, Downloaded 14 times)

[Updated on: Thu, 30 November 2017 06:33]

Report message to a moderator

Previous Topic:How to link dynamic/shared libraries in eclipse?
Next Topic:Exexeutable file issues
Goto Forum:
  


Current Time: Tue Dec 12 14:20:02 GMT 2017

Powered by FUDForum. Page generated in 0.01472 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software