[CMake] Headers listing in Visual Studio

Mike Jackson imikejackson at gmail.com
Wed Oct 3 17:22:51 EDT 2007


Have a look at <http://titanium.imts.us/viewvc/Task_7/MXAViewer/ 
CMakeLists.txt> for an example of what you want to do.

-- 
Mike Jackson   Senior Research Engineer
Innovative Management & Technology Services


On Oct 3, 2007, at 4:07 PM, Félix C. Morency wrote:

> Hi,
>
> I would like to know how to list the header files in the header  
> directory in the visual studio IDE. Actually, only the sources and  
> cmake-related files are listed. I want to be able to see the  
> headers as well (cosmetic reasons). I searched in the doc and on  
> the net and found nothing. I tried with ADD_CUSTOM_COMMAND( OUTPUT $ 
> {PROJECT_NAME} MAIN_DEPENDENCY ${PROJ_HDRS} ) but only the last  
> header file listed in ${PROJ_HDRS} appears in the IDE. Could  
> someone help please ?
>
> Also, could we do the same thing with generated MOC files (QT4) ?
>
> Thank you,
> Félix C. Morency
> _______________________________________________
> CMake mailing list
> CMake at cmake.org
> http://www.cmake.org/mailman/listinfo/cmake

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/cmake/attachments/20071003/f88d15b4/attachment.htm


More information about the CMake mailing list