Sciter build setup
Sciter uses premake5 tool to generate solutions and projects for Visual Studio, XCode, CodeLite (Linux) and make based builds.
NOTE: use of Premake is optional - source tree includes pre-generated projects and solutions. See #2.
Two "root" Premake5 files:
1. /premake5.lua - main file
Invoke it in root Sciter sources folders as:
1.1. Windows:
> premake5.exe vs2015
where vs2015 can be replaced by vs2017 or vs2019 to generate solutions for different versions of Visual studio.
1.1.1 Windows XP support
If you want to build the engine that will work on WindowsXP then follow these steps:
- Windows platform SDK for Windows 10 is required. Standard VS2017 setup installs needed SDK but for VS2015 download and install Windows 10 SDK (10.0.16299.91) from https://developer.microsoft.com/en-us/windows/downloads/sdk-archive/
- Run
> premake5.exe vs2015 --windowsxp
or
> premake5.exe vs2017 --windowsxp
command at root folder of Sciter source tree.
- Use /build.windows/sciter.sln and /build.windows/sciter.static.sln to build the Sciter.
1.2. Mac OS
> premake5 xcode4
1.3. Linux
> premake5 codelight --cc=gcc
This will generate CodeLight solutions for GCC compilers or this for make builds:
> premake5 gmake2
2. Solutions and Projects
Solutions and projects are located in these folders:
/build.windows
Visual Studio solutions and projects:
- sciter.sln builds:
- /sdk/bin.win/packfolder.exe
- /sdk/bin.win/tiscript.exe
- /sdk/bin.win/.../sciter.dll
- /sdk/bin.win/.../scapp.exe
- sciter.static.sln builds:
- /lib.win/xXX/sciter.static.lib - static monolithic library that includes code of Sciter as a whole.
- sciter.lite.sln builds various Sciter.Lite versions of the engine as a DLL and as a static lib.
- /sdk/builds.windows/sciter.sdk.sln builds official SDK examples.
/build.macosx
XCode workspaces and projects
- sciter.xcworkspace builds:
- /sdk/bin.osx/packfolder
- /sdk/bin.osx/tiscript
- /sdk/bin.osx/sciter-osx-64.dylib
- /sdk/bin.osx/scapp
- sciter-static.xcworkspace buids:
- /lib.osx/x64/libsciter.static.a - static monolithic library that includes code of Sciter as a whole.
/build.linux
CodeLite workspaces and projects