ladislav-zezula/StormLib — pull request #24 by leeonix (2014-05-21 04:15:14+00:00)
Title: add pch file and add premake4.lua

Visual Studio project file version is too complex and too many.
vs2003 vs2005 vs2008 vs2010 vs2012 vs2013.
In furture has vsXXXX...
Cmake also can do it, but premake4 use lua, config file also lua file, learn it easy.
I use premake4 to generate the project file.
it is also can generate XCode Codelite Codeblocks project file.
site: http://industriousone.com/premake
source: https://bitbucket.org/premake/

use premake add stormlib project is simple:
```Lua
solution 'stormlib'
location 'build'
configurations { 'Debug', 'Release', }
defines { 'WIN32', '_WIN32', '_WINDOWS', }

configuration 'Debug*'
flags { 'Symbols' }
defines { '_DEBUG' }

configuration 'Release*'
flags { 'OptimizeSpeed' }
defines { 'NDEBUG' }

project 'stormlib'
kind 'StaticLib'
language 'C++'
files {
'src/**.c',
'src/**.cpp',
}
excludes {
'src/adpcm/*_old.*',
'src/huffman/*_old.*',
'src/pklib/crc32.c',
'src/zlib/compress.c',
}
```

save this as premake4.lua
can generate a static library project name stormlib.

i suggest you to use it .