[CMake] cmake install

Craig Scott craig.scott at crascit.com
Fri Sep 8 21:25:23 EDT 2017


On Sat, Sep 9, 2017 at 11:19 AM, Adam Getchell <adam.getchell at gmail.com>
wrote:

>
> On Sep 8, 2017, at 6:11 PM, Craig Scott <craig.scott at 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.

-- 
Craig Scott
Melbourne, Australia
https://crascit.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20170909/7128ab14/attachment.html>


More information about the CMake mailing list