Add CodeLite SDK in install

Discussion about CodeLite development process and patches
jfouche
CodeLite Guru
Posts: 351
Joined: Mon Oct 20, 2008 7:26 pm
Genuine User: Yes
IDE Question: C++
Location: France
Contact:

Add CodeLite SDK in install

Post 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.
Jérémie
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Add CodeLite SDK in install

Post 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
Make sure you have read the HOW TO POST thread
User avatar
kspes
CodeLite Enthusiast
Posts: 41
Joined: Sat Jan 30, 2010 2:18 am
Genuine User: Yes
IDE Question: C++
Contact:

Re: Add CodeLite SDK in install

Post by kspes »

IMHO, it's not a big deal to compile codelite, and only a handful of developers would need the SDK.
jfouche
CodeLite Guru
Posts: 351
Joined: Mon Oct 20, 2008 7:26 pm
Genuine User: Yes
IDE Question: C++
Location: France
Contact:

Re: Add CodeLite SDK in install

Post 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).
Jérémie
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Add CodeLite SDK in install

Post 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
Make sure you have read the HOW TO POST thread
jfouche
CodeLite Guru
Posts: 351
Joined: Mon Oct 20, 2008 7:26 pm
Genuine User: Yes
IDE Question: C++
Location: France
Contact:

Re: Add CodeLite SDK in install

Post by jfouche »

I added also lib/gcc_lib/*.a
I'll test this evening.
Jérémie
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Add CodeLite SDK in install

Post by eranif »

Should we pack both debug and release? (I vote for both)

Eran
Make sure you have read the HOW TO POST thread
jfouche
CodeLite Guru
Posts: 351
Joined: Mon Oct 20, 2008 7:26 pm
Genuine User: Yes
IDE Question: C++
Location: France
Contact:

Re: Add CodeLite SDK in install

Post 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.
Jérémie
jfouche
CodeLite Guru
Posts: 351
Joined: Mon Oct 20, 2008 7:26 pm
Genuine User: Yes
IDE Question: C++
Location: France
Contact:

Re: Add CodeLite SDK in install

Post 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 ?
Jérémie
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Add CodeLite SDK in install

Post by eranif »

I think we should add a separate installer for the SDK

Eran
Make sure you have read the HOW TO POST thread
Post Reply