Remote build

General questions regarding the usage of CodeLite
khancyr
CodeLite Curious
Posts: 2
Joined: Mon Jul 21, 2014 1:33 pm
Genuine User: Yes
IDE Question: c++
Contact:

Remote build

Post by khancyr »

Hi,

I am a new user of Codelite.
I can't find an anwser to the question : it is possible to make remote build with codelite?
I want to remote build from windows to linux.
User avatar
eranif
CodeLite Plugin
Posts: 6367
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Remote build

Post by eranif »

If you have codelite installed on the remote machine, you can use the

Code: Select all

codelite-make
utility which does not require a running X server
and can build a codelite workspace

Eran
Make sure you have read the HOW TO POST thread
khancyr
CodeLite Curious
Posts: 2
Joined: Mon Jul 21, 2014 1:33 pm
Genuine User: Yes
IDE Question: c++
Contact:

Re: Remote build

Post by khancyr »

Thanks for your answer!

But how to use this function ?

I setup codelite on both computer.
I create the same workspace and synchronise with sftp.
Then how do I use codelite-make from my computer to lauch build on the other?

Otherwise Plink solution is working. I will finish my test and post a how to solution for Plink. It can usefull for other specially for beaglebone black or raspberry pi
User avatar
eranif
CodeLite Plugin
Posts: 6367
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Remote build

Post by eranif »

Its not a function.
Its a command line utility:

Code: Select all

eran@eran-linux ~ $ codelite-make
The value for the option 'w (or workspace)' must be specified.
Usage: codelite-make [-h] -w <str> -c <str> [-d <str>] [-p <str>] [-v] [-e]
  -h, --help            show this help message
  -w, --workspace=<str> codelite workspace file
  -c, --config=<str>    configuration name to generate
  -d, --command=<str>   which command to run? possible values: build, clean or rebuild. The default is to build
  -p, --project=<str>   project to build, if non given codelite will build the active project
  -v, --verbose         Run in verbose move and print all log lines to the stdout/stderr
  -e, --execute         Instead of printing the command line, execute it
A makefile generator based on codelite's workspace
eran@eran-linux ~ $ 
Eran
Make sure you have read the HOW TO POST thread
Post Reply