|
Building_1_2
Building Makefiles or IDE projects OOLua version 1.2.2 For Version 1.3 differences please see Building_1_3 RequirementsPremakeMakefiles, 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 UnitCppUnit - version 1.12.1 Getting to know CppUnit Google MockGoogle Mock - version 1.4 or 1.5
Compile ScriptsTwo 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 ScriptsNaming 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 projectsOOLUA'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 Formatpremake4 [make or IDE] [target operation system] Makefilepremake4 gmake []
Xcodepremake4 xcode3 macosx macosx is required Visual Studiopremake4 vs[] windows windows is required
Code::Blockspremake4 codeblocks []
Further Premake DetailsSee Premake for options or type premake4 --help |