File: INSTALL

package info (click to toggle)
tolua 5.2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, jessie, jessie-kfreebsd, sid, stretch, wheezy
  • size: 904 kB
  • ctags: 525
  • sloc: ansic: 6,051; cpp: 460; makefile: 112
file content (31 lines) | stat: -rw-r--r-- 1,106 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
* Installation

  Building tolua on a Unix system should be very easy:

	1. Edit "config" to suit your platform, if at all necessary.
	2. Then, type "make".

  See below for instructions for Windows and Macintosh.

* What you get

  If "make" succeeds, you get:
	* an executable to generate binding code in ./bin;
	* the C library to be linked in your application in ./lib;
	* the include file needed to compile your application in ./include.
  These are the only directories you need for development, besides Lua.

  There is testing codes in src/tests and, if you are lucky, there is a manual page 
		in html in ./doc. You don't need these directories for development.

* Installation on Windows

  The instructions for building tolua on a Mac or Windows machine depend on
  the particular compiler you are using.
  The simplest way is to create a folder with all .c and .h files, and
  then create a project for the executable and the library, as follows:

  tolua.exe: all *.c *.h in src/bin.
  tolua.lib: all *.c *.h in src/lib.

		Under directory ./win32, there is a project sample for Visual C++ 6.