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
source files
)
SET (MY_H
header files
)
SOURCE_GROUP (name_of_group
FILES
${MY_CPP}
)
SOURCE_GROUP (name_of_group\\headers
FILES
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
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 searched in
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
Here is how I do it:
SET (MY_CPP
source files
)
SET (MY_H
header files
)
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}
)