Skip to content

How to Build

Timothy Shields edited this page Jun 17, 2013 · 1 revision

how to build

linq-cpp is written to be fully compliant with the C++11 standard and cross-platform. It has no dependencies outside of the C++11 standard library.

linq-cpp is configured to build using CMake.

linq-cpp is built automatically by Travis CI.

Currently, Visual Studio Express 2012 for Windows Desktop is being used to build linq-cpp, but any compiler compliant with the C++11 standard should work.

steps

CMake version 2.8.10.2

  1. Clone this GitHub repository to your machine
  • In what follows, let ~ denote the directory for your local clone
  1. Run CMake
  2. Set "Where is the source code:" to ~/src
  3. Set "Where to build the binaries:" to ~/build
  4. Click the "Configure" button
  • If you are prompted with "Build directory does not exist, should I create it?" choose "Yes"
  1. Choose the generator for the project
  • If you are using Visual Studio 2012 and are on a 64-bit Windows machine, choose "Visual Studio 11 Win64" and "Use default native compilers"
  1. Click "Finish"
  2. Set CMAKE_INSTALL_PREFIX to ~/install
  3. Click "Generate"
Clone this wiki locally