Building Premake
Purpose
This document discribes the steps needed to build Premake that is used for building wxFormBuilder. NOTE: This is custom source for Premake until the patch needed gets accepted into the official Premake repository.
Steps
- Download the wxFormBuilder modified Premake source from here
- Download the official Premake for your system here. Premake is self-hosting; you will need a copy of Premake installed in order to build the source code.
- Use one of the following commands to create the project files:
$ premake --target gnu # to create Makefiles $ premake --target vs2005 # Visual Studio 2005 $ premake --target vs2003 # Visual Studio 2003 $ premake --target vs2002 # Visual Studio 2002 $ premake --target vs6 # Visual C++ 6 $ premake --target cb-gcc # Code::Blocks with GCC
- You now have a makefile/solution/workspace for your toolset; build as usual.
- Copy the newly created premake executable to the 'sdk/premake' directory under wxFormBuilder's source tree.
- Run
create_build_files.shfrom the root of wxFormBuilder's source tree.