summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErik Schnetter <schnetter@gmail.com>2013-02-04 15:17:34 -0500
committerErik Schnetter <schnetter@gmail.com>2013-02-04 15:17:34 -0500
commit28af052e24f4987845638408a33d54c30fa94e54 (patch)
treee362e9206a162f26b432b87fbf0ed184911b8678
parent6295f11bbac7c32cebda3cb1996828938815c0ca (diff)
downloadvecmathlib-28af052e24f4987845638408a33d54c30fa94e54.zip
vecmathlib-28af052e24f4987845638408a33d54c30fa94e54.tar.gz
Update build instructions
-rw-r--r--BUILD13
-rw-r--r--CMakeLists.txt5
-rwxr-xr-xautogen.sh4
3 files changed, 14 insertions, 8 deletions
diff --git a/BUILD b/BUILD
index 57b70dd..c9df674 100644
--- a/BUILD
+++ b/BUILD
@@ -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)
diff --git a/autogen.sh b/autogen.sh
index ac1314a..1f83a81 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -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
OpenPOWER on IntegriCloud