diff options
author | Erik Schnetter <schnetter@gmail.com> | 2013-02-04 15:17:34 -0500 |
---|---|---|
committer | Erik Schnetter <schnetter@gmail.com> | 2013-02-04 15:17:34 -0500 |
commit | 28af052e24f4987845638408a33d54c30fa94e54 (patch) | |
tree | e362e9206a162f26b432b87fbf0ed184911b8678 | |
parent | 6295f11bbac7c32cebda3cb1996828938815c0ca (diff) | |
download | vecmathlib-28af052e24f4987845638408a33d54c30fa94e54.zip vecmathlib-28af052e24f4987845638408a33d54c30fa94e54.tar.gz |
Update build instructions
-rw-r--r-- | BUILD | 13 | ||||
-rw-r--r-- | CMakeLists.txt | 5 | ||||
-rwxr-xr-x | autogen.sh | 4 |
3 files changed, 14 insertions, 8 deletions
@@ -1,8 +1,17 @@ +Requirements: + Vecmathlib requires either GCC 4.7 or Clang 3.1 to build. + After initial checkout: - ./autogen.sh + Run "./autogen.sh" to create or recreate all autogenerated + configuration magic. This should otherwise not be necessary. Build: - ninja + Run "make" + If using Ninja: run "ninja" + +Clean: + Run "make clean" + If using Ninja: run "ninja -t clean" Test: ./test diff --git a/CMakeLists.txt b/CMakeLists.txt index 9a33a0f..fb934bd 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,11 +1,10 @@ -# build via ninja: cmake -G Ninja -# build via make: cmake . -# clean: rm CMakeCache.txt +# See file "BUILD" for instructions cmake_minimum_required (VERSION 2.6) project (vecmathlib) add_executable (example example.cc) +add_executable (loop loop.cc) add_executable (test test.cc) add_executable (bench bench.cc) @@ -1,8 +1,6 @@ #! /bin/bash -# Run "./autogen.sh" to create or recreate all autogenerated -# configuration magic. This should normally not be necessary; in -# general, just running "ninja" will perform all necessary tasks. +# See file "BUILD" for instructions rm -f CMakeCache.txt |