GithubHelp home page GithubHelp logo

hhy5277 / codelite Goto Github PK

View Code? Open in Web Editor NEW

This project forked from eranif/codelite

0.0 1.0 0.0 454.08 MB

CodeLite, a cross platform C/C++/PHP and Node.js IDE written in C++

Home Page: https://codelite.org

License: GNU General Public License v2.0

C++ 70.29% CMake 0.38% C 23.06% Lex 0.29% Yacc 0.25% Objective-C 0.01% Batchfile 0.02% Inno Setup 0.16% Shell 0.12% JavaScript 0.01% Makefile 0.13% Python 0.35% HTML 0.43% Roff 0.01% PHP 4.51% CSS 0.01% QMake 0.01%

codelite's Introduction

What is CodeLite?

Join the chat at https://gitter.im/eranif/codelite

CodeLite is a free, open source, cross platform IDE specialized in C, C++, PHP and JavaScript (mainly for backend developers using Node.js) programming languages, which runs best on all major platforms (Windows, macOS and Linux).

You can download pre-built binaries for Windows, macOS and Linux from our Download Page.

More information can be found here:


Building CodeLite on Linux

To build CodeLite on your computer you will need these packages:

  • wxWidgets 3.1 or later
  • The GTK development package: often called libgtk2.0-dev or wxGTK-devel, or similar
  • pkg-config (which usually comes with the GTK dev package)
  • The build-essential package (or the relevant bit of it: G++, Make etc)
  • CMake
  • Git.

You should have wxWidgets 3.0 or later built on your machine. If you don't know how to build (or you're just lazy...) you can download wxWidgets from CodeLite's repository.

On Ubuntu / Debian you can install all of the above (except for wxWidgets 3.0) by typing:

sudo apt-get install libgtk2.0-dev pkg-config build-essential git cmake libssh-dev libwxbase3.0-dev libsqlite3-dev libwxsqlite3-3.0-dev

Git clone the sources:

git clone https://github.com/eranif/codelite.git

Run CMake and build CodeLite:

cd codelite
mkdir build-release
cd build-release
cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release ..
make -j4
sudo make install

Building CodeLite on macOS

Prerequisites:

  • wxWidgets 3.1 or later
  • CMake
  • Git
  • Xcode
  • Xcode command-line tools
  • Homebrew.

Preparation:

  • (Optional) Make a separate folder for building if you want to get rid of all except the .app file after building
  • Install Xcode from Mac App Store
  • Install Xcode command-line tools: xcode-select --install
  • Install Homebrew:
 ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
  • Update Homebrew: brew update
  • (Optional) Upgrade Homebrew packages: brew upgrade
  • Install Git: brew install git
  • Install CMake: brew install cmake
  • Install wxWidgets: brew install wxmac --dev --use-llvm

Clone the repo (lets assume that you have a folder /Users/YOU/src)

cd /Users/YOU/src
git clone https://github.com/eranif/codelite.git

the above will create the folder /Users/YOU/codelite

To build CodeLite:

cd /Users/YOU/codelite
mkdir build-release
cd build-release
cmake .. -DCMAKE_BUILD_TYPE=Release
make -j4
make install

You should now have an app bundle /Users/YOU/codelite/build-release/codelite.app

To launch CodeLite:

open /Users/YOU/codelite/build-release/codelite.app


Building CodeLite on Windows

Git clone the sources:

git clone https://github.com/eranif/codelite.git
  • Download CodeLite installer for Windows from our Download Page
  • Download wxWidgets 3.1 installer. Also from our Download Page
  • Open the workspace CodeLiteIDE.workspace (located in the CodeLite's folder)
  • Make sure that the project CodeLiteIDE is selected (the active project uses bold font)
  • Select the Win_x64_Release or Win_x86_Release (depending if you want to build a 32 or 64 bit version of CodeLite) and hit F7
  • When the compilation is over, close the workspace
  • Next, locate the workspace codelite_utils/codelite_utils.workspce and open it
  • Select the Win_x64_Release or Win_x86_Release (depending if you want to build a 32 or 64 bit version of CodeLite), hit F7 and wait for the compilation to end
  • Close CodeLite
  • To update your installation with the new CodeLite, close CodeLite and from a cmd.exe window navigate to codelite-sources/Runtime/ and run the file update64.bat OR update.bat (again, depending on your selected arch).

codelite's People

Contributors

ajenbo avatar alexpux avatar assp1r1n3 avatar aviallon avatar chaddcw avatar cookfeces avatar devjpcb avatar dghart avatar eranif avatar ferreus avatar frankivo avatar gsmcmullin avatar hdastwb avatar ihardrock avatar ilius avatar jcowgill avatar jgmdev avatar kekepower avatar liuanlin-mx avatar lukebelliott avatar lukester1975 avatar maartenbent avatar michalbliznak avatar mlang avatar nghiaho12 avatar s172262 avatar soybean-hust avatar srini2174 avatar stefanobelloni avatar wevsty avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.