Just a note, for google later on… 😊

The default appears to have the variable unset, so it doesn’t show up in the 
list of variables in ccmake or the cmake-gui.

I also added it to my system before any INSTALL command was called.  I don’t 
know if that is necessary, but it does work

SET( CMAKE_SKIP_INSTALL_ALL_DEPENDENCY TRUE )

Thanks again!
Scott

From: Scott Bloom <[email protected]>
Sent: Thursday, March 28, 2019 10:20 AM
To: Scott Bloom <[email protected]>; frodak17 <[email protected]>
Cc: [email protected]
Subject: RE: [CMake] Install without building unittests

THANKS!!!! That was the exact variable I was looking for.

Scott

From: CMake <[email protected]<mailto:[email protected]>> On Behalf 
Of Scott Bloom
Sent: Thursday, March 28, 2019 10:05 AM
To: frodak17 <[email protected]<mailto:[email protected]>>
Cc: [email protected]<mailto:[email protected]>
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 <[email protected]<mailto:[email protected]>>
Sent: Thursday, March 28, 2019 10:03 AM
To: Scott Bloom <[email protected]<mailto:[email protected]>>
Cc: Kyle Edwards <[email protected]<mailto:[email protected]>>; 
[email protected]<mailto:[email protected]>
Subject: Re: [CMake] Install without building unittests



On Thu, Mar 28, 2019 at 11:07 AM Scott Bloom 
<[email protected]<mailto:[email protected]>> 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
-- 

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:
https://cmake.org/mailman/listinfo/cmake

Reply via email to