"In general, I want all my unit tests to be built when I do a make
all, but I really don’t care if they are up to date for a make
install."

Are you sure you don't care? If your unit tests are out-of-date with
respect to what you are installing, and you have not run them against
what you are installing .... then how do you have confidence that what
you are installing is acceptable?

Just sayin'...



On Sat, Mar 21, 2015 at 3:23 AM, Nils Gladitz <nilsglad...@gmail.com> wrote:
> On 21.03.2015 00:23, Scott Aron Bloom wrote:
>
> For those who couldn’t understand my jibberish.. I apologize, never send
> email from a phone…
>
>
>
> Ill restate…
>
>
>
> In general, I want all my unit tests to be built when I do a make all, but I
> really don’t care if they are up to date for a make install.
>
>
>
> Is that a possibility?  Ie, add the exclude from all attribute, that is
> really an exclude from install?
>
>
> You can remove the "all" dependency from "install" with:
>
> http://www.cmake.org/cmake/help/v3.2/variable/CMAKE_SKIP_INSTALL_ALL_DEPENDENCY.html
>
> But I don't think there is anything to add dependencies back to the
> "install" target.
>
> Nils
>
> --
>
> 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:
> http://public.kitware.com/mailman/listinfo/cmake
-- 

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:
http://public.kitware.com/mailman/listinfo/cmake

Reply via email to