Squirrel have this compile instructions for CMake:
mkdir build # Create temporary build directory
cd build
cmake .. CMake will determine all the necessary information, including the platform (32- vs. 64-bit)
make
make install
cd ..; rm -r build
This this works good, but may be complicated for someone who want to fastly compile squirrel without having to write alot of commands in console.
Ive made simple .sh and .bat files for Unix and Windows platforms. They do basically same (unless instead of make for compile they uses cmake ) but everything for you. You still can specify params for cmake and compile. Here is quick instruction:
configure.sh/.bat[ params ] - configures project for you using params as cmake launch options. Can be called without any launch options.
build.sh/.bat[ build_type = release ] - build project with build_type building type to the \build\bin\ folder. Can be called without any launch options.
I'm not saying make this the main type of building, but as a lazy alternative.
Squirrel have this compile instructions for CMake:
CMake will determine all the necessary information, including the platform (32- vs. 64-bit)
This this works good, but may be complicated for someone who want to fastly compile squirrel without having to write alot of commands in console. Ive made simple .sh and .bat files for Unix and Windows platforms. They do basically same (unless instead of
make
for compile they usescmake
) but everything for you. You still can specify params for cmake and compile. Here is quick instruction:configure.sh/.bat
[ params ]
- configures project for you usingparams
as cmake launch options. Can be called without any launch options.build.sh/.bat
[ build_type = release ]
- build project withbuild_type
building type to the\build\bin\
folder. Can be called without any launch options.I'm not saying make this the main type of building, but as a lazy alternative.