Re: [CMake] Headers listing in Visual Studio

2007-10-04 Thread Félix C. Morency
Thank you all, it does work perfectly. Félix C. Morency 2007/10/3, Ben Ratzlaff <[EMAIL PROTECTED]>: > > Here is how I do it: > > SET (MY_CPP > > ) > > SET (MY_H > > ) > > SOURCE_GROUP (name_of_group > FILES > ${MY_CPP} > ) > > SOURCE_GROUP (name_of_group\\headers > FILES > ${MY

Re: [CMake] Headers listing in Visual Studio

2007-10-03 Thread Ben Ratzlaff
Here is how I do it: SET (MY_CPP ) SET (MY_H ) SOURCE_GROUP (name_of_group FILES ${MY_CPP} ) SOURCE_GROUP (name_of_group\\headers FILES ${MY_H} ) SET (MY_SRC ${MY_CPP} ${MY_H} ) # add sources to library ADD_LIBRARY (${PROJECT} ${MY_SRC} ) On 10/3/07, Félix C. Mo

Re: [CMake] Headers listing in Visual Studio

2007-10-03 Thread Mike Jackson
Have a look at 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

Re: [CMake] Headers listing in Visual Studio

2007-10-03 Thread Eric Noulard
2007/10/3, Félix C. Morency <[EMAIL PROTECTED]>: > 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 sear

[CMake] Headers listing in Visual Studio

2007-10-03 Thread Félix C. Morency
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 wi