-
Notifications
You must be signed in to change notification settings - Fork 0
Building
In development smake is built by itself, but you can build it with basically any C++ compiler. If you're using g++, you can use the command below after modifying it for your environment.
⚠️ If you are using Cygwin make sure you have Perl installed to build OpenSSL and Curl.
ℹ️ The default smake file will use
-static-libgcc -static-libstdc++on Windows because it assumes it is using Mingw and creates a portable executable.
First make sure you are in the smake directory. If you already have smake installed from a prebuilt binary, all you have to do is run smake.
You will need to build and link lua, rapidjson, openssl, and curl in order to build Smake. You can use Smake's build file and plugin source to see how Smake does it.
For an example on how to build with g++, look at the smake.lua file that smake uses to build itself.