[CMake] Install without building unittests
Scott Bloom
scott at towel42.com
Thu Mar 28 13:20:23 EDT 2019
THANKS!!!! That was the exact variable I was looking for.
Scott
From: CMake <cmake-bounces at cmake.org> On Behalf Of Scott Bloom
Sent: Thursday, March 28, 2019 10:05 AM
To: frodak17 <frodak17 at gmail.com>
Cc: cmake at cmake.org
Subject: Re: [CMake] Install without building unittests
This variable looks very interesting.. Ill play with it and see if it solves my problems 😉
THANKS!!
Scott
From: frodak17 <frodak17 at gmail.com<mailto:frodak17 at gmail.com>>
Sent: Thursday, March 28, 2019 10:03 AM
To: Scott Bloom <scott at towel42.com<mailto:scott at towel42.com>>
Cc: Kyle Edwards <kyle.edwards at kitware.com<mailto:kyle.edwards at kitware.com>>; cmake at cmake.org<mailto:cmake at cmake.org>
Subject: Re: [CMake] Install without building unittests
On Thu, Mar 28, 2019 at 11:07 AM Scott Bloom <scott at towel42.com<mailto:scott at towel42.com>> wrote:
That is really not what we want.. We simply don’t want the Install target to have a dependency on the unittests. Essentially, the Install target should be have the same as the test target.
If you to a make test, or from VS, on RUN_TESTS, RMB->Build, it doesn’t build the tests if they are out of date (or non-existant)
Scott
I was under the impression that the global INSTALL target is only dependent on the ALL target unless you turn off the dependency.
https://cmake.org/cmake/help/v3.14/variable/CMAKE_SKIP_INSTALL_ALL_DEPENDENCY.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://cmake.org/pipermail/cmake/attachments/20190328/22ac3161/attachment-0001.html>
More information about the CMake
mailing list