
Using LIMAN SDK: 
================

This folder contains LIMAN-CORE library for the target platform. This content
comes with the installation package downloaded from our website. 

LIMAN-CORE library cannot be used alone as is. It should be elevated to LIMAN-SDK 
for each product you wish to protect and manage its licenses.

In the following, the steps for building LIMAN-SDK from LIMAN-CORE is described.
We show how LIMAN-SDK can be integrated to a sample application called 
'TESTAPP' and how new licenses can be generated using scripts provided.

Open a command-line shell and change working directory to <platform>, e.g. win64x86, linux64x86 etc.

	Step 0. cd <platform>

Windows targets:
================

	Step 1. nmake
	
	Step 2. limutil --genkey --keysize=2048 --product=TESTAPP

	Step 3. nmake product PRODUCT=TESTAPP
		   
	Step 4. Generate new licenses running "lg_testapp.bat --hostid=abcdef1234" 



Linux/OSX targets:
==================

	Step 1. make

	Step 2. limutil --genkey --keysize=2048 --product=TESTAPP

	Step 3. make product PRODUCT=TESTAPP
		   
	Step 4. Generate new licenses running "lg_testapp.sh --hostid=abcdef1234" 
	

Cleanup:
========
	
	To clean up and revert to installation state. 
	
	Warning: these steps will cleanup all files built in steps 1 and 3. Keyfile will not be removed.
	Keyfiles can be deleted manually.
	
	Step 1. make product PRODUCT=TESTAPP clean
	
	Step 2. make clean


Remark: 
======
Steps 3 and 4 require a valid LIMAN-SDK license. Please contact info@baroks.com or visit https://baroks.com

to purchase one or to request a trial license.

