From deec66cb4ec84bb5fa87e46f7f3160041cbaff77 Mon Sep 17 00:00:00 2001 From: Serge Lamikhov-Center Date: Wed, 19 Aug 2020 22:09:30 -0700 Subject: [PATCH] Add CMake build to Travis --- .travis.yml | 7 +++++++ examples/CMakeLists.txt | 1 - 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 5737c2b..fff5186 100644 --- a/.travis.yml +++ b/.travis.yml @@ -25,7 +25,14 @@ script: - autoreconf -f -i - ./configure CXXFLAGS=--std=c++11 - make + - cd tests - autoreconf -f -i - ./configure CXXFLAGS=--std=c++11 - make check + +- cd .. +- mkdir build +- cd build +- cmake .. +- cmake --build . diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt index 08bc2cc..0f17403 100644 --- a/examples/CMakeLists.txt +++ b/examples/CMakeLists.txt @@ -2,7 +2,6 @@ add_subdirectory(anonymizer) add_subdirectory(elfdump) -#add_subdirectory(RelocationTable) add_subdirectory(tutorial) add_subdirectory(write_obj) add_subdirectory(writer) \ No newline at end of file