enet/doc/build.md

1.7 KiB

Build lib & build sample

@tableofcontents

Download:

enet use some tools to manage source and build it:

lutin (build-system):

	pip install lutin --user
	# optionnal dependency of lutin (manage image changing size for application release)
	pip install pillow --user

dependency:

	mkdir framework
	cd framework
	git clone https://github.com/atria-soft/etk.git
	git clone https://github.com/atria-soft/ememory.git
	git clone https://github.com/atria-soft/algue.git
	git clone https://github.com/generic-library/gtest-lutin.git --recursive
	git clone https://github.com/generic-library/z-lutin.git --recursive
	git clone https://github.com/generic-library/openssl-lutin.git --recursive
	cd ..

sources:

	cd framework
	git clone https://github.com/atria-soft/enet.git
	cd ..

Build:

library:

	lutin -mdebug enet

Sample:

	lutin -mdebug enet-server-websocket enet-client-websocket

Run sample:

	lutin -mdebug enet-server-websocket?run

In an other bash:

	lutin -mdebug enet-client-websocket?run