Re: [CMake] Install without building unittests

2019-03-28 Thread Alexander Neundorf
On 2019 M03 28, Thu 18:22:03 CET Scott Bloom wrote: > 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

Re: [CMake] Install without building unittests

2019-03-28 Thread Scott Bloom
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

Re: [CMake] Install without building unittests

2019-03-28 Thread Alan W. Irwin
@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

Re: [CMake] Install without building unittests

2019-03-28 Thread Scott Bloom
( CMAKE_SKIP_INSTALL_ALL_DEPENDENCY TRUE ) Thanks again! Scott From: Scott Bloom Sent: Thursday, March 28, 2019 10:20 AM To: Scott Bloom ; frodak17 Cc: cmake@cmake.org Subject: RE: [CMake] Install without building unittests THANKS That was the exact variable I was looking for. Scott From: CMake

Re: [CMake] Install without building unittests

2019-03-28 Thread Scott Bloom
THANKS That was the exact variable I was looking for. Scott From: CMake On Behalf Of Scott Bloom Sent: Thursday, March 28, 2019 10:05 AM To: frodak17 Cc: cmake@cmake.org Subject: Re: [CMake] Install without building unittests This variable looks very interesting.. Ill play with it and see

Re: [CMake] Install without building unittests

2019-03-28 Thread Scott Bloom
This variable looks very interesting.. Ill play with it and see if it solves my problems  THANKS!! Scott From: frodak17 Sent: Thursday, March 28, 2019 10:03 AM To: Scott Bloom Cc: Kyle Edwards ; cmake@cmake.org Subject: Re: [CMake] Install without building unittests On Thu, Mar 28, 2019

Re: [CMake] Install without building unittests

2019-03-28 Thread frodak17
On Thu, Mar 28, 2019 at 11:07 AM Scott Bloom 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

Re: [CMake] Install without building unittests

2019-03-28 Thread Scott Bloom
out of date (or non-existant) Scott From: Kyle Edwards Sent: Thursday, March 28, 2019 7:48 AM To: Scott Bloom ; cmake@cmake.org Subject: Re: [CMake] Install without building unittests You could build CMake with -DBUILD_TESTING=OFF. This will skip the unit tests altogether. Kyle On Thu, 2019

Re: [CMake] Install without building unittests

2019-03-28 Thread Kyle Edwards via CMake
cutable’s build directory >   > From: CMake On Behalf Of Scott Bloom > Sent: Wednesday, March 27, 2019 7:23 PM > To: cmake@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,

Re: [CMake] Install without building unittests

2019-03-27 Thread Scott Bloom
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 On Behalf Of Scott Bloom Sent: Wednesday, March 27, 2019 7:23 PM To: cmake@cmake.org Subject: [CMake] Install without

[CMake] Install without building unittests

2019-03-27 Thread Scott Bloom
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