代码拉取完成,页面将自动刷新
//--------------------------------------------
// Linux/Mac/FreeBSD
//--------------------------------------------
The build for Linux/Mac/FreeBSD uses the default Linux build:
from the trunk/ directory, run:
Pre-requisits:
Mac: wxWidgets 2.9.5 or later
Linux/FreeBSD: wxWidgets 2.9.5 or later, gtk2 development package, cmake
Building:
//-----------------------------------------------------
// Linux/FreeBSD
//-----------------------------------------------------
In the CodeLite source dir, do:
mkdir build-release
cd build-release
cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release ..
make
(Become the superuser)
make install
There are various other options that you could pass to cmake. See CMakeLists.txt for the commonest.
//-----------------------------------------------------
// Windows: MinGW
//-----------------------------------------------------
To build:
Download CodeLite for Windows + wxWidgets development 2.9.5 from here: (2 installers ):
https://sourceforge.net/projects/codelite/files/Releases/
Install them - it is recommended to _accept_ the default options suggested by the installer
Step 1:
Load the workspace codelite-sources/LiteEditor.workspace - and hit 'F7'
** Make sure that the active project (bold text) is set to "CodeLiteIDE" **
Step 2:
Close the current workspace
Load the workspace codelite-sources/codelite_utils/codelite_utils.workspace
Step 3:
Select the 'Release' configuration and build it using F7
Once build is done, you can copy the files to the target directory by running the script:
codelite-sources/Runtime/update.bat
**** Note that you may need to update the script to point it to the codelite installation directory ****
//---------------------------------------------------------
// MacOSX
//---------------------------------------------------------
You should have wxWidgets 2.9.5 or higher
To build wx under Mac, download the latest source package and build it as follows:
$> cd wx-sources/
$> mkdir build-release
$> cd build-release
$> ../configure --disable-debug --with-osx_cocoa --enable-shared --enable-monolithic
$> make -j4
$> sudo make install
Next, build codelite:
$> cd codelite-src/
$> ./mac-build.sh --cmake
... codelite will compile and will create a bundle, to run it:
$> open build-release/pack/codelite.app/
Enjoy,
Eran
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。