My favorites | Sign in
Project Home Downloads Wiki Issues Source
Search
for
Building_1_2  
Updated Jun 4, 2010 by liamdev...@gmail.com

Building Makefiles or IDE projects OOLua version 1.2.2 For Version 1.3 differences please see Building_1_3

Requirements

Premake

Makefiles, IDE Projects and use of Build Scripts:

Premake - version 4.2 Premake quick start

Additionally for Unit Tests or use of Test Unit Scripts:

Cpp Unit

CppUnit - version 1.12.1 Getting to know CppUnit

Google Mock

Google Mock - version 1.4 or 1.5

Compile Scripts

Two type of scripts are present test unit scripts and build scripts. Test Unit Scripts: Naming is of the format

[make or IDE]_tests.[sh or bat]

when run in the root directory these will produce compiler and test unit result output saved to disk located in a directory create named "build_logs". These scripts clean up any other files produced during there running.

Build Scripts

Naming is of the format

[make of IDE]_build.[sh or bat]

when run in the root directory it compiles the library debug and release versions. These static libraries can be found in the "local_install" directory along with copies of the header files in a directory below this named "oolua". All other files created during the running are deleted.

Building Makefiles or IDE projects

OOLUA's source and header files can added to your project or be compiled as a static library. To compile as a static library or to run the UnitTests, Premake version 4 is the recommended method to generate make files/IDE projects. This can either be accomplish using the following details or using the pre-existing bash or bat files( see Compile_Scripts).

Premake Format

premake4 [make or IDE] [target operation system]

Makefile

premake4 gmake []
  • macosx
  • linux

Xcode

premake4 xcode3 macosx

macosx is required

Visual Studio

premake4 vs[] windows

windows is required

  • 2005
  • 2008

Code::Blocks

premake4 codeblocks []
  • windows
  • linux
  • macosx

Further Premake Details

See Premake for options or type

premake4 --help

Sign in to add a comment
Powered by Google Project Hosting