cmake build system (#1314)

* Changed c api to compile under MSVC

* Include functional.h header for MSVC

* Add cmake build
This commit is contained in:
RAMitchell
2016-07-03 14:07:35 +12:00
committed by Tianqi Chen
parent 3b73824842
commit 93196eb811
7 changed files with 162 additions and 72 deletions

View File

@@ -81,3 +81,10 @@ if [ ${TASK} == "java_test" ]; then
mvn clean install -DskipTests=true
mvn test
fi
if [ ${TASK} == "cmake_test" ]; then
mkdir build
cd build
cmake ..
make
fi