COMPILE 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. Squirrel 3.1 stable
  2. --------------------------------------------------------
  3. What is in this distribution?
  4. squirrel
  5. static library implementing the compiler and interpreter of the language
  6. sqstdlib
  7. the standard utility libraries
  8. sq
  9. stand alone interpreter
  10. doc
  11. The manual
  12. etc
  13. a minimalistic embedding sample
  14. samples
  15. samples programs
  16. HOW TO COMPILE
  17. ---------------------------------------------------------
  18. CMAKE USERS
  19. .........................................................
  20. If you want to build the shared libraries under Windows using Visual
  21. Studio, you will have to use CMake version 3.4 or newer. If not, an
  22. earlier version will suffice. For a traditional out-of-source build
  23. under Linux, type something like
  24. $ mkdir build # Create temporary build directory
  25. $ cd build
  26. $ cmake .. # CMake will determine all the necessary information,
  27. # including the platform (32- vs. 64-Bit)
  28. $ make
  29. $ make install
  30. $ cd ..; rm -r build
  31. The default installation directory will be the top source directory,
  32. i. e. the binaries will go into bin/ and the libraries into lib/. You
  33. can change this behavior by calling CMake like this:
  34. $ cmake .. -DCMAKE_INSTALL_PREFIX=/some/path/on/your/system
  35. Under Windows, it is probably easiest to use the CMake GUI interface.
  36. GCC USERS
  37. .........................................................
  38. There is a very simple makefile that compiles all libraries and exes
  39. from the root of the project run 'make'
  40. for 32 bits systems
  41. $ make
  42. for 64 bits systems
  43. $ make sq64
  44. VISUAL C++ USERS
  45. .........................................................
  46. Open squirrel.dsw from the root project directory and build(dho!)