diff options
-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 |