squirrel icon indicating copy to clipboard operation
squirrel copied to clipboard

Add .sh and .bat files for easer configuring and compile.

Open celisej567 opened this issue 1 year ago • 2 comments

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.

celisej567 avatar Nov 19 '23 18:11 celisej567

k im stupid and i have added wrong commits as well. Thats why its not compiling for you. you need latest four commits

celisej567 avatar Apr 15 '24 20:04 celisej567

Well, I'm closing my PR because all the commits are there 😎

emmanuel-aubertin avatar May 13 '24 16:05 emmanuel-aubertin