Portable CodeLite
-
- CodeLite Guru
- Posts: 352
- Joined: Sun Nov 29, 2009 7:36 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Portable CodeLite
I have decided that in my little spare time I will try to make Codelite portable and compliant to http://www.portableapps.com
Any Ideas is welcomed but I need to know these things
1. What registry entry does Codelite write/read?
2. Is there a posibility to bundle wxWidgets and MINGW in way that codelite will look for reltive path to codelite like $(codeliteWorkingDir)/wxWidgets and $(codeliteWorkingDir)/MINGW?
4. What are codelite settings that are stored outside CL dir?
Thanks
Any Ideas is welcomed but I need to know these things
1. What registry entry does Codelite write/read?
2. Is there a posibility to bundle wxWidgets and MINGW in way that codelite will look for reltive path to codelite like $(codeliteWorkingDir)/wxWidgets and $(codeliteWorkingDir)/MINGW?
4. What are codelite settings that are stored outside CL dir?
Thanks
CodeLite 15.x
CodeLite is awesome, I just Love it!
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Portable CodeLite
There are 3 values read from the registry:evstevemd wrote:1. What registry entry does Codelite write/read?
KEY_CURRENT_USER\Software\CodeLite\mingw
KEY_CURRENT_USER\Software\CodeLite\wx
KEY_CURRENT_USER\Software\CodeLite\unittestpp
All points to the installation paths of the respective product.
There is, but it requires some code changesevstevemd wrote:2. Is there a posibility to bundle wxWidgets and MINGW in way that codelite will look for reltive path to codelite like $(codeliteWorkingDir)/wxWidgets and $(codeliteWorkingDir)/MINGW?
Noneevstevemd wrote:4. What are codelite settings that are stored outside CL dir?
Eran
Make sure you have read the HOW TO POST thread
-
- CodeLite Guru
- Posts: 352
- Joined: Sun Nov 29, 2009 7:36 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Portable CodeLite
So can you change the settings so that may be it looks for config file/subdirs in its CL directory so that when it finds it doesn't go to registry? Or just separate code for CL portable?
Are you willing ?
Are you willing ?
CodeLite 15.x
CodeLite is awesome, I just Love it!
-
- CodeLite Enthusiast
- Posts: 18
- Joined: Sun Apr 05, 2009 9:46 am
- Genuine User: Yes
- IDE Question: C++
- Location: Southern Russia
- Contact:
Re: Portable CodeLite
Nice idea, I would use portable CodeLite with pleasure.
-
- CodeLite Guru
- Posts: 352
- Joined: Sun Nov 29, 2009 7:36 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Portable CodeLite
Hi Eran,
what do you think of the above suggestions?
Can't I pass those paths as commandline arguments while starting CL so that CL will not bother with registry once it is started with some esoteric arguments?
That way will make CL portable a breeze water to drink!
what do you think of the above suggestions?
Can't I pass those paths as commandline arguments while starting CL so that CL will not bother with registry once it is started with some esoteric arguments?
That way will make CL portable a breeze water to drink!
CodeLite 15.x
CodeLite is awesome, I just Love it!
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Portable CodeLite
This sounds like a good and easy to implement ideaevstevemd wrote:an't I pass those paths as commandline arguments while starting CL so that CL will not bother with registry once it is started with some esoteric arguments?
Open a feature request for this, and I will implement it
We should add arguments like this:
Code: Select all
--mingw=[mingw install path] --wx=[wx install path]
Make sure you have read the HOW TO POST thread
-
- CodeLite Guru
- Posts: 352
- Joined: Sun Nov 29, 2009 7:36 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Portable CodeLite
Sure, whatever form of argument (That one is perfect too).
The *launcher* will read the path and pass to CL executable.
Note two things:
1. Path will always be relative to CL Dir
2. Empty path should be accepted for wxDir meaning that user doesn't need wxWidgets installed
The *launcher* will read the path and pass to CL executable.
Note two things:
1. Path will always be relative to CL Dir
2. Empty path should be accepted for wxDir meaning that user doesn't need wxWidgets installed
CodeLite 15.x
CodeLite is awesome, I just Love it!
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Portable CodeLite
codelite will not check for path full / relative (it does not care about) it is up to the user to call to the correct pathsevstevemd wrote:1. Path will always be relative to CL Dir
2. Empty path should be accepted for wxDir meaning that user doesn't need wxWidgets installed
Also, there is no such thing as 'does not need wxWidgets installed' - by passing the arguments to codelite, all it does is simply define 2 environment variables (WXWIN & WXCFG)
Eran
Make sure you have read the HOW TO POST thread
-
- CodeLite Guru
- Posts: 352
- Joined: Sun Nov 29, 2009 7:36 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Portable CodeLite
I mean't what if user uses CL for only C++ and no GUI (and hence wxWigets)? I proposed that empty value for WXWIN so that CL cannot complain that path was not provided! am I becoming confusing here?eranif wrote: Also, there is no such thing as 'does not need wxWidgets installed' - by passing the arguments to codelite, all it does is simply define 2 environment variables (WXWIN & WXCFG)
Eran
CodeLite 15.x
CodeLite is awesome, I just Love it!
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Portable CodeLite
codelite will not complain if anything is missing.
If its there, it will use it, if not - then it wont pretty simple
Eran
If its there, it will use it, if not - then it wont pretty simple
Eran
Make sure you have read the HOW TO POST thread