summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorYann Collet <yann.collet.73@gmail.com>2014-11-04 09:50:17 (GMT)
committerYann Collet <yann.collet.73@gmail.com>2014-11-04 09:50:17 (GMT)
commit4dbd2faebb345e4b9d888135e9adffe500bdbb38 (patch)
tree04973c11b288958d056b9b339c6a6bbd59c109f0 /Makefile
parentd01bb4a193338e851e76bd9b80f79bb9bdbc7b31 (diff)
downloadlz4-4dbd2faebb345e4b9d888135e9adffe500bdbb38.zip
lz4-4dbd2faebb345e4b9d888135e9adffe500bdbb38.tar.gz
lz4-4dbd2faebb345e4b9d888135e9adffe500bdbb38.tar.bz2
Added : cmake test
cmake : corrected xxhash path (thanks to j.magnuson)
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 8cf6f8a..c0b7a6f 100644
--- a/Makefile
+++ b/Makefile
@@ -92,6 +92,8 @@ SOURCES = $(TEXT) $(NONTEXT)
# Select test target for Travis CI's Build Matrix
ifeq ($(LZ4_TRAVIS_CI_ENV),-dist)
TRAVIS_TARGET=dist
+else ifeq ($(LZ4_TRAVIS_CI_ENV),-cmake)
+TRAVIS_TARGET=cmake
else ifeq ($(LZ4_TRAVIS_CI_ENV),-examples)
TRAVIS_TARGET=examples
else
@@ -181,6 +183,9 @@ test:
test-travis: $(TRAVIS_TARGET)
+cmake:
+ @cd cmake_unofficial; cmake CMakeLists.txt; $(MAKE)
+
examples:
cd examples; $(MAKE) -e test