Page 1 of 2

Add CodeLite SDK in install

Posted: Wed Mar 03, 2010 11:14 pm
by jfouche
Hello Eran

Are you interrested by a patch that allow to install CodeLite SDK during install? That allows the developpers to create plugin without downloading source code and recompiling everything. I just have to add a new component in ISS script and add libs and headers with this component.
As I have a old computer, and use trunk revision, when I want to deliver my plugin, I need to update to the good revision, and recompile everything (which take about 1 hour on my computer), it will be helpfull for me.

Re: Add CodeLite SDK in install

Posted: Thu Mar 04, 2010 9:23 am
by eranif
Sounds like a good idea.
There are 3 ISS files, each packages a different Windows installer (standalone, mingw+codelite and mingw+wx+codelite)
Adding this to the installer I suspect will increase its size... so this is what I suggest:

Lets try and package it along with the installer, and see how it affects the package size. If the package size is doubled, I prefer to package it as a standalone package

What do you think?

Eran

Re: Add CodeLite SDK in install

Posted: Thu Mar 04, 2010 2:25 pm
by kspes
IMHO, it's not a big deal to compile codelite, and only a handful of developers would need the SDK.

Re: Add CodeLite SDK in install

Posted: Thu Mar 04, 2010 11:16 pm
by jfouche
Eran

I tried on the minimal lite_editor.iss, and the size increase by about 2 Mb.
I encounter a problem : why is the ./config/debugger.xml file not under SVN ? I took the one provided in my own installation.
Moreover, I just added the following includes :
- Interfaces/*.h
- CodeLite/*.h
- Plugin/*.h
- LiteEditor/*.h

I need to check if I have to add some sdk headers also (wxSQLite3, wxScintilla).

Re: Add CodeLite SDK in install

Posted: Thu Mar 04, 2010 11:37 pm
by eranif
jfouche wrote:I encounter a problem : why is the ./config/debugger.xml file not under SVN ? I took the one provided in my own installation.
codelite is using debuggers.xml.default

The debuggers.xml is the user's file, if it is missing, codelite will create a copy from the .default one
jfouche wrote:I need to check if I have to add some sdk headers also (wxSQLite3, wxScintilla).
You will need to include them.

Btw, are you packaging the binaries as well? or just the sources?

Eran

Re: Add CodeLite SDK in install

Posted: Fri Mar 05, 2010 12:04 pm
by jfouche
I added also lib/gcc_lib/*.a
I'll test this evening.

Re: Add CodeLite SDK in install

Posted: Fri Mar 05, 2010 12:10 pm
by eranif
Should we pack both debug and release? (I vote for both)

Eran

Re: Add CodeLite SDK in install

Posted: Fri Mar 05, 2010 12:34 pm
by jfouche
I agree (even if I didn't try with debug static lib embed in the installer). I'll tell you how much the size is increased with all those new libs / headers.

Re: Add CodeLite SDK in install

Posted: Sat Mar 06, 2010 1:32 am
by jfouche
OK : I have a 23 MB installer for LiteEditor. What do you think ? Create a (or 3) new iss file to embed SDK ?

Re: Add CodeLite SDK in install

Posted: Sat Mar 06, 2010 9:56 am
by eranif
I think we should add a separate installer for the SDK

Eran