From 4fb1c72ef47a289daee06f2f7633e7c8dd124714 Mon Sep 17 00:00:00 2001 From: brarcher Date: Mon, 6 Jan 2014 04:41:30 +0000 Subject: [PATCH] web: add help for compiling check using Visual Studios git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@1033 64e312b2-a51f-0410-8e61-82d0ca0eb02a --- web/install.html | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) diff --git a/web/install.html b/web/install.html index 4a215fd..e14f798 100644 --- a/web/install.html +++ b/web/install.html @@ -86,6 +86,7 @@ a package manager or compile from source on one's platform.
  • Cygwin via Package Manager
  • Cygwin From Source
  • MinGW/MinGW-w64 From Source
  • +
  • Visual Studios From Source
  • @@ -325,6 +326,51 @@ and give details as to the failure so it may be investigated and fixed.

    + +

    Visual Studios From Source

    +

    +Check must be compiled from source for Windows. Note that no fork() +call is available, and Check's fork mode will be disabled. The CMake build system +is supported for compiling Check with Visual Studios, so download +CMake first. +

    +

    +After the +latest Check source +has been downloaded and unpacked, open the CMake GUI program. Fill in the +"Where is the source code" and "Where to build the binaries" fields to +point to the unpacked location of the Check source, and press the +Configure button. Select the version of Visual Studios to use, and click +"OK". Once the configuration completes, CMake will highlight two settings, +CMAKE_CONFIGURATION_TYPES and CMAKE_INSTALL_PREFIX. You may leave them as +their defaults or modify them. Finally, click "Generate" to create the +Visual Studio project files. +

    +

    +Open Visual Studios and load the generated project files. The following +is a summary of the important build targets: +

    +

    +

    +To compile, validate, and install Check, run these three targets from +Visual Studios. Note that the RUN_TESTS target only runs Check's unit +tests which do not require a shell interpreter. The remaining tests must +be run in a MSYS or comparable environment. +

    +

    +If any of the build targets fail, including the RUN_TESTS target, +please send an email to Check's +mailing list +and give details as to the failure so it may be investigated and fixed. +

    +

    + + -- 2.40.0