CodeLite 2.7 isn't portable anymore
Posted: Wed Sep 08, 2010 3:34 pm
Hi Eran,
I noticed you have changed a way how CL stores its config files. Now they are stored in standard user's data directory which is fine because the previous approach prevented CL from correct function under some paths in Windows Vista/7. The problem is that "environment_variables.xml" hasn't default template (*.default") so it is not possible to create default environment file using $(CodeLiteDir) variable and thus set MinGW/wxWidgets paths dynamically at the first CL's run. I'd like to use environment variables like follow:
but if I change "enviromnet_variables.xml" file located in path/to/CL/config/environment_variables.xml then a new environment file created under user's data dir contains following settings:
Moreover, proposed paths to wxWidgets and UnitTest packages don't exist on my system.
Best regards
Michal
I noticed you have changed a way how CL stores its config files. Now they are stored in standard user's data directory which is fine because the previous approach prevented CL from correct function under some paths in Windows Vista/7. The problem is that "environment_variables.xml" hasn't default template (*.default") so it is not possible to create default environment file using $(CodeLiteDir) variable and thus set MinGW/wxWidgets paths dynamically at the first CL's run. I'd like to use environment variables like follow:
Code: Select all
PATH=$(CodeLiteDir);$(CodeLiteDir)\MinGW-4.4.1\bin;$(CodeLiteDir)\wxWidgets-2.8.10\lib\gcc_dll;$(PATH)
WXCFG=gcc_dll\mswu
WXWIN=$(CodeLiteDir)\wxWidgets-2.8.10
UNIT_TEST_PP_SRC_DIR=$(CodeLiteDir)\UnitTest++-1.3
Code: Select all
CodeLiteDir=c:\Archive\CodeLite
WXWIN=C:\wxWidgets-2.8.10
PATH=$(WXWIN)\lib\gcc_dll;$(PATH)
WXCFG=gcc_dll\mswu
UNIT_TEST_PP_SRC_DIR=C:\UnitTest++-1.3
Best regards
Michal