Skip to content

Commit

Permalink
updated build instructions for macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
eranif committed Jul 18, 2024
1 parent ec12965 commit 34bb801
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 17 deletions.
15 changes: 6 additions & 9 deletions docs/docs/build/build_from_sources.md
Original file line number Diff line number Diff line change
Expand Up @@ -144,25 +144,22 @@ source $HOME/.$(basename $SHELL)rc
- Finally, Build CodeLite:

```bash
mkdir -p $HOME/src
cd $HOME/src
mkdir -p $HOME/devl
cd $_
git clone https://github.com/eranif/codelite.git
cd codelite
git submodule update --init --recursive

# build CodeLite release configuration
mkdir build-release
cd build-release
cd $_
cmake .. -DCMAKE_BUILD_TYPE=Release
cmake --build . -j $(sysctl -n hw.physicalcpu)
cmake --build . --target install
make -j$(sysctl -n hw.physicalcpu) install
```

You should now have an app bundle `$HOME/src/codelite/build-release/codelite.app`
You should now have an app bundle `$HOME/devl/codelite/build-release/codelite.app`

To launch CodeLite:

- `open $HOME/src/codelite/build-release/codelite.app`
- `open $HOME/devl/codelite/build-release/codelite.app`

----------

Expand Down
13 changes: 6 additions & 7 deletions docs/docs/build/build_wx_widgets.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,15 +98,14 @@ make -j$(nproc) && sudo make install
#### Build wxWidgets

```bash
mkdir $HOME/src
cd $HOME/src
mkdir -p $HOME/devl
cd $_
git clone https://github.com/wxWidgets/wxWidgets.git
cd $HOME/src/wxWidgets
git submodule init
git submodule update
cd wxWidgets
git submodule update --init
mkdir build-release
cd build-release
../configure --enable-shared --enable-monolithic --with-osx_cocoa CXX='clang++ -std=c++17 -stdlib=libc++ -I../src/tiff/libtiff' CC=clang --disable-debug --disable-mediactrl --enable-stl
cd $_
../configure --enable-shared --enable-monolithic --with-osx_cocoa CXX='clang++ -std=c++17 -stdlib=libc++' CC=clang --disable-debug --disable-mediactrl --enable-stl --with-libtiff=no --enable-utf8
make -j$(sysctl -n hw.physicalcpu)
sudo make install
```
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/plugins/lsp.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ and configure any server the follows the LSP protocol. You will however, need to
- Install the LSP you want on your computer. You can [visit this site][2] to get a complete list of all LSP implementations out there
- From the main menu, `Plugins` → `Language Server` → `Settings...`
- Click on the `Add` button
- In the dialog that opens, fill the mandatory fields:
- In the dialogue that opens, fill the mandatory fields:

Field | Mandatory | Description
--------|-----------|-------------
Expand Down

0 comments on commit 34bb801

Please sign in to comment.