Page 1 of 1

Build a codelite project from the command line

Posted: Wed Oct 10, 2012 11:01 pm
by dayoung
I want to integrate a codelite project into a cruise control build system. Is there any way to build a codelite project from the command line? similar to how msbuild.exe can build a Visual Studio project/solution from command line.

I tried searching the forum with no success.

thanks
-dayoung

Re: Build a codelite project from the command line

Posted: Wed Oct 10, 2012 11:10 pm
by eranif
dayoung wrote:I want to integrate a codelite project into a cruise control build system. Is there any way to build a codelite project from the command line? similar to how msbuild.exe can build a Visual Studio project/solution from command line.

I tried searching the forum with no success.

thanks
-dayoung
You can't do that atm. Please open a feature request for this at source forge

Eran

Re: Build a codelite project from the command line

Posted: Tue Sep 17, 2013 9:45 pm
by eranif
Resurrecting an old thread, however:
in git head there is a new binary named 'codelite-make' which generates the makefile + outputs the command line to use for compiling the workspace (similar to the command that codelite runs when user hits F7)
Here is its usage:
Usage: codelite-make [/h] /w <str> /c <str> [/p <str>] [/v]
/h, --help show this help message
/w, --workspace=<str> codelite workspace file
/c, --config=<str> configuration name to generate
/p, --project=<str> project to build, if non given codelite will build the active project
/v, --verbose Run in verbose print all log to the stdout/stderr
Eran