[CMake] ExternalProject_Add show sources in Visual Studio

NoRulez norulez at me.com
Mon Mar 17 09:19:13 EDT 2014


I've added the source files with "file(GLOB_RECURSE..." and set source file property for each of these files with HEADER_FILE_OLY to TRUE.

It seems to work, but I'm not sure if this is the right way.


> Am 17.03.2014 um 08:49 schrieb NoRulez <norulez at me.com>:
> 
> Hello,
> 
> if I add an external project with ExternalProject_Add, is it possible to show the sources of that project in Visual Studio too?
> 
> I don't know if this is the reason, but currently the projects type is set to utility.
> 
> Best Regards
> -- 
> 
> 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://www.cmake.org/mailman/listinfo/cmake


More information about the CMake mailing list