Fix action icons in the log dialog being clipped on High-DPI displays
[TortoiseGit.git] / ext / scintilla / README
blob71834d652edcf2fdacea55b6da0aa7f090c0f18a
1 README for building of Scintilla and SciTE\r
2 \r
3 Scintilla can be built by itself.\r
4 To build SciTE, Scintilla must first be built.\r
5 \r
6 \r
7 *** GTK+/Linux version ***\r
8 \r
9 You must first have GTK+ 2.18 or later and GCC (4.8 or better) installed.\r
10 Clang may be used by adding CLANG=1 to the make command line.\r
11 Other C++ compilers may work but may require tweaking the make file.\r
12 Either GTK+ 2.x or 3.x may be used with 2.x the default and 3.x\r
13 chosen with the make argument GTK3=1.\r
15 To build Scintilla, use the makefile located in the scintilla/gtk directory\r
16         cd scintilla/gtk\r
17         make\r
18         cd ../..\r
20 To build and install SciTE, use the makefile located in the scite/gtk directory\r
21         cd scite/gtk\r
22         make\r
23         sudo make install\r
25 This installs SciTE into $prefix/bin. The value of $prefix is determined from\r
26 the location of Gnome if it is installed. This is usually /usr if installed\r
27 with Linux or /usr/local if built from source. If Gnome is not installed\r
28 /usr/bin is used as the prefix. The prefix can be overridden on the command\r
29 line like "make prefix=/opt" but the same value should be used for both make\r
30 and make install as this location is compiled into the executable. The global\r
31 properties file is installed at $prefix/share/scite/SciTEGlobal.properties.\r
32 The language specific properties files are also installed into this directory.\r
34 To remove SciTE\r
35         sudo make uninstall\r
37 To clean the object files which may be needed to change $prefix\r
38         make clean\r
40 The current make file only supports static linking between SciTE and Scintilla.\r
43 *** Windows version ***\r
45 A C++ 11 compiler is required.\r
46 Visual Studio 2015 is the development system used for most development\r
47 although Mingw32 4.8 is also supported.\r
49 To build Scintilla, make in the scintilla/win32 directory\r
50                 cd scintilla\win32\r
51 GCC:            mingw32-make\r
52 Visual C++:     nmake -f scintilla.mak\r
53                 cd ..\..\r
55 To build SciTE, use the makefiles located in the scite/win32 directory\r
56                 cd scite\win32\r
57 GCC:            mingw32-make\r
58 Visual C++:     nmake -f scite.mak\r
60 An executable SciTE will now be in scite/bin.\r
62 *** GTK+/Windows version ***\r
64 Mingw32 is known to work. Other compilers will probably not work.\r
66 Only Scintilla will build with GTK+ on Windows. SciTE will not work.\r
68 To build Scintilla, make in the scintilla/gtk directory\r
69         cd scintilla\gtk\r
70         mingw32-make\r
72 *** macOS Cocoa version ***\r
74 Xcode 8 may be used to build Scintilla on macOS.\r
76 There is no open source version of SciTE for macOS but there is a commercial\r
77 version available through the App Store.\r
79 To build Scintilla, run xcodebuild in the scintilla/cocoa/ScintillaFramework directory\r
80         cd cocoa/ScintillaFramework\r
81         xcodebuild\r
83 *** Qt version ***\r
85 See the qt/README file to build Scintilla with Qt.\r