squirrel
squirrel copied to clipboard
Add .sh and .bat files for easer configuring and compile.
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 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.
k im stupid and i have added wrong commits as well. Thats why its not compiling for you. you need latest four commits
Well, I'm closing my PR because all the commits are there 😎