On Mon, Jul 24, 2017 at 6:13 AM, Gonzalo Garramuño <ggarr...@gmail.com> wrote:
> > > El 23/07/17 a las 12:37, DKLind escribió: > >> I forgot, I also have a question about "make package". How do I build and >> package just an individual sub-project. As expected, "make <sub-project>" >> works to build, but there isn't a default target to package an individual >> sub-project. >> > AFAIK, it is not possible. I would also like to know this for separate > packager generators. How to call "make package" on just one package > generator (like build just DEB and not RPM). > > If you want to pick the package generator, run cpack directly rather than "make package". You'd need to manually run just "make" first to ensure the packaged targets are built. You may want/need other options too when using some CMake generators (e.g. -C for the build configuration with Xcode or Visual Studio most likely). make cpack -G RPM -- Craig Scott Melbourne, Australia https://crascit.com
-- 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