[CMake] Install without building unittests

Scott Bloom scott at towel42.com
Wed Mar 27 22:24:02 EDT 2019


Note, Im running from inside visual studio...  I do realize for a makefile based system, I can run make install from inside the executable's build directory

From: CMake <cmake-bounces at cmake.org> On Behalf Of Scott Bloom
Sent: Wednesday, March 27, 2019 7:23 PM
To: cmake at cmake.org
Subject: [CMake] Install without building unittests

I asked this a couple of years ago, and the answer was "no"...

If you run tests, it doesn't automatically build tests...  So why does an install?

I would never release something into the wild with out running the tests...

But, for developer builds, were we need to install all the packages in order to run the applications, sometimes I just want to test the GUI which requires an install of the core application into the correct location, without building the 1500+ (yes 1500) unittests, which can take 15-20 minutes to build on their own...

Is there anyway to break the dependency??

Scott
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://cmake.org/pipermail/cmake/attachments/20190328/a551315b/attachment.html>


More information about the CMake mailing list