Skip to content

Antoine87/php-spte

Repository files navigation

PHP single purpose testing executables

This repository contains source codes for various executables that may be used for unit tests of PHP scripts.

Usage

Before starting PHPUnit, you must compile the binaries using CMake. See below for the instructions or check out *-build.* scripts.

Compilation

In order to allow any build-automation utility this package is shipped with a simple CMakeLists.txt file. It is configured to output compiled binaries in a bin folder at the root of this package. You have to make sure you have a native build environments already installed on your machine (Visual Studio, make, Xcode, ...)

After getting this repository, cd to it and generate the project buildsystem.

mkdir build
cd build
cmake ..

Then compile the executables by building the project from this build directory.

cmake --build .

To prevent debug informations from being generated you may add the --config Release option.

cmake --build . --config Release