2022-01-04 23:07:50 +00:00
|
|
|
README for building of Scintilla, Lexilla, and SciTE
|
2009-04-24 23:35:41 +00:00
|
|
|
|
2022-01-04 23:07:50 +00:00
|
|
|
Scintilla and Lexilla can be built by themselves.
|
|
|
|
To build SciTE, Scintilla and Lexilla should first be built.
|
2009-04-24 23:35:41 +00:00
|
|
|
|
2022-01-04 23:07:50 +00:00
|
|
|
See lexilla/README for information on building Lexilla.
|
2009-04-24 23:35:41 +00:00
|
|
|
|
|
|
|
*** GTK+/Linux version ***
|
|
|
|
|
2019-05-04 18:14:48 +00:00
|
|
|
You must first have GTK+ 2.24 or later and GCC (7.1 or better) installed.
|
|
|
|
Clang may be used by adding CLANG=1 to the make command line.
|
2009-04-24 23:35:41 +00:00
|
|
|
Other C++ compilers may work but may require tweaking the make file.
|
2019-05-04 18:14:48 +00:00
|
|
|
Either GTK+ 2.x or 3.x may be used with 2.x the default and 3.x
|
|
|
|
chosen with the make argument GTK3=1.
|
2009-04-24 23:35:41 +00:00
|
|
|
|
|
|
|
To build Scintilla, use the makefile located in the scintilla/gtk directory
|
|
|
|
cd scintilla/gtk
|
|
|
|
make
|
|
|
|
cd ../..
|
|
|
|
|
|
|
|
To build and install SciTE, use the makefile located in the scite/gtk directory
|
|
|
|
cd scite/gtk
|
|
|
|
make
|
2019-05-04 18:14:48 +00:00
|
|
|
sudo make install
|
2009-04-24 23:35:41 +00:00
|
|
|
|
|
|
|
This installs SciTE into $prefix/bin. The value of $prefix is determined from
|
|
|
|
the location of Gnome if it is installed. This is usually /usr if installed
|
|
|
|
with Linux or /usr/local if built from source. If Gnome is not installed
|
|
|
|
/usr/bin is used as the prefix. The prefix can be overridden on the command
|
|
|
|
line like "make prefix=/opt" but the same value should be used for both make
|
|
|
|
and make install as this location is compiled into the executable. The global
|
|
|
|
properties file is installed at $prefix/share/scite/SciTEGlobal.properties.
|
|
|
|
The language specific properties files are also installed into this directory.
|
|
|
|
|
|
|
|
To remove SciTE
|
2019-05-04 18:14:48 +00:00
|
|
|
sudo make uninstall
|
2009-04-24 23:35:41 +00:00
|
|
|
|
|
|
|
To clean the object files which may be needed to change $prefix
|
|
|
|
make clean
|
|
|
|
|
2022-01-04 23:07:50 +00:00
|
|
|
The current make file supports static and dynamic linking between SciTE, Scintilla, and Lexilla.
|
2009-04-24 23:35:41 +00:00
|
|
|
|
|
|
|
|
|
|
|
*** Windows version ***
|
|
|
|
|
2019-05-04 18:14:48 +00:00
|
|
|
A C++ 17 compiler is required.
|
2022-01-04 23:07:50 +00:00
|
|
|
Visual Studio 2019 is the development system used for most development
|
|
|
|
although Mingw-w64 9.2 is also supported.
|
2021-02-21 04:53:09 +00:00
|
|
|
|
2009-04-24 23:35:41 +00:00
|
|
|
To build Scintilla, make in the scintilla/win32 directory
|
|
|
|
cd scintilla\win32
|
|
|
|
GCC: mingw32-make
|
2019-05-04 18:14:48 +00:00
|
|
|
Visual C++: nmake -f scintilla.mak
|
2009-04-24 23:35:41 +00:00
|
|
|
cd ..\..
|
|
|
|
|
|
|
|
To build SciTE, use the makefiles located in the scite/win32 directory
|
|
|
|
cd scite\win32
|
|
|
|
GCC: mingw32-make
|
2019-05-04 18:14:48 +00:00
|
|
|
Visual C++: nmake -f scite.mak
|
2009-04-24 23:35:41 +00:00
|
|
|
|
2015-06-07 21:19:26 +00:00
|
|
|
An executable SciTE will now be in scite/bin.
|
2010-07-12 22:19:51 +00:00
|
|
|
|
|
|
|
*** GTK+/Windows version ***
|
|
|
|
|
2019-05-04 18:14:48 +00:00
|
|
|
Mingw-w64 is known to work. Other compilers will probably not work.
|
2010-07-12 22:19:51 +00:00
|
|
|
|
|
|
|
Only Scintilla will build with GTK+ on Windows. SciTE will not work.
|
|
|
|
|
2021-02-21 04:53:09 +00:00
|
|
|
Make builds both a static library version of Scintilla with lexers (scintilla.a) and
|
|
|
|
a shared library without lexers (libscintilla.so or or libscintilla.dll).
|
|
|
|
|
2010-07-12 22:19:51 +00:00
|
|
|
To build Scintilla, make in the scintilla/gtk directory
|
|
|
|
cd scintilla\gtk
|
|
|
|
mingw32-make
|
2019-05-04 18:14:48 +00:00
|
|
|
|
|
|
|
*** macOS Cocoa version ***
|
|
|
|
|
|
|
|
Xcode 9.2 or later may be used to build Scintilla on macOS.
|
|
|
|
|
|
|
|
There is no open source version of SciTE for macOS but there is a commercial
|
|
|
|
version available through the App Store.
|
|
|
|
|
2021-02-21 04:53:09 +00:00
|
|
|
To build Scintilla, run xcodebuild in the scintilla/cocoa/ScintillaFramework or
|
|
|
|
scintilla/cocoa/Scintilla directory
|
|
|
|
|
|
|
|
cd cocoa/Scintilla
|
|
|
|
|
2019-05-04 18:14:48 +00:00
|
|
|
xcodebuild
|
|
|
|
|
|
|
|
*** Qt version ***
|
|
|
|
|
|
|
|
See the qt/README file to build Scintilla with Qt.
|