ExternalProject_Add Visual Studio build Install Target

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

ExternalProject_Add Visual Studio build Install Target

J Decker
I've had to make this modification the last few versions...


line 1870 from

      if(step STREQUAL "INSTALL")
        list(APPEND args --target install)


      if(step STREQUAL "INSTALL")
        list(APPEND args --target INSTALL)

Otherwise, when building with visual studio, and trying to run the <project>-install.rule  rule, it says 'no such project'

I don't think the same issue happens when building from the command line.


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: