-
Notifications
You must be signed in to change notification settings - Fork 466
/
BuildInfo.txt
89 lines (56 loc) · 2.42 KB
/
BuildInfo.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
//--------------------------------------------
// 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