Skip to content

Latest commit

 

History

History
53 lines (40 loc) · 1.31 KB

Readme.md

File metadata and controls

53 lines (40 loc) · 1.31 KB

pcompiler (Precedence Compiler)

pcompiler is an automatic source code compiler. Given a set of input files, pcompiler will attempt to create an executable out of them.

pcompiler is not robust enough to compile large or complex projects, but is extremely simple to use.

Requirements

  • Qt 5.0 or higher
  • CMake 2.8.12
  • libkar (only for the command line pcompiler tool)

Building

OS X and Linux

	#Generate Library
	cd pcompiler
	mkdir build
	cd build
	cmake .. or cmake -Ddocker_cross=ON .. (docker cross compiling option)
	make
	make install

	#Install Generated Library
	cd .. #pcompiler root directory
	sudo cp lib/libpcompiler.so /usr/lib

Windows

Prerequisite: The binaries/includes/libraries are installed into <dir>\prefix

  1. Clone this repository into <dir>\pcompiler.
  2. Configure it and generate the makefiles with cmake. Set the build directory to <dir>\pcompiler\build.
  3. Open <dir>\pcompiler\build\pcompiler.sln with Visual Studio
  4. Build the INSTALL project

The binaries/includes/libraries are installed into <dir>\prefix

Authors

  • Braden McDorman
  • Nafis Zaman
  • Erin Harrington

License

pcompiler is released under the terms of the GPLv3 license. For more information, see the LICENSE file in the root of this project.