On Sat, Sep 9, 2017 at 11:25 AM, Craig Scott <craig.sc...@crascit.com> wrote:
> > > On Sat, Sep 9, 2017 at 11:19 AM, Adam Getchell <adam.getch...@gmail.com> > wrote: > >> >> On Sep 8, 2017, at 6:11 PM, Craig Scott <craig.sc...@crascit.com> wrote: >> >>> >>> I tried: >>> >>> # cmake -G Ninja . >>> # cmake --build . >>> # cmake --build . --target install >>> >> >> This should be correct. Did this not work for you? >> >> >> No. >> >> https://travis-ci.org/acgetchell/CDT-plusplus/jobs/273498700 >> >> Thanks for your help. >> > > That job uses sudo to do the install step and pipes the output to a file > install.log. You will probably find the reason for the failure in that > install.log file. It would also be unusual to do such an install step to a > system-wide location as part of a CI job. Perhaps you might want to > consider creating a package using CPack instead of doing a system-wide > install. > And I just noticed that you did "target" rather than "--target" -- Craig Scott Melbourne, Australia https://crascit.com
-- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake