mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-21 09:58:13 +00:00
UPD: INSTALL.txt
This commit is contained in:
parent
6c560062ce
commit
38fff2d2c1
2 changed files with 5 additions and 5 deletions
|
|
@ -8,12 +8,12 @@
|
|||
1) Из среды разработки Lazarus. В первую очередь необходимо установить компоненты из подкаталога components,
|
||||
для этого откройте Lazarus и выберите пункт меню "Компоненты -> Открыть файл пакета *.lpk ...", далее выберите файл
|
||||
components\KASToolBar\kascomp.lpk и в появившемся окне нажмите кнопку "Установить".
|
||||
Повторите тоже самое для файла пакета components\viewer\viewerpackage.lpk и components\CmdLine\cmdbox.lpk.
|
||||
Повторите тоже самое для файла пакета components\viewer\viewerpackage.lpk, components\CmdLine\cmdbox.lpk и components\gifanim\pkg_gifanim.lpk.
|
||||
После этого выберите пункт меню "Проект -> Открыть проект" и выберите файл doublecmd.lpi,
|
||||
далее выполните пункт меню "Запуск -> Собрать все"
|
||||
|
||||
2) С помощью командного файла _make.bat. Откройте данный файл в текстовом редакторе и пропишите в
|
||||
переменную lazpath, путь к каталогу Lazarus. Далее откройте командную строку,
|
||||
перейдите в каталог с исходниками DC и дайте команду:
|
||||
Windows: _make.bat all
|
||||
Linux: ./_make.sh all
|
||||
Windows: build.bat all
|
||||
Linux: ./build.sh all
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ After this download Lazarus. I use Lazarus 0.9.29 (or higher).
|
|||
|
||||
2) Using the IDE to develop and build DC.
|
||||
|
||||
If you want to use Lazarus IDE to develop Double Commander, first you have to install a few additional components all of which reside in components directory of DC sources. You must open each .lpk package file (cmdbox.lpk, kascomp.lpk, viewerpackage.lpk) and install it into Lazarus. Choose "No" when asked for rebuilding Lazarus after each package, and only rebuild when you have installed all of them.
|
||||
If you want to use Lazarus IDE to develop Double Commander, first you have to install a few additional components all of which reside in components directory of DC sources. You must open each .lpk package file (cmdbox.lpk, kascomp.lpk, viewerpackage.lpk, pkg_gifanim.lpk) and install it into Lazarus. Choose "No" when asked for rebuilding Lazarus after each package, and only rebuild when you have installed all of them.
|
||||
|
||||
After rebuilding Lazarus open the project file doublecmd.lpi (in directory src).
|
||||
|
||||
|
|
@ -20,6 +20,6 @@ There are two scripts that you can use to build DC from command line: _make.bat
|
|||
|
||||
To build DC without using the IDE you need a working lazbuild and lazres utilities (both are a part of Lazarus). Lazbuild should be in Lazarus directory set by <lazpath> and lazres should be in <lazpath>/tools. On Linux you may choose the target widgetset (GTK2 or QT4) by setting $LCL environment variable before executing the script to either gtk2 or qt, for example:
|
||||
|
||||
# LCL=qt ./_make.sh
|
||||
# LCL=qt ./build.sh
|
||||
|
||||
Execute the script to start the build process. Make sure you use all parameter if you're building for the first time, so that also components and plugins are built.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue