NuGet have recently emerged as a "de facto" standard for managing 3rd party
dependencies when building C++ applications with Visual Studio on Windows.
NuGet is nicely integrated into Visual Studio, downloads & unpacks
dependencies automatically, and configures include, lib & binary paths to
streamline the build process. It would be great if CMake could add some
form of minimal support for NuGet when generating Visual Studio project
files, so that CMake can be used together with existing NuGet
infrastructure on Windows.


I think it would be sufficient to add a mechanism for specifying NuGet
dependencies with version numbers. Example: set(NUGET_DEPS "boost/1.57
zlib/1.2.8"). CMake can then incorporate this information when generating
Visual Studio project files. This typically involves adding a few XML tags
in the vcxproj-file, as well as adding a "packages.config" file together
with the project.
-- 

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