This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

compile project from Command Line



hi,

I am using CCSv4 for my project and I am able to compile the project from command line by giving workspace information.

But my requirement is to delink the workspace information and compile just the project. 

Can anybody help me in providing the command to compile the project without providing the workspace information.

The folder that is provided to -data option contains .cdtproject .project .cdtbuild and .ccsproject files.

- Murali.

  • You need to specify a workspace to build a CCSv4 project from the command line using the CCS command line build functionality. If you wish to avoid using a workspace, you can create a standard makefile for your project and use make.

    ki

  • Thanks lee for the quick response.

  • Hi,

    Ki-Soo Lee said:

    If you wish to avoid using a workspace, you can create a standard makefile for your project and use make.

    Is it true that the makefile has to be created and maintained manually? Or is there a feature to create a makefile out of a CCS project?

    I have all parts of my project checked into a sourcecode repository. I build it on a buildserver, this has to be done command line based (because it is automated for software releases and software tests). On my main PC I use CCS to develop and debug the application. Do I really have to checkin the Eclipse workspace in order to build my project on the buildserver? Why are the project files itself not enough to build the project?

    One thing that would be problem for me is to have the CCS project and a makefile seperately. I dont want to have the information about compiler switches or what file is included in 2 locations because after some time there will be bugs - the project information will get 'out of sync'...

    Is there a way to build a CCS 5.1 project from command line without an Eclipse workspace? on another PC than where the project was created, where the source tree of the project is located on a different path?

    bye,

    Thomas